annotate vendor/vim-packs/srcery-vim/after/plugin/srcery.vim @ 726:78469331407e

Update syntaxes
author nanaya <me@nanaya.net>
date Mon, 19 Aug 2024 17:04:13 +0900
parents 1e0f578f6752
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
1 if srcery#helper#ShouldAbort()
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
2 finish
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
3 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
4
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
5 " Palette {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
6
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
7 let s:none = g:srcery#palette.none
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
8
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
9 " 16 base colors
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
10 let s:black = g:srcery#palette.black
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
11 let s:red = g:srcery#palette.red
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
12 let s:green = g:srcery#palette.green
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
13 let s:yellow = g:srcery#palette.yellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
14 let s:blue = g:srcery#palette.blue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
15 let s:magenta = g:srcery#palette.magenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
16 let s:cyan = g:srcery#palette.cyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
17 let s:white = g:srcery#palette.white
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
18 let s:bright_black = g:srcery#palette.bright_black
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
19 let s:bright_red = g:srcery#palette.bright_red
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
20 let s:bright_green = g:srcery#palette.bright_green
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
21 let s:bright_yellow = g:srcery#palette.bright_yellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
22 let s:bright_blue = g:srcery#palette.bright_blue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
23 let s:bright_magenta = g:srcery#palette.bright_magenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
24 let s:bright_cyan = g:srcery#palette.bright_cyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
25 let s:bright_white = g:srcery#palette.bright_white
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
26
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
27 " xterm colors
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
28 let s:orange = g:srcery#palette.orange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
29 let s:bright_orange = g:srcery#palette.bright_orange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
30 let s:hard_black = g:srcery#palette.hard_black
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
31 let s:xgray1 = g:srcery#palette.xgray1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
32 let s:xgray2 = g:srcery#palette.xgray2
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
33 let s:xgray3 = g:srcery#palette.xgray3
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
34 let s:xgray4 = g:srcery#palette.xgray4
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
35 let s:xgray5 = g:srcery#palette.xgray5
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
36 let s:xgray6 = g:srcery#palette.xgray6
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
37
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
38 "}}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
39 " Setup Emphasis: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
40
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
41 let s:bold = g:srcery#palette.bold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
42 let s:italic = g:srcery#palette.italic
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
43 let s:underline = g:srcery#palette.underline
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
44 let s:undercurl = g:srcery#palette.undercurl
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
45 let s:inverse = g:srcery#palette.inverse
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
46 let s:strikethrough = g:srcery#palette.strikethrough
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
47
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
48 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
49 " Sneak: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
50
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
51 if exists('g:loaded_sneak_plugin')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
52 hi! link Sneak Search
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
53 call srcery#helper#Highlight('SneakScope', s:none, s:hard_black)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
54 hi! link SneakLabel Search
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
55 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
56
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
57 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
58 " Rainbow Parentheses: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
59
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
60 if !exists('g:rbpt_colorpairs')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
61 let g:rbpt_colorpairs =
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
62 \ [
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
63 \ ['blue', '#2C78BF'], ['202', '#FF5F00'],
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
64 \ ['red', '#EF2F27'], ['magenta', '#E02C6D']
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
65 \ ]
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
66 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
67
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
68 let g:rainbow_guifgs = [ '#E02C6D', '#EF2F27', '#D75F00', '#2C78BF']
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
69 let g:rainbow_ctermfgs = [ 'magenta', 'red', '202', 'blue' ]
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
70
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
71 if !exists('g:rainbow_conf')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
72 let g:rainbow_conf = {}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
73 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
74 if !has_key(g:rainbow_conf, 'guifgs')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
75 let g:rainbow_conf['guifgs'] = g:rainbow_guifgs
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
76 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
77 if !has_key(g:rainbow_conf, 'ctermfgs')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
78 let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
79 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
80
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
81 let g:niji_dark_colours = g:rbpt_colorpairs
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
82 let g:niji_light_colours = g:rbpt_colorpairs
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
83
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
84 "}}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
85 " GitGutter: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
86
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
87 if exists('g:loaded_gitgutter')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
88 hi! link GitGutterAdd SrceryGreen
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
89 hi! link GitGutterChange SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
90 hi! link GitGutterDelete SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
91 hi! link GitGutterChangeDelete SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
92 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
93
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
94 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
95 " Asynchronous Lint Engine: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
96
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
97 if exists('g:ale_enabled')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
98 call srcery#helper#Highlight('ALEError', s:none, s:none, s:undercurl, s:red)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
99 call srcery#helper#Highlight('ALEWarning', s:none, s:none, s:undercurl, s:yellow)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
100 call srcery#helper#Highlight('ALEInfo', s:none, s:none, s:undercurl, s:blue)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
101
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
102 hi! link ALEErrorSign SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
103 hi! link ALEWarningSign SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
104 hi! link ALEInfoSign SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
105 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
106
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
107 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
108
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
109 " vim-indent-guides: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
110 if exists('g:loaded_indent_guides')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
111 call srcery#helper#Highlight('IndentGuidesEven', s:none, s:xgray3)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
112 call srcery#helper#Highlight('IndentGuidesOdd', s:none, s:xgray4)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
113 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
114
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
115 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
116 " vim-startify: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
117
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
118 if exists('g:loaded_startify')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
119 hi! link StartifyNumber Statement
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
120 hi! link StartifyFile Normal
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
121 hi! link StartifyPath String
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
122 hi! link StartifySlash Normal
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
123 hi! link StartifyBracket Comment
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
124 hi! link StartifyHeader Type
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
125 hi! link StartifyFooter Normal
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
126 hi! link StartifySpecial Comment
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
127 hi! link StartifySection Identifier
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
128 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
129
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
130 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
131 " fzf: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
132
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
133 if exists('g:loaded_fzf')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
134 call srcery#helper#Highlight('fzf1', s:magenta, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
135 call srcery#helper#Highlight('fzf2', s:bright_green, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
136 call srcery#helper#Highlight('fzf3', s:bright_white, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
137 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
138
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
139 "}}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
140
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
141 " Netrw: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
142
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
143 hi! link netrwDir SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
144 hi! link netrwClassify SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
145 hi! link netrwLink SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
146 hi! link netrwSymLink SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
147 hi! link netrwExe SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
148 hi! link netrwComment SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
149 hi! link netrwList SrceryBrightBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
150 hi! link netrwTreeBar SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
151 hi! link netrwHelpCmd SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
152 hi! link netrwVersion SrceryGreen
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
153 hi! link netrwCmdSep SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
154
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
155 "}}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
156 " coc.nvim: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
157
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
158 if exists('g:did_coc_loaded')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
159 hi! link CocErrorSign SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
160 hi! link CocWarningSign SrceryBrightOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
161 hi! link CocInfoSign SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
162 hi! link CocHintSign SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
163 hi! link CocErrorFloat SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
164 hi! link CocWarningFloat SrceryOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
165 hi! link CocInfoFloat SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
166 hi! link CocHintFloat SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
167 hi! link CocDiagnosticsError SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
168 hi! link CocDiagnosticsWarning SrceryOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
169 hi! link CocDiagnosticsInfo SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
170 hi! link CocDiagnosticsHint SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
171
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
172 hi! link CocSelectedText SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
173 hi! link CocCodeLens SrceryWhite
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
174
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
175 call srcery#helper#Highlight('CocErrorHighlight', s:none, s:none, s:undercurl, s:red)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
176 call srcery#helper#Highlight('CocWarningHighlight', s:none, s:none, s:undercurl, s:bright_orange)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
177 call srcery#helper#Highlight('CocInfoHighlight', s:none, s:none, s:undercurl, s:yellow)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
178 call srcery#helper#Highlight('CocHintHighlight', s:none, s:none, s:undercurl, s:blue)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
179 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
180
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
181 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
182 " CtrlP: "{{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
183
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
184 if exists('g:loaded_ctrlp')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
185 hi! link CtrlPMatch SrceryMagenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
186 hi! link CtrlPLinePre SrceryBrightGreen
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
187 call srcery#helper#Highlight('CtrlPMode1', s:bright_white, s:xgray3)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
188 call srcery#helper#Highlight('CtrlPMode2', s:bright_white, s:xgray5)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
189 call srcery#helper#Highlight('CtrlPStats', s:yellow, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
190 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
191
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
192 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
193 " NERDTree: "{{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
194
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
195 if exists('g:loaded_nerd_tree')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
196 hi! link NERDTreeDir SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
197 hi! link NERDTreeDirSlash SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
198 hi! link NERDTreeOpenable SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
199 hi! link NERDTreeClosable SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
200 hi! link NERDTreeFile SrceryWhite
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
201 hi! link NERDTreeExecFile SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
202 hi! link NERDTreeUp SrceryOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
203 hi! link NERDTreeCWD SrceryGreen
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
204 hi! link NERDTreeHelp SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
205 hi! link NERDTreeFlags SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
206 hi! link NERDTreeLinkFile SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
207 hi! link NERDTreeLinkTarget SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
208 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
209
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
210 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
211 " Telescope: "{{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
212
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
213 if exists('g:loaded_telescope')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
214 call srcery#helper#Highlight('TelescopeNormal', s:white, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
215 call srcery#helper#Highlight('TelescopeSelection', s:green, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
216 call srcery#helper#Highlight('TelescopeMatching', s:magenta)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
217 call srcery#helper#Highlight('TelescopeSelectionCaret', s:magenta)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
218 call srcery#helper#Highlight('TelescopePromptPrefix', s:bright_yellow)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
219 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
220
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
221 " }}}
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
222 " nvim-cmp: "{{{
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
223
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
224 if exists('g:loaded_cmp')
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
225 hi! link CmpItemAbbr Pmenu
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
226 hi! link CmpItemAbbrDeprecated Comment
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
227 hi! link CmpItemAbbrMatch Pmenu
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
228 hi! link CmpItemAbbrMatchFuzzy Pmenu
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
229 hi! link CmpItemKind Special
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
230 hi! link CmpItemMenu Pmenu
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
231 endif
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
232
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
233 " }}}
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
234 " nvim: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
235
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
236 if has('nvim')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
237
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
238 " nvim-treesitter: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
239
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
240 if exists('g:loaded_nvim_treesitter')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
241 " This is deprecated in new nvim releases
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
242 call srcery#helper#Highlight('TSStrong', s:none, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
243 call srcery#helper#Highlight('TSEmphasis', s:none, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
244 call srcery#helper#Highlight('TSUnderline', s:none, s:none, s:underline)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
245
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
246 highlight! link TSWarning SrceryOrangeBold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
247 highlight! link TSDanger SrceryRedBold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
248 highlight! link TSConstBuiltin SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
249 highlight! link TSField SrceryGreen
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
250 highlight! link TSFuncBuiltin SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
251 highlight! link TSFuncMacro SrceryOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
252 highlight! link TSFunction SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
253 call srcery#helper#Highlight('TSNamespace', s:white, s:none, s:italic)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
254 call srcery#helper#Highlight('TSParameter', s:cyan, s:none, s:italic)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
255 highlight! link TSProperty SrceryBrightBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
256 highlight! link TSSymbol SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
257 highlight! link TSTag SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
258 highlight! link TSTagAttribute SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
259 highlight! link TSVariableBuiltin SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
260 highlight! link TSType SrceryWhite
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
261 highlight! link TSDelimiter SrceryWhite
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
262 highlight! link TSURI SrceryGreen
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
263 highlight! link TSVariable SrceryBrightWhite
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
264
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
265 if has('nvim-0.8')
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
266 highlight! link @text.strong TSStrong
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
267 highlight! link @text.emphasis TSEmphasis
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
268 highlight! link @text.underline TSUnderline
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
269 highlight! link @text.warning TSWarning
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
270 highlight! link @text.danger TSDanger
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
271 highlight! link @constant.builtin TSConstBuiltin
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
272 highlight! link @field TSField
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
273 highlight! link @function.builtin TSFuncBuiltin
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
274 highlight! link @function.macro TSFuncMacro
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
275 highlight! link @function TSFunction
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
276 highlight! link @namespace TSNamespace
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
277 highlight! link @parameter TSParameter
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
278 highlight! link @property TSProperty
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
279 highlight! link @symbol TSSymbol
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
280 highlight! link @tag TSTag
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
281 highlight! link @tag.attribute TSTagAttribute
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
282 highlight! link @variable.builtin TSVariableBuiltin
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
283 highlight! link @type TSType
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
284 highlight! link @delimiter TSDelimiter
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
285 highlight! link @text.uri TSURI
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
286 highlight! link @variable TSVariable
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
287
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
288 call srcery#helper#Highlight('@markup.strong', s:none, s:none, s:bold)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
289 call srcery#helper#Highlight('@markup.italic', s:none, s:none, s:italic)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
290 call srcery#helper#Highlight('@markup.underline', s:none, s:none, s:underline)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
291 call srcery#helper#Highlight('@markup.strikethrough', s:none, s:none, s:strikethrough)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
292
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
293 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
294 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
295
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
296 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
297 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
298
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
299 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
300
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
301 " vim: fdm=marker ts=2 sts=2 sw=2 fdl=0: