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

@ -1,5 +1,5 @@
{lib, ...}: let
inherit (lib.options) mkOption literalMD;
inherit (lib.options) mkEnableOption mkOption literalMD;
inherit (lib.types) either str listOf attrsOf nullOr submodule;
inherit (lib.nvim.config) mkBool;
@ -57,6 +57,13 @@
};
in {
options.vim = {
vendoredKeymaps.enable =
mkEnableOption "this project's vendored keymaps by default"
// {
default = true;
example = false;
};
keymaps = mkOption {
type = listOf mapType;
description = "Custom keybindings.";