Skip to content

MvRiegen/mvr-nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

729 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mvr-nvim-config

Personal Neovim configuration with a clean, practical LSP/format/lint setup.

Highlights

  • 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

Requirements

  • Neovim 0.11+
  • git
  • Optional:
    • node/npm (for some LSPs and tools)
    • shfmt, shellcheck (shell formatting/lint)
    • libxml2 (xmllint for XML formatting)
    • checkmake for Makefile lint (Mason auto-skips it on arm64)
    • on Windows, luacheck needs MSVC cl in PATH for build (this config only auto-skips Mason install of luacheck if cl is missing)

Install

git clone https://github.com/MvRiegen/mvr-nvim-config ~/.config/nvim

Inside Neovim:

:Lazy sync
:MasonToolsInstallSync
:TSUpdate

Headless update script

/usr/bin/nvim --headless \
  "+Lazy! sync" \
  "+MasonUpdate" \
  "+MasonToolsInstallSync" \
  "+MasonLspInstallSync" \
  "+PlatformToolsInstallSync" \
  "+TSUpdate" \
  "+qa"

Project overrides (neoconf)

Create .neoconf.json in a project root:

{
  "lspconfig": {
    "pyright": {
      "settings": {
        "python.analysis.typeCheckingMode": "basic"
      }
    }
  }
}

License

MIT

About

A clean Neovim 0.11+ config with LSP, formatting/linting, and project overrides.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages