FollieHiyuki-dotfiles/home/.config/nvim/scripts/lsp/cmake

9 lines
275 B
Plaintext
Raw Normal View History

#!/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