File tree Expand file tree Collapse file tree 2 files changed +90
-0
lines changed
plugins/by-name/comfy-line-numbers
tests/test-sources/plugins/by-name/comfy-line-numbers Expand file tree Collapse file tree 2 files changed +90
-0
lines changed Original file line number Diff line number Diff line change
1
+ { lib , ... } :
2
+ lib . nixvim . plugins . mkNeovimPlugin {
3
+ name = "comfy-line-numbers" ;
4
+ package = "comfy-line-numbers-nvim" ;
5
+
6
+ description = "A Neovim plugin that makes vertical motions more comfortable." ;
7
+
8
+ maintainers = with lib . maintainers ; [
9
+ c4patino
10
+ ] ;
11
+
12
+ settingsExample = lib . literalExpression ''
13
+ {
14
+ labels = [
15
+ "1" "2" "3" "4" "5"
16
+ "11" "12" "13" "14" "15"
17
+ "21" "22" "23" "24" "25"
18
+ "31" "32" "33" "34" "35"
19
+ "41" "42" "43" "44" "45"
20
+ "51" "52" "53" "54" "55"
21
+ "111" "112" "113" "114" "115"
22
+ "121" "122" "123" "124" "125"
23
+ "131" "132" "133" "134" "135"
24
+ "141" "142" "143" "144" "145"
25
+ "151" "152" "153" "154" "155"
26
+ "211" "212" "213" "214" "215"
27
+ "221" "222" "223" "224" "225"
28
+ "231" "232" "233" "234" "235"
29
+ "241" "242" "243" "244" "245"
30
+ "251" "252" "253" "254" "255"
31
+ ];
32
+
33
+ up_key = "k";
34
+ down_key = "j";
35
+
36
+ hidden_file_types = [ "undotree" ];
37
+ hidden_buffer_types = [
38
+ "terminal"
39
+ "nofile"
40
+ ];
41
+ }
42
+ '' ;
43
+ }
Original file line number Diff line number Diff line change
1
+ { lib , ... } :
2
+ {
3
+ empty = {
4
+ plugins . comfy-line-numbers . enable = true ;
5
+ } ;
6
+
7
+ defaults = {
8
+ plugins . comfy-line-numbers = {
9
+ enable = true ;
10
+ settings = {
11
+ labels = lib . strings . splitString "," (
12
+ lib . concatStringsSep "," [
13
+ "1,2,3,4,5"
14
+ "11,12,13,14,15"
15
+ "21,22,22,22,25"
16
+ "31,32,33,34,35"
17
+ "41,42,43,44,45"
18
+ "51,52,53,54,55"
19
+ "111,112,113,114,115"
20
+ "121,122,123,124,125"
21
+ "131,132,133,134,135"
22
+ "141,142,143,144,145"
23
+ "151,152,153,154,155"
24
+ "211,212,213,214,215"
25
+ "221,222,223,224,225"
26
+ "231,232,233,234,235"
27
+ "241,242,243,244,245"
28
+ "251,252,253,254,255"
29
+ ]
30
+ ) ;
31
+
32
+ up_key = "k" ;
33
+ down_key = "j" ;
34
+
35
+ hidden_file_types = [ "undotree" ] ;
36
+ hidden_buffer_types = [
37
+ "terminal"
38
+ "nofile"
39
+ ] ;
40
+
41
+ } ;
42
+
43
+ } ;
44
+
45
+ } ;
46
+
47
+ }
You can’t perform that action at this time.
0 commit comments