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