1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-28 02:39:49 +01:00
neovim-flake/modules/plugins/utility/surround/surround.nix

25 lines
732 B
Nix
Raw Normal View History

{lib, ...}: let
2024-03-24 01:14:39 +01:00
inherit (lib.options) mkOption;
inherit (lib.types) bool;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
2023-06-07 13:28:27 +02:00
options.vim.utility.surround = {
enable = mkOption {
2024-03-24 01:14:39 +01:00
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 {
2024-03-24 01:14:39 +01:00
type = bool;
default = true;
description = "Use alternative set of keybindings that avoids conflicts with other popular plugins, e.g. nvim-leap";
};
};
2023-06-07 13:28:27 +02:00
}