No description
  • Nix 96.4%
  • Lua 3.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-09 12:47:59 +01:00
base-config [snippets][lua]trigger env also on begin 2026-09-25 09:53:38 +02:00
extended-config [ltex-ts-plus] set right cmd 2026-11-09 12:47:59 +01:00
documentation documentation 2026-09-17 08:24:10 +02:00
flake.lock use ltex-ls-plus 2026-11-09 07:47:38 +01:00
flake.nix Have nixvim.nixpkgs follow nixpkgs 2026-10-10 13:17:49 +02:00
nvimNix-config.nix Allow to have different version build (Slim, Nix and default) 2026-01-07 15:41:35 +01:00
README.md Allow to have different version build (Slim, Nix and default) 2026-01-07 15:41:35 +01:00

Nixvim template

This template gives you a good starting point for configuring Nixvim standalone.

Created modules

This flake creates several versions of nixvim

  1. nvim (or default) which is the full set of functionalities,
  2. nvimSlim, that only contains the configuration in the base-config/ directory. Most prominently, this configuration is excluding lsp serveres and other third-party tools, which might be too much for remote systems.
  3. nvimNix, which is nixvim-slim + an lsp for nix

Configuring

To start configuring, just add or modify the nix files in ./base-config and ./extended-config/.

Included files

The configuration file includes some nix magic, so that all files in the ./xx-config and the ./config/plugins/ directory are automatically loaded. Further, the contents of ./xx-config/ftplugin/<language>.nix are converted to file."ftplugin/<language>.lua attributes of the config, so that any relevant filetype-specific settings can be done right there, and are also automatically considered.

To exclude a file, just rename its file-ending, e.g., to config.nix.excl

Testing your new configuration

To test your configuration simply run the following command

nix run .