mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
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. |
||
---|---|---|
.. | ||
misc | ||
top-level | ||
autocmd.nix | ||
clipboard.nix | ||
colorscheme.nix | ||
commands.nix | ||
default.nix | ||
diagnostics.nix | ||
doc.nix | ||
editorconfig.nix | ||
files.nix | ||
filetype.nix | ||
highlights.nix | ||
keymaps.nix | ||
lua-loader.nix | ||
opts.nix | ||
output.nix | ||
performance.nix | ||
plugins.nix |