dotfiles/home/.chezmoiscripts/run_once_after_20_install_vim_dep.sh
2023-03-04 17:45:19 +08:00

15 lines
394 B
Bash

#!/bin/bash
PATH="$HOME/apps/go/bin:$HOME/apps/node/bin:$PATH"
if command -v npm > /dev/null; then
npm i -g typescript typescript-language-server jsctags dockerfile-language-server-nodejs
fi
if command -v go > /dev/null; then
go install github.com/sourcegraph/go-langserver@latest
go install github.com/jstemmer/gotags@latest
go install github.com/cweill/gotests/gotests@latest
fi