Files
dotfiles/.chezmoiscripts/run_onchange_11-install-neovim-tools.sh.tmpl
T

24 lines
458 B
Cheetah

#!/bin/sh
{{ if eq .chezmoi.osRelease.id "nixos" }}
exit 0
{{ end }}
set -euo pipefail
echo "Installing LSPs for Neovim..."
echo "Installing from npm..."
npm install -g --prefix ~/.local \
@vtsls/language-server \
@vue/language-server \
vscode-langservers-extracted \
prettier
echo "Installing from dotnet..."
dotnet tool install -g roslyn-language-server --prerelease
dotnet tool install -g csharpier
echo "Installing from pip..."
echo "Done"