/vim-configs

Primary LanguageVim Script

Vim configs

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

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

Rust requires the rust-analyzer to be installed.

rustup component add rust-analyzer

Neovim branch

There's also a Neovim branch, but it's less actively maintained (I ended up preferring Vim + LSP).