dotfiles/vim_dep.sh
2021-03-25 20:52:44 +08:00

17 lines
407 B
Bash
Executable File

#!/bin/bash
if type npm > /dev/null; then
npm i -g typescript typescript-language-server jsctags dockerfile-language-server-nodejs
fi
if type go > /dev/null; then
go get -u -v github.com/sourcegraph/go-langserver
go get -u github.com/jstemmer/gotags
go get -u github.com/cweill/gotests/...
fi
if type rustup > /dev/null; then
rustup update
rustup component add rls rust-analysis rust-src
fi