12.nixvim/modules
Gaetan Lepage ed30fd8588 modules/opts: fix code generation condition to prevent false positives
Currently, we generate the lua code as soon as the value of the option
is not an empty attrs.
However, a case where the attrs only contains `null` values
(`nord_colorscheme = null; nord_foo = null;}` would pass the `if`
condition, but the generated lua table would still be empty because
`toLua` filters out those values.

Hence, we should directly check if the attrs would be translated to an
empty lua table or not to decide whether we should generate the lua
snippet or not.
2024-11-20 16:30:09 +01:00
..
misc modules: move nixpkgs module to top-level modules 2024-09-27 09:30:12 +01:00
top-level modules/output: expose withPython3 2024-11-13 16:23:27 -03:00
autocmd.nix
clipboard.nix modules/clipboard: allow raw lua code in register option 2024-11-15 18:40:10 +00:00
colorscheme.nix
commands.nix lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
default.nix
diagnostics.nix
doc.nix
editorconfig.nix
files.nix lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
filetype.nix lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
highlights.nix lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
keymaps.nix
lua-loader.nix
opts.nix modules/opts: fix code generation condition to prevent false positives 2024-11-20 16:30:09 +01:00
output.nix
performance.nix
plugins.nix