Personal Neovim configuration with a clean, practical LSP/format/lint setup.
- LSP with Mason (pyright, clangd, lemminx, bashls, etc.)
- Formatter/Linter orchestration via Conform + nvim-lint
- Platform helpers for aarch64/amd64
- Project overrides with neoconf.nvim
- Neovim 0.11+
- git
- Optional:
- node/npm (for some LSPs and tools)
shfmt,shellcheck(shell formatting/lint)libxml2(xmllint for XML formatting)checkmakefor Makefile lint (Mason auto-skips it on arm64)- on Windows,
luacheckneeds MSVCclinPATHfor build (this config only auto-skips Mason install of luacheck ifclis missing)
git clone https://github.com/MvRiegen/mvr-nvim-config ~/.config/nvimInside Neovim:
:Lazy sync
:MasonToolsInstallSync
:TSUpdate/usr/bin/nvim --headless \
"+Lazy! sync" \
"+MasonUpdate" \
"+MasonToolsInstallSync" \
"+MasonLspInstallSync" \
"+PlatformToolsInstallSync" \
"+TSUpdate" \
"+qa"Create .neoconf.json in a project root:
{
"lspconfig": {
"pyright": {
"settings": {
"python.analysis.typeCheckingMode": "basic"
}
}
}
}MIT