Neovim plugin for working on Neovim
  • Lua 91.6%
  • Tree-sitter Query 6.7%
  • Vim Script 1.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-01-21 10:43:46 +08:00
autoload removed ctags stuff 2022-12-08 15:33:00 +00:00
lua misc fixes 2023-09-05 10:38:30 +01:00
plugin misc fixes 2023-09-05 10:38:30 +01:00
queries/lua feat: add lua ts injections for functional test files 2023-09-05 10:33:07 +01:00
README.md Update README.md 2026-01-21 10:43:46 +08:00

nvimdev.nvim

Provides some nicities for hacking on Neovim:

  • Auto-detect Neovim source tree and :cd to the root.
  • Fast linting for C sources (clint.py and uncrustify).
    • Uses vim.diagnostic
  • Filetype settings appropriate for Neovim's source code.
  • Hook into vim-projectionist: configure alternate files for the ".vim-src" directory, and a command to diff against the same file in Vim.
  • Add commands NvimTestRun and NvimTestClear for running functional tests directly in the buffer.

Why?

Neovim has a pretty large code base and is full of Vim's rich and mysterious history. I have little knowledge of either and wrote a script to help me get around and automate some things. People have shown interest in using it, so it's now a plugin that will make maintenance easier.

Installation

😑

Requirements

Config

g:nvimdev_auto_cd (default 1)

Automatically :cd to the Neovim root after init.

Commands

NvimTestRun [all]: Run the test in the buffer the cursor is inside. Works for it and describe blocks.

NvimTestClear: Clear test result decorations in buffer

Useful plugins