feat: Adding nvim-lspconfig and Mason back in for now to get the config

working well for production work.
This commit is contained in:
2026-09-01 09:29:47 -05:00
parent cad2a2f287
commit 7e7c0adfff
4 changed files with 39 additions and 19 deletions

View File

@@ -5,24 +5,26 @@ RED='\033[0;31m'
CLEAR='\033[0m'
declare -A lsp_arr=(
["pylsp"]="Install the pylsp provider: python-language-server or pylsp"
["pylint"]="Install the pylint provider: pylint"
["rust-analyzer"]="Install the rust-analyzer provider"
["yaml-language-server"]="Install the yamlls provider: yaml-language-server (via npm globally or system package)"
["pylsp"]="pylsp provider: python-language-server or pylsp"
["pylint"]="pylint provider: pylint"
["rust-analyzer"]="rust-analyzer provider"
["yaml-language-server"]="yamlls provider: yaml-language-server (via npm globally or system package)"
["ansible-language-server"]="ansiblels provider: "
["jinja-lsp"]="jinja-lsp provider: cargo install jinja-lsp"
)
echo '----- Checking for LSP servers...'
for lsp in "${!lsp_arr[@]}"; do
echo
echo "Checking for $lsp..."
which $lsp >/dev/null 2>&1
if [[ $? -eq 1 ]]; then
echo -e "${RED} ${lsp_arr[$lsp]} ${CLEAR}"
echo "Checking for $lsp..."
echo -e "${RED} Install the ${lsp_arr[$lsp]} ${CLEAR}"
else
echo -e "${GREEN} Found $lsp ${CLEAR}"
echo -e "Checking for $lsp...${GREEN} Found${CLEAR}"
fi
done
echo