My personal Neovim configuration put together using nixCats with lazy so that it is portable between Nix and non-Nix environments.
Available config options.
Option | Purpose |
---|---|
vim.g.border |
Specify the border to use across floats |
vim.g.dashboard.image |
Specify the image to display on the dashboard |
vim.g.dashboard.size |
Size of the dashboard image to pass to chafa |
vim.g.feat.image |
Enable/disable image preview via Snacks |
vim.g.langs.* |
Indvidually enable/disable language toolchains |
vim.g.plugins.* |
Indvidually enable/disable plugins |
vim.g.terminalwindow |
Specify the tmux window vim should switch to when "closing" |
Each option listed is a Boolean flag which toggles the corresponding language features on or off.
Option |
---|
vim.g.langs.css |
vim.g.langs.lua |
vim.g.langs.markdown |
vim.g.langs.nix |
vim.g.langs.shell |
vim.g.langs.yuck |
Dependencies that are used by the various plugins in the configuration. On Nix, these are included in the flake and will be installed automatically. On non-Nix systems, these will have to be installed manually.
Each dependency below has been prefixed by the nixCats category it is associated with.
Dependency | Purpose |
---|---|
dashboard:chafa | Used for image in dashboard |
dashboard:gh | Used for GitHub issues in dashboard |
dashboard:image-magick | Used for image in dashboard |
lua:lua-language-server | Used for lua language support |
lua:stylua | Used for lua formatting |
nix:nixd | Used for nix language support |
nix:nixfmt-rfc-style | Used for nix formatting |
picker:fzf | Used in picker |
picker:ripgrep | Used in picker |
Language server configuration is centralized at lspconfig.lua under the lsps table. To add more lsps, a new entry should be added to the lsps table, and the required dependencies should be added to the corresponding category in flake.nix .
Make any changes to the appropriate files, then run
nix build .
In no particular order.