This repo contains my .vim
directory.
For language support and other features, plugins are required:
Install them by running
git clone --depth 1 https://github.com/rust-lang/rust.vim ~/.vim/pack/plugins/start/rust.vim
git clone --depth 1 https://github.com/yegappan/lsp.git ~/.vim/pack/downloads/opt/lsp
Go requires the gopls language server to be installed.
go install golang.org/x/tools/gopls@latest
In addition, the staticcheck linter should be installed as well:
go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
Rust requires the rust-analyzer to be installed.
rustup component add rust-analyzer
There's also a Neovim branch, but it's less actively maintained (I ended up preferring Vim + LSP).