dotfiles/home/.chezmoiscripts/run_once_after_20_install_vim_dep.sh
2023-12-31 22:45:19 +08:00

14 lines
362 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 dockerfile-language-server-nodejs svelte-language-server
fi
if command -v go > /dev/null; then
go install github.com/sourcegraph/go-langserver@latest
go install github.com/cweill/gotests/gotests@latest
fi