Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neovim/nvimdev.nvim
Neovim plugin for working on Neovim
https://github.com/neovim/nvimdev.nvim
developer-tools neovim
Last synced: about 7 hours ago
JSON representation
Neovim plugin for working on Neovim
- Host: GitHub
- URL: https://github.com/neovim/nvimdev.nvim
- Owner: neovim
- Created: 2017-02-03T06:33:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T09:38:33.000Z (about 1 year ago)
- Last Synced: 2024-04-14T00:59:43.237Z (6 months ago)
- Topics: developer-tools, neovim
- Language: Lua
- Homepage:
- Size: 75.2 KB
- Stars: 75
- Watchers: 20
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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][gist] 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
- Python 3
- [plenary.nvim][]## 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
- [nvim-cmp][]: Completions!
- [cmp-nvim-lsp][]: LSP completion source!
- [nvim-lspconfig][]: LSP configuration for [clangd][] and [sumneko-lua-lsp][].
- [nvim-treesitter][]: Better syntax highlighting for C and Lua files.
- [neodev.nvim][]: Neovim Lua development.[Neovim]: https://github.com/neovim/neovim
[nvim-treesitter]: https://github.com/nvim-treesitter/nvim-treesitter
[nvim-cmp]: https://github.com/hrsh7th/nvim-cmp
[cmp-nvim-lsp]: hrsh7th/cmp-nvim-lsp
[nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig
[sumneko-lua-lsp]: https://github.com/sumneko/lua-language-server
[clangd]: https://clangd.llvm.org
[gist]: https://gist.github.com/tweekmonster/8f9cfb36a56d7d1bb6a73e0f9589d81f
[vim-projectionist]: https://github.com/tpope/vim-projectionist
[plenary.nvim]: https://github.com/nvim-lua/plenary.nvim
[neodev.nvim]: https://github.com/folke/neodev.nvim