mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
plugins/eyeliner: init
This commit is contained in:
parent
29ec33e1a8
commit
f8c32d1094
2 changed files with 46 additions and 0 deletions
17
plugins/by-name/eyeliner/default.nix
Normal file
17
plugins/by-name/eyeliner/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "eyeliner";
|
||||
package = "eyeliner-nvim";
|
||||
description = "Move faster with unique f/F indicators";
|
||||
|
||||
maintainers = [ lib.maintainers.axka ];
|
||||
|
||||
settingsExample = lib.literalExpression ''
|
||||
{
|
||||
# show highlights only after keypress
|
||||
highlight_on_key = true;
|
||||
# dim all other characters if set to true
|
||||
dim = true;
|
||||
}
|
||||
'';
|
||||
}
|
||||
29
tests/test-sources/plugins/by-name/eyeliner/default.nix
Normal file
29
tests/test-sources/plugins/by-name/eyeliner/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.eyeliner.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.eyeliner = {
|
||||
enable = true;
|
||||
settings = {
|
||||
highlight_on_key = false;
|
||||
dim = false;
|
||||
max_length = 9999;
|
||||
disabled_filetypes = [ ];
|
||||
disabled_buftypes = [ ];
|
||||
default_keymaps = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.eyeliner = {
|
||||
enable = true;
|
||||
settings = {
|
||||
highlight_on_key = true;
|
||||
dim = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue