My neovim
- Lua 100%
| after | ||
| config | ||
| lua | ||
| misc/dict | ||
| plugin | ||
| snippets | ||
| spell | ||
| .gitignore | ||
| .stylua.toml | ||
| .styluaignore | ||
| init.lua | ||
| LICENSE | ||
| mise.toml | ||
| nvim-pack-lock.json | ||
| README.md | ||
Neovim Config
Install
Install requires Neovim 0.12. Always review the code before installing a configuration.
Clone the repository and install the plugins:
git clone git@github.com:hosaka/nvim ~/.config/hosaka/nvim
Open Neovim with this config:
NVIM_APPNAME=hosaka/nvim/ nvim
Dependencies
-
Required:
- neovim>=0.12, git
- C compiler (gcc, clang, zig) as required by the tree-sitter plugin. On Alpine Lunux
musl-devis needed for header files. On Windows MSVC caused issues so Zig can be used instead.
-
Optional:
- Fonts: A Nerd Font.
- LSPs: Language servers are not automatically installed. Use your OS package manager or mise to install them. See
nvim-lspconfig.luafor a list of included settings. - Linters: When an LSP does not provide diagnostic messages, a linter can be used with. See
nvim-lint.luafor a list of included settings. - Formatters: When an LSP does not provide a formatter, one can be defined manually with Conform. See
conform.luafor a list of included settings. - Tools:
Plugins
Plugins are managed using Neovim built-in package manager and loaded using async helpers from mini.misc.
I have previously used mini.deps as a package manager and it was a pleasure to work with, especially the plugin update/clean functions.
Todo
Editor
- Keep quickfix in focus when navigating items, until closed with
q - Try setting up nvim-dap for some LSPs
- Replace tokyonight colorscheme with a base16 generated one
Repo
- Setup pre-commit hooks