plugins/comfy-line-numbers: init
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions

This commit is contained in:
C4 Patino 2025-08-24 09:24:03 -05:00 committed by Matt Sturgeon
parent dae0629af9
commit 9f036a41d3
2 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "comfy-line-numbers";
package = "comfy-line-numbers-nvim";
description = "A Neovim plugin that makes vertical motions more comfortable.";
maintainers = with lib.maintainers; [
c4patino
];
settingsExample = lib.literalExpression ''
{
labels = [
"1" "2" "3" "4" "5"
"11" "12" "13" "14" "15"
"21" "22" "23" "24" "25"
"31" "32" "33" "34" "35"
"41" "42" "43" "44" "45"
"51" "52" "53" "54" "55"
"111" "112" "113" "114" "115"
"121" "122" "123" "124" "125"
"131" "132" "133" "134" "135"
"141" "142" "143" "144" "145"
"151" "152" "153" "154" "155"
"211" "212" "213" "214" "215"
"221" "222" "223" "224" "225"
"231" "232" "233" "234" "235"
"241" "242" "243" "244" "245"
"251" "252" "253" "254" "255"
];
up_key = "k";
down_key = "j";
hidden_file_types = [ "undotree" ];
hidden_buffer_types = [
"terminal"
"nofile"
];
}
'';
}

View file

@ -0,0 +1,47 @@
{ lib, ... }:
{
empty = {
plugins.comfy-line-numbers.enable = true;
};
defaults = {
plugins.comfy-line-numbers = {
enable = true;
settings = {
labels = lib.strings.splitString "," (
lib.concatStringsSep "," [
"1,2,3,4,5"
"11,12,13,14,15"
"21,22,22,22,25"
"31,32,33,34,35"
"41,42,43,44,45"
"51,52,53,54,55"
"111,112,113,114,115"
"121,122,123,124,125"
"131,132,133,134,135"
"141,142,143,144,145"
"151,152,153,154,155"
"211,212,213,214,215"
"221,222,223,224,225"
"231,232,233,234,235"
"241,242,243,244,245"
"251,252,253,254,255"
]
);
up_key = "k";
down_key = "j";
hidden_file_types = [ "undotree" ];
hidden_buffer_types = [
"terminal"
"nofile"
];
};
};
};
}