Merge pull request #1450 from alfarelcynthesis/no-default-mappings-option

treewide: allow disabling nvf mappings
This commit is contained in:
Alfarel 2026-04-10 13:04:12 -04:00 committed by GitHub
commit 3ab2d5d876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 489 additions and 622 deletions

View file

@ -3,7 +3,7 @@
config,
...
}: let
inherit (lib.options) mkOption;
inherit (lib.options) literalExpression mkOption;
inherit (lib.types) bool str;
inherit (lib.nvim.types) mkPluginSetupOption;
@ -64,7 +64,8 @@ in {
useVendoredKeybindings = mkOption {
type = bool;
default = true;
default = config.vim.vendoredKeymaps.enable;
defaultText = literalExpression "config.vim.vendoredKeymaps.enable";
description = ''
Use alternative set of keybindings that avoids conflicts with other popular plugins, e.g. nvim-leap
'';