File tree Expand file tree Collapse file tree 2 files changed +115
-0
lines changed
tests/test-sources/plugins/by-name/hlchunk Expand file tree Collapse file tree 2 files changed +115
-0
lines changed Original file line number Diff line number Diff line change
1
+ { lib , ... } :
2
+ lib . nixvim . plugins . mkNeovimPlugin {
3
+ name = "hlchunk" ;
4
+ packPathName = "hlchunk.nvim" ;
5
+ package = "hlchunk-nvim" ;
6
+
7
+ maintainers = [ lib . maintainers . GaetanLepage ] ;
8
+
9
+ settingsExample = {
10
+ chunk = {
11
+ enable = true ;
12
+ use_treesitter = true ;
13
+ style . fg = "#91bef0" ;
14
+ exclude_filetypes = {
15
+ neo-tree = true ;
16
+ lazyterm = true ;
17
+ } ;
18
+ chars = {
19
+ horizontal_line = "─" ;
20
+ vertical_line = "│" ;
21
+ left_top = "╭" ;
22
+ left_bottom = "╰" ;
23
+ right_arrow = "─" ;
24
+ } ;
25
+ } ;
26
+ indent = {
27
+ chars = [ "│" ] ;
28
+ use_treesitter = false ;
29
+
30
+ style . fg = "#45475a" ;
31
+ exclude_filetypes = {
32
+ neo-tree = true ;
33
+ lazyterm = true ;
34
+ } ;
35
+ } ;
36
+ blank . enable = false ;
37
+ line_num = {
38
+ use_treesitter = true ;
39
+ style = "#91bef0" ;
40
+ } ;
41
+ } ;
42
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ empty = {
3
+ plugins . hlchunk . enable = true ;
4
+ } ;
5
+
6
+ defaults = {
7
+ plugins . hlchunk = {
8
+ enable = true ;
9
+
10
+ # https://github.com/shellRaining/hlchunk.nvim/tree/main?tab=readme-ov-file#setup
11
+ settings =
12
+ let
13
+ modDefaultConfig = {
14
+ enable = false ;
15
+ style = { } ;
16
+ notify = false ;
17
+ priority = 0 ;
18
+ exclude_filetypes = {
19
+ aerial = true ;
20
+ dashboard = true ;
21
+ # ...
22
+ } ;
23
+ } ;
24
+ in
25
+ {
26
+ chunk = modDefaultConfig ;
27
+ indent = modDefaultConfig ;
28
+ line_num = modDefaultConfig ;
29
+ blank = modDefaultConfig ;
30
+ } ;
31
+ } ;
32
+ } ;
33
+
34
+ example = {
35
+ plugins . hlchunk = {
36
+ enable = true ;
37
+
38
+ settings = {
39
+ chunk = {
40
+ enable = true ;
41
+ use_treesitter = true ;
42
+ style . fg = "#91bef0" ;
43
+ exclude_filetypes = {
44
+ neo-tree = true ;
45
+ lazyterm = true ;
46
+ } ;
47
+ chars = {
48
+ horizontal_line = "─" ;
49
+ vertical_line = "│" ;
50
+ left_top = "╭" ;
51
+ left_bottom = "╰" ;
52
+ right_arrow = "─" ;
53
+ } ;
54
+ } ;
55
+ indent = {
56
+ chars = [ "│" ] ;
57
+ use_treesitter = false ;
58
+
59
+ style . fg = "#45475a" ;
60
+ exclude_filetypes = {
61
+ neo-tree = true ;
62
+ lazyterm = true ;
63
+ } ;
64
+ } ;
65
+ blank . enable = false ;
66
+ line_num = {
67
+ use_treesitter = true ;
68
+ style = "#91bef0" ;
69
+ } ;
70
+ } ;
71
+ } ;
72
+ } ;
73
+ }
You can’t perform that action at this time.
0 commit comments