1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00

plugins/eyeliner: init

This commit is contained in:
Axel Karjalainen 2025-10-17 17:58:01 +03:00 committed by Matt Sturgeon
parent 29ec33e1a8
commit f8c32d1094
2 changed files with 46 additions and 0 deletions

View 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;
}
'';
}

View 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;
};
};
};
}