FollieHiyuki-dotfiles/home/.config/nvim/scripts/lsp/cmake
2021-10-18 21:25:08 +07:00

9 lines
275 B
Bash
Executable File

#!/bin/sh
server_path="${XDG_DATA_HOME:-$HOME/.local/share}/nvim/lsp/cmake"
[ ! -d "${server_path}" ] && mkdir -p "${server_path}"
python3 -m venv ${server_path}/venv
${server_path}/venv/bin/pip3 install -U pip
${server_path}/venv/bin/pip3 install -U cmake-language-server