dotfiles/vim_dep.sh

17 lines
407 B
Bash
Raw Normal View History

2021-03-25 12:52:44 +00:00
#!/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