mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
When setting any filetype suboption to null (or anything else guarded by mkIf) it's value becomes: { extension = null; filename = null; pattern = null; } Account for that case in mkIf condition so that the option would not produce empty filetype definition. |
||
---|---|---|
.. | ||
autocmd.nix | ||
clipboard.nix | ||
commands.nix | ||
diagnostics.nix | ||
editorconfig.nix | ||
extra-files.nix | ||
files.nix | ||
filetypes.nix | ||
highlight.nix | ||
keymaps.nix | ||
lua-loader.nix | ||
options.nix | ||
output.nix |