nix-community.nixvim/modules
Stanislav Asunkin 34aa3e00e7 modules/filetype: ensure that the module does not set empty settings
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.
2024-07-22 11:33:52 +03:00
..
misc modules/context: init with isDocs 2024-07-06 11:47:41 +01:00
top-level modules/files: fix creating configs of vim type 2024-07-19 14:45:34 +03:00
autocmd.nix modules: use real nix expressions for option examples 2024-06-20 08:07:10 +02:00
clipboard.nix modules/clipboard: use md link in description 2024-06-05 08:04:33 +01:00
colorscheme.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
commands.nix modules/commands: allow commands to be raw lua 2024-05-21 14:27:49 +02:00
default.nix modules: refactor extraFiles 2024-07-07 16:42:47 +01:00
diagnostics.nix modules/diagnostics: rename source file 2024-06-21 16:10:27 +02:00
doc.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
editorconfig.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
files.nix modules: refactor extraFiles 2024-07-07 16:42:47 +01:00
filetype.nix modules/filetype: ensure that the module does not set empty settings 2024-07-22 11:33:52 +03:00
highlights.nix modules: use real nix expressions for option examples 2024-06-20 08:07:10 +02:00
keymaps.nix misc: ensure all options have a description 2024-06-11 11:34:10 +02:00
lua-loader.nix modules/lua-loader: make enable option nullable 2024-07-21 17:11:50 +03:00
opts.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
output.nix modules: refactor extraFiles 2024-07-07 16:42:47 +01:00
plugins.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00