Use new method of installing go packages

This commit is contained in:
ViViDboarder 2021-12-07 13:20:48 -08:00
parent 9778c8c5fa
commit 02d7c26c98
1 changed files with 2 additions and 2 deletions

View File

@ -38,10 +38,10 @@ function install_language_servers() {
maybe_run npm install -g pyrite
# Rust
maybe_run rustup component add rls rustfmt rust-analysis rust-src
maybe_run rustup component add rls rustfmt rust-analysis rust-src clippy rustfmt
# Go
maybe_run env GO111MODULE=on go get golang.org/x/tools/gopls@latest
maybe_run env GO111MODULE=on go install golang.org/x/tools/gopls@latest
echo ""
}