mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-12 08:25:30 +00:00
feat: add multicursors-nvim plugin
multicursors-nvim with hydra dependency and static config.
This commit is contained in:
parent
9443273297
commit
09695f4fd4
11 changed files with 326 additions and 0 deletions
17
modules/plugins/utility/multicursors/multicursors.nix
Normal file
17
modules/plugins/utility/multicursors/multicursors.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.types) bool int str;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||
inherit (lib.options) mkOption mkEnableOption;
|
||||
inherit (lib.nvim.binds) mkMappingOption;
|
||||
in {
|
||||
options.vim.utility.multicursors = {
|
||||
enable = mkEnableOption "multicursors.nvim plugin (vscode like multiple cursors)";
|
||||
|
||||
setupOpts = mkPluginSetupOption "multicursors" {
|
||||
DEBUG_MODE = mkOption {
|
||||
type = bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue