nix-community.nixvim/lib
Matt Sturgeon 302262304e
lib/keymaps: refactor mkMapOptionSubmodule again
Allow passing in `key` and `action` as either bool or an attrset.

If `false`, the option is omitted. If `true` or an attrset, the option is included.
If an attrset is used, it will update the default `mkOption` args.
This is useful for overriding `type` or adding an `example`.
2024-06-07 15:42:54 +01: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
helpers.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
keymap-helpers.nix lib/keymaps: refactor mkMapOptionSubmodule again 2024-06-07 15:42:54 +01:00
maintainers.nix maintainers: add b3nb5n 2024-05-30 14:23:23 +02:00
neovim-plugin.nix colorschemes: set the colorscheme as mkDefault to allow for overriding 2024-05-28 21:30:43 +02:00
options.nix lib/options: add mkEnum' argument assertions 2024-06-02 03:18:11 +01:00
to-lua.nix helpers/toLuaObject: fix rawKey handling 2024-05-31 23:31:11 +02:00
types.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
utils.nix lib: add upperFirstChar 2024-06-07 09:17:29 +01:00
vim-plugin.nix colorschemes: set the colorscheme as mkDefault to allow for overriding 2024-05-28 21:30:43 +02:00