File tree Expand file tree Collapse file tree 2 files changed +134
-0
lines changed
tests/test-sources/plugins/by-name/rainbow Expand file tree Collapse file tree 2 files changed +134
-0
lines changed Original file line number Diff line number Diff line change
1
+ { lib , ... } :
2
+ lib . nixvim . plugins . mkVimPlugin {
3
+ name = "rainbow" ;
4
+ package = "rainbow" ;
5
+ description = "Rainbow parentheses improved — shorter code, no level limit, smooth and fast with powerful configuration." ;
6
+ maintainers = [ lib . maintainers . saygo-png ] ;
7
+ globalPrefix = "rainbow_" ;
8
+
9
+ settingsExample = {
10
+ active = 1 ;
11
+ conf = {
12
+ guifgs = [
13
+ "#7d8618"
14
+ "darkorange3"
15
+ "seagreen3"
16
+ "firebrick"
17
+ ] ;
18
+ ctermfgs = [
19
+ "lightblue"
20
+ "lightyellow"
21
+ "lightcyan"
22
+ "lightmagenta"
23
+ ] ;
24
+ guis = [ "" ] ;
25
+ cterms = [ "" ] ;
26
+ operators = "_,_" ;
27
+ parentheses = [
28
+ "start=/(/ end=/)/ fold"
29
+ "start=/\\ [/ end=/\\ ]/ fold"
30
+ "start=/{/ end=/}/ fold"
31
+ ] ;
32
+ separately = {
33
+ "*" = { } ;
34
+ markdown = {
35
+ parentheses_options = "containedin=markdownCode contained" ;
36
+ } ;
37
+ lisp = {
38
+ guifgs = [
39
+ "royalblue3"
40
+ "darkorange3"
41
+ "seagreen3"
42
+ "firebrick"
43
+ "darkorchid3"
44
+ ] ;
45
+ } ;
46
+ haskell = {
47
+ parentheses = [
48
+ "start=/(/ end=/)/ fold"
49
+ "start=/\\ [/ end=/\\ ]/ fold"
50
+ "start=/\v \{ \z e[^-]/ end=/}/ fold"
51
+ ] ;
52
+ } ;
53
+ vim = {
54
+ parentheses_options = "containedin=vimFuncBody" ;
55
+ } ;
56
+ perl = {
57
+ syn_name_prefix = "perlBlockFoldRainbow" ;
58
+ } ;
59
+ stylus = {
60
+ parentheses = [ "start=/{/ end=/}/ fold contains=@colorableGroup" ] ;
61
+ } ;
62
+ css = 0 ;
63
+ } ;
64
+ } ;
65
+ } ;
66
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ empty = {
3
+ plugins . rainbow . enable = true ;
4
+ } ;
5
+
6
+ example = {
7
+ plugins . rainbow = {
8
+ enable = true ;
9
+ settings = {
10
+ active = 1 ;
11
+ conf = {
12
+ guifgs = [
13
+ "#7d8618"
14
+ "darkorange3"
15
+ "seagreen3"
16
+ "firebrick"
17
+ ] ;
18
+ ctermfgs = [
19
+ "lightblue"
20
+ "lightyellow"
21
+ "lightcyan"
22
+ "lightmagenta"
23
+ ] ;
24
+ guis = [ "" ] ;
25
+ cterms = [ "" ] ;
26
+ operators = "_,_" ;
27
+ parentheses = [
28
+ "start=/(/ end=/)/ fold"
29
+ "start=/\\ [/ end=/\\ ]/ fold"
30
+ "start=/{/ end=/}/ fold"
31
+ ] ;
32
+ separately = {
33
+ "*" = { } ;
34
+ markdown = {
35
+ parentheses_options = "containedin=markdownCode contained" ;
36
+ } ;
37
+ lisp = {
38
+ guifgs = [
39
+ "royalblue3"
40
+ "darkorange3"
41
+ "seagreen3"
42
+ "firebrick"
43
+ "darkorchid3"
44
+ ] ;
45
+ } ;
46
+ haskell = {
47
+ parentheses = [
48
+ "start=/(/ end=/)/ fold"
49
+ "start=/\\ [/ end=/\\ ]/ fold"
50
+ "start=/\v \{ \z e[^-]/ end=/}/ fold"
51
+ ] ;
52
+ } ;
53
+ vim = {
54
+ parentheses_options = "containedin=vimFuncBody" ;
55
+ } ;
56
+ perl = {
57
+ syn_name_prefix = "perlBlockFoldRainbow" ;
58
+ } ;
59
+ stylus = {
60
+ parentheses = [ "start=/{/ end=/}/ fold contains=@colorableGroup" ] ;
61
+ } ;
62
+ css = 0 ;
63
+ } ;
64
+ } ;
65
+ } ;
66
+ } ;
67
+ } ;
68
+ }
You can’t perform that action at this time.
0 commit comments