mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-14 22:25:59 +01:00
7a8b95cf7c
* surround: fix keymaps * surround: make description multi-line
24 lines
732 B
Nix
24 lines
732 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkOption;
|
|
inherit (lib.types) bool;
|
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
|
in {
|
|
options.vim.utility.surround = {
|
|
enable = mkOption {
|
|
type = bool;
|
|
default = false;
|
|
description = ''
|
|
nvim-surround: add/change/delete surrounding delimiter pairs with ease.
|
|
Note that the default mappings deviate from upstreeam to avoid conflicts
|
|
with nvim-leap.
|
|
'';
|
|
};
|
|
setupOpts = mkPluginSetupOption "nvim-surround" {};
|
|
|
|
useVendoredKeybindings = mkOption {
|
|
type = bool;
|
|
default = true;
|
|
description = "Use alternative set of keybindings that avoids conflicts with other popular plugins, e.g. nvim-leap";
|
|
};
|
|
};
|
|
}
|