nix-community.nixvim/lib
Stanislav Asunkin 9317537848 modules: avoid setting empty strings to extraConfig* options
Problem:  Some modules are setting empty strings to extraConfig* options
          with the intention to not generate any config. But empty
          strings are also values, so they are still concatenated in the
          final value of extraConfig* options. This results in a
          multiple empty strings in extraConfigs.

Solution: Avoid using optionalString when setting values to extraConfig*
          options. Use mkIf instead.

          This commit also fixes mkIf condition in autocmd module.

          `mkNeovimPlugin` is a special case. To avoid evaluating
          caller's arguments mkMerge/optionalAttrs pattern is used
          instead.
2024-07-22 23:18:53 +02:00
..
autocmd-helpers.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
builders.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
default.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
deprecation.nix lib/deprecation: add transitionType 2024-07-07 16:02:37 +01:00
helpers.nix wrappers: bootstrap "helpers" directly 2024-07-08 16:24:06 +01:00
keymap-helpers.nix lib/keymaps: refactor mkMapOptionSubmodule again 2024-06-07 15:42:54 +01:00
maintainers.nix maintainers: remove MattSturgeon 2024-07-10 09:18:17 +01:00
neovim-plugin.nix modules: avoid setting empty strings to extraConfig* options 2024-07-22 23:18:53 +02:00
options.nix lib/options: allow rawLua in mkEnum' default 2024-07-08 17:48:00 +01:00
to-lua.nix lib/to-lua: handle derivations as path strings 2024-07-22 13:24:16 +01:00
types.nix lib/types: allow emptyTable as a valid rawLua value 2024-07-08 10:21:49 +02:00
utils.nix modules/output: refactor config generation 2024-07-22 23:18:53 +02:00
vim-plugin.nix lib/vim-plugin: fix + improve settings example 2024-06-29 00:09:43 +01:00