annotate vendor/vim-packs/srcery-vim/colors/srcery.vim @ 739:2cf87b7ca09a default tip

Update vendored stuff
author nanaya <me@nanaya.net>
date Thu, 09 Jan 2025 03:28:23 +0900
parents 78469331407e
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 " 'srcery.vim' -- Vim color scheme.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
2 " Maintainer: Roosta (mail@roosta.sh)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
3 " Description: Colorscheme that focus ease of use and clearly defined contrasting colors with a slightly earthy tone.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
4 " Original Source: https://github.com/morhetz/gruvbox
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
5
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
6 scriptencoding utf-8
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
7
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
8 set background=dark
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
9
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
10 if v:version > 580
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
11 hi clear
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
12 if exists('syntax_on')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
13 syntax reset
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
14 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
15 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
16
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
17 let g:colors_name='srcery'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
18
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
19 if !has('gui_running') && &t_Co != 256
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
20 finish
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
21 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
22
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
23 " Setup Variables: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
24
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
25 " Colors {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
26
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
27 if !exists('g:srcery_black')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
28 let g:srcery_black='#1C1B19'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
29 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
30
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
31 if !exists('g:srcery_red')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
32 let g:srcery_red='#EF2F27'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
33 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
34
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
35 if !exists('g:srcery_green')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
36 let g:srcery_green='#519F50'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
37 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
38
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
39 if !exists('g:srcery_yellow')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
40 let g:srcery_yellow='#FBB829'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
41 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
42
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
43 if !exists('g:srcery_blue')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
44 let g:srcery_blue='#2C78BF'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
45 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
46
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
47 if !exists('g:srcery_magenta')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
48 let g:srcery_magenta='#E02C6D'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
49 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
50
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
51 if !exists('g:srcery_cyan')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
52 let g:srcery_cyan='#0AAEB3'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
53 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
54
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
55 if !exists('g:srcery_white')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
56 let g:srcery_white='#BAA67F'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
57 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
58
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
59 if !exists('g:srcery_bright_black')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
60 let g:srcery_bright_black='#918175'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
61 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
62
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
63 if !exists('g:srcery_bright_red')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
64 let g:srcery_bright_red='#F75341'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
65 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
66
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
67 if !exists('g:srcery_bright_green')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
68 let g:srcery_bright_green='#98BC37'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
69 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
70
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
71 if !exists('g:srcery_bright_yellow')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
72 let g:srcery_bright_yellow='#FED06E'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
73 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
74
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
75 if !exists('g:srcery_bright_blue')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
76 let g:srcery_bright_blue='#68A8E4'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
77 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
78
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
79 if !exists('g:srcery_bright_magenta')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
80 let g:srcery_bright_magenta='#FF5C8F'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
81 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
82
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
83 if !exists('g:srcery_bright_cyan')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
84 let g:srcery_bright_cyan='#2BE4D0'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
85 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
86
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
87 if !exists('g:srcery_bright_white')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
88 let g:srcery_bright_white='#FCE8C3'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
89 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
90
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
91 if !exists('g:srcery_orange')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
92 let g:srcery_orange='#FF5F00'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
93 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
94
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
95 if !exists('g:srcery_orange_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
96 let g:srcery_orange_cterm=202
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
97 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
98
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
99 if !exists('g:srcery_bright_orange')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
100 let g:srcery_bright_orange='#FF8700'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
101 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
102
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
103 if !exists('g:srcery_bright_orange_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
104 let g:srcery_bright_orange_cterm=208
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
105 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
106
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
107 if !exists('g:srcery_hard_black')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
108 let g:srcery_hard_black='#121212'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
109 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
110
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
111 if !exists('g:srcery_hard_black_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
112 let g:srcery_hard_black_cterm=233
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
113 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
114
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
115 if !exists('g:srcery_xgray1')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
116 let g:srcery_xgray1='#262626'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
117 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
118
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
119 if !exists('g:srcery_xgray1_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
120 let g:srcery_xgray1_cterm=235
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
121 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
122
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
123 if !exists('g:srcery_xgray2')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
124 let g:srcery_xgray2='#303030'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
125 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
126
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
127 if !exists('g:srcery_xgray2_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
128 let g:srcery_xgray2_cterm=236
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
129 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
130
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
131 if !exists('g:srcery_xgray3')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
132 let g:srcery_xgray3='#3A3A3A'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
133 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
134
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
135 if !exists('g:srcery_xgray3_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
136 let g:srcery_xgray3_cterm=237
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
137 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
138
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
139 if !exists('g:srcery_xgray4')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
140 let g:srcery_xgray4='#444444'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
141 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
142
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
143 if !exists('g:srcery_xgray4_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
144 let g:srcery_xgray4_cterm=238
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
145 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
146
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
147 if !exists('g:srcery_xgray5')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
148 let g:srcery_xgray5='#4E4E4E'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
149 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
150
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
151 if !exists('g:srcery_xgray5_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
152 let g:srcery_xgray5_cterm=239
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
153 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
154
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
155 if !exists('g:srcery_xgray6')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
156 let g:srcery_xgray6='#585858'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
157 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
158
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
159 if !exists('g:srcery_xgray6_cterm')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
160 let g:srcery_xgray6_cterm=240
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
161 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
162
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
163 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
164 " Options {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
165
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
166 if !exists('g:srcery_bold')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
167 let g:srcery_bold=1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
168 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
169
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
170 if !exists('g:srcery_italic')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
171 if has('gui_running') || $TERM_ITALICS ==? 'true'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
172 let g:srcery_italic=1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
173 else
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
174 let g:srcery_italic=0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
175 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
176 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
177
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
178 if !exists('g:srcery_undercurl')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
179 let g:srcery_undercurl=1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
180 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
181
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
182 if !exists('g:srcery_underline')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
183 let g:srcery_underline=1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
184 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
185
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
186 if !exists('g:srcery_strikethrough')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
187 let g:srcery_strikethrough=1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
188 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
189
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
190 if !exists('g:srcery_inverse')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
191 let g:srcery_inverse=1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
192 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
193
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
194 if !exists('g:srcery_inverse_matches')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
195 let g:srcery_inverse_matches=0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
196 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
197
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
198 if !exists('g:srcery_inverse_match_paren')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
199 let g:srcery_inverse_match_paren=0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
200 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
201
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
202 if !exists('g:srcery_dim_lisp_paren')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
203 let g:srcery_dim_lisp_paren=0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
204 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
205
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
206 if !exists('g:srcery_guisp_fallback') || index(['fg', 'bg'], g:srcery_guisp_fallback) == -1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
207 let g:srcery_guisp_fallback='NONE'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
208 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
209
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
210 if !exists('g:srcery_italic_types')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
211 let g:srcery_italic_types=0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
212 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
213
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
214 if !exists('g:srcery_bg')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
215 "Sets the default color for both guisp and cterm backgrounds.
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
216 let g:srcery_bg=[g:srcery_black, 0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
217 elseif (index(g:srcery_bg, 'DEFAULT') >= 0) || (index(g:srcery_bg, 'NONE') >= 0 && has('gui_running'))
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
218 "Defaults should be set if the user specifies it, or if the background is set as 'NONE' whilst the gui is running.
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
219 for i in [0, 1]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
220 if g:srcery_bg[i] ==# 'DEFAULT' || (g:srcery_bg[i] ==# 'NONE' && has('gui_running'))
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
221 let g:srcery_bg[i] = (i==1 ? 0 : g:srcery_black)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
222 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
223 endfor
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
224 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
225
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
226 if !exists('g:srcery_hard_black_terminal_bg')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
227 let g:srcery_hard_black_terminal_bg=1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
228 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
229
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
230 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
231
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
232 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
233
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
234 " Palette {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
235
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
236 let s:none = ['NONE', 'NONE']
704
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 " 16 base colors
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
239 let s:black = [g:srcery_black, 0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
240 let s:red = [g:srcery_red, 1]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
241 let s:green = [g:srcery_green, 2]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
242 let s:yellow = [g:srcery_yellow, 3]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
243 let s:blue = [g:srcery_blue, 4]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
244 let s:magenta = [g:srcery_magenta, 5]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
245 let s:cyan = [g:srcery_cyan, 6]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
246 let s:white = [g:srcery_white, 7]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
247 let s:bright_black = [g:srcery_bright_black, 8]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
248 let s:bright_red = [g:srcery_bright_red, 9]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
249 let s:bright_green = [g:srcery_bright_green, 10]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
250 let s:bright_yellow = [g:srcery_bright_yellow, 11]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
251 let s:bright_blue = [g:srcery_bright_blue, 12]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
252 let s:bright_magenta = [g:srcery_bright_magenta, 13]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
253 let s:bright_cyan = [g:srcery_bright_cyan, 14]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
254 let s:bright_white = [g:srcery_bright_white, 15]
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
255
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
256 " xterm colors
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
257 let s:orange = [g:srcery_orange, g:srcery_orange_cterm]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
258 let s:bright_orange = [g:srcery_bright_orange, g:srcery_bright_orange_cterm]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
259 let s:hard_black = [g:srcery_hard_black, g:srcery_hard_black_cterm]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
260 let s:xgray1 = [g:srcery_xgray1, g:srcery_xgray1_cterm]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
261 let s:xgray2 = [g:srcery_xgray2, g:srcery_xgray2_cterm]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
262 let s:xgray3 = [g:srcery_xgray3, g:srcery_xgray3_cterm]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
263 let s:xgray4 = [g:srcery_xgray4, g:srcery_xgray4_cterm]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
264 let s:xgray5 = [g:srcery_xgray5, g:srcery_xgray5_cterm]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
265 let s:xgray6 = [g:srcery_xgray6, g:srcery_xgray6_cterm]
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
266
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
267 "}}}
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
268
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
269 " Setup Emphasis: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
270
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
271 let s:bold = 'bold,'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
272 if g:srcery_bold == 0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
273 let s:bold = ''
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
274 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
275
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
276 let s:italic = 'italic,'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
277 if g:srcery_italic == 0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
278 let s:italic = ''
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
279 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
280
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
281 let s:underline = 'underline,'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
282 if g:srcery_underline == 0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
283 let s:underline = ''
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
284 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
285
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
286 let s:undercurl = 'undercurl,'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
287 if g:srcery_undercurl == 0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
288 let s:undercurl = ''
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
289 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
290
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
291 let s:inverse = 'inverse,'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
292 if g:srcery_inverse == 0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
293 let s:inverse = ''
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
294 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
295
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
296 let s:strikethrough = 'strikethrough,'
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
297 if g:srcery_strikethrough == 0
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
298 let s:strikethrough = ''
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
299 endif
704
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 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
302
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
303 " Highlighting Function: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
304
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
305 function! s:HL(group, fg, ...)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
306 " Arguments: group, guifg, guibg, gui, guisp
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
307
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
308 " foreground
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
309 let l:fg = a:fg
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
310
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
311 " background
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
312 if a:0 >= 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
313 let l:bg = a:1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
314 else
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
315 let l:bg = s:none
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
316 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
317
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
318 " emphasis
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
319 if a:0 >= 2 && strlen(a:2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
320 let l:emstr = a:2
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
321 else
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
322 let l:emstr = 'NONE,'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
323 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
324
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
325 " special fallback
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
326 if a:0 >= 3
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
327 if g:srcery_guisp_fallback !=# 'NONE'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
328 let fg = a:3
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
329 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
330
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
331 " bg fallback mode should invert higlighting
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
332 if g:srcery_guisp_fallback ==# 'bg'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
333 let emstr .= 'inverse,'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
334 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
335 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
336
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
337 let l:histring = [ 'hi', a:group,
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
338 \ 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1],
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
339 \ 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1],
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
340 \ 'gui=' . l:emstr[:-2], 'cterm=' . l:emstr[:-2]
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
341 \ ]
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
342
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
343 " special
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
344 if a:0 >= 3
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
345 call add(l:histring, 'guisp=' . a:3[0])
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
346 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
347
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
348 execute join(l:histring, ' ')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
349 endfunction
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
350
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
351 "}}}
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
352
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
353 " Srcery Hi Groups: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
354
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
355 " memoize common hi groups
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
356 call s:HL('SrceryRed', s:red)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
357 call s:HL('SrceryGreen', s:green)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
358 call s:HL('SrceryYellow', s:yellow)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
359 call s:HL('SrceryBlue', s:blue)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
360 call s:HL('SrceryMagenta', s:magenta)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
361 call s:HL('SrceryCyan', s:cyan)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
362 call s:HL('SrceryBlack', s:black)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
363 call s:HL('SrceryWhite', s:white)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
364
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
365 call s:HL('SrceryRedBold', s:red, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
366 call s:HL('SrceryGreenBold', s:green, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
367 call s:HL('SrceryYellowBold', s:yellow, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
368 call s:HL('SrceryBlueBold', s:blue, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
369 call s:HL('SrceryMagentaBold', s:magenta, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
370 call s:HL('SrceryCyanBold', s:cyan, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
371 call s:HL('SrceryBlackBold', s:black, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
372 call s:HL('SrceryWhiteBold', s:white, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
373
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
374 call s:HL('SrceryBrightRed', s:bright_red, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
375 call s:HL('SrceryBrightGreen', s:bright_green, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
376 call s:HL('SrceryBrightYellow', s:bright_yellow, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
377 call s:HL('SrceryBrightBlue', s:bright_blue, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
378 call s:HL('SrceryBrightMagenta', s:bright_magenta, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
379 call s:HL('SrceryBrightCyan', s:bright_cyan, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
380 call s:HL('SrceryBrightBlack', s:bright_black, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
381 call s:HL('SrceryBrightWhite', s:bright_white)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
382
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
383 call s:HL('SrceryBrightRedBold', s:bright_red, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
384 call s:HL('SrceryBrightGreenBold', s:bright_green, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
385 call s:HL('SrceryBrightYellowBold', s:bright_yellow, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
386 call s:HL('SrceryBrightBlueBold', s:bright_blue, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
387 call s:HL('SrceryBrightMagentaBold', s:bright_magenta, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
388 call s:HL('SrceryBrightCyanBold', s:bright_cyan, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
389 call s:HL('SrceryBrightBlackBold', s:bright_black, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
390 call s:HL('SrceryBrightWhiteBold', s:bright_white, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
391
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
392 " special
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
393 call s:HL('SrceryOrange', s:orange)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
394 call s:HL('SrceryBrightOrange', s:bright_orange)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
395 call s:HL('SrceryOrangeBold', s:orange, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
396 call s:HL('SrceryHardBlack', s:hard_black)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
397 call s:HL('SrceryXgray1', s:xgray1)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
398 call s:HL('SrceryXgray2', s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
399 call s:HL('SrceryXgray3', s:xgray3)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
400 call s:HL('SrceryXgray4', s:xgray4)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
401 call s:HL('SrceryXgray5', s:xgray5)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
402 call s:HL('SrceryXgray6', s:xgray6)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
403
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
404 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
405
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
406 " Setup Terminal Colors For Neovim: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
407
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
408 if has('nvim')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
409 let g:terminal_color_0 = s:black[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
410 let g:terminal_color_8 = s:bright_black[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
411
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
412 let g:terminal_color_1 = s:red[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
413 let g:terminal_color_9 = s:bright_red[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
414
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
415 let g:terminal_color_2 = s:green[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
416 let g:terminal_color_10 = s:bright_green[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
417
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
418 let g:terminal_color_3 = s:yellow[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
419 let g:terminal_color_11 = s:bright_yellow[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
420
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
421 let g:terminal_color_4 = s:blue[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
422 let g:terminal_color_12 = s:bright_blue[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
423
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
424 let g:terminal_color_5 = s:magenta[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
425 let g:terminal_color_13 = s:bright_magenta[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
426
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
427 let g:terminal_color_6 = s:cyan[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
428 let g:terminal_color_14 = s:bright_cyan[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
429
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
430 let g:terminal_color_7 = s:white[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
431 let g:terminal_color_15 = s:bright_white[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
432 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
433
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
434 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
435
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
436 " Setup Terminal Colors For Vim with termguicolors: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
437
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
438 if exists('*term_setansicolors')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
439 let g:terminal_ansi_colors = repeat([0], 16)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
440
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
441 let g:terminal_ansi_colors[0] = s:black[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
442 let g:terminal_ansi_colors[8] = s:bright_black[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
443
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
444 let g:terminal_ansi_colors[1] = s:red[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
445 let g:terminal_ansi_colors[9] = s:bright_red[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
446
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
447 let g:terminal_ansi_colors[2] = s:green[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
448 let g:terminal_ansi_colors[10] = s:bright_green[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
449
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
450 let g:terminal_ansi_colors[3] = s:yellow[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
451 let g:terminal_ansi_colors[11] = s:bright_yellow[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
452
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
453 let g:terminal_ansi_colors[4] = s:blue[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
454 let g:terminal_ansi_colors[12] = s:bright_blue[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
455
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
456 let g:terminal_ansi_colors[5] = s:magenta[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
457 let g:terminal_ansi_colors[13] = s:bright_magenta[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
458
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
459 let g:terminal_ansi_colors[6] = s:cyan[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
460 let g:terminal_ansi_colors[14] = s:bright_cyan[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
461
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
462 let g:terminal_ansi_colors[7] = s:white[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
463 let g:terminal_ansi_colors[15] = s:bright_white[0]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
464 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
465
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
466 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
467
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
468 " Vanilla Colorscheme: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
469
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
470 " General UI: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
471
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
472 " Normal text
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
473 "
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
474 call s:HL('Normal', s:bright_white, g:srcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
475
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
476 call s:HL('FloatBorder', s:white, g:srcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
477 call s:HL('NormalFloat', s:none, s:xgray2)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
478
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
479 if v:version >= 700
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
480 " Screen line that the cursor is
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
481 call s:HL('CursorLine', s:none, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
482 " Screen column that the cursor is
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
483 hi! link CursorColumn CursorLine
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
484
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
485 call s:HL('TabLineFill', s:bright_black, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
486 call s:HL('TabLineSel', s:bright_white, s:xgray5)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
487
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
488 " Not active tab page label
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
489 hi! link TabLine TabLineFill
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
490
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
491 " Match paired bracket under the cursor
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
492 "
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
493 if g:srcery_inverse_match_paren == 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
494 call s:HL('MatchParen', s:bright_magenta, s:none, s:inverse . s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
495 else
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
496 call s:HL('MatchParen', s:bright_magenta, s:none, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
497 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
498 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
499
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
500 if v:version >= 703
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
501 " Highlighted screen columns
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
502 call s:HL('ColorColumn', s:none, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
503
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
504 " Concealed element: \lambda → λ
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
505 call s:HL('Conceal', s:blue, s:none)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
506
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
507 " Line number of CursorLine
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
508 call s:HL('CursorLineNr', s:yellow, g:srcery_bg)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
509
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
510 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
511
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
512 hi! link NonText SrceryXgray4
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
513 hi! link SpecialKey SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
514
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
515 if g:srcery_inverse == 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
516 call s:HL('Visual', s:none, s:none, s:inverse)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
517 else
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
518 call s:HL('Visual', s:none, s:xgray2, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
519 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
520
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
521 hi! link VisualNOS Visual
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
522
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
523 if g:srcery_inverse == 1 && g:srcery_inverse_matches == 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
524 call s:HL('Search', s:none, s:none, s:inverse)
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
525 call s:HL('IncSearch', s:none, s:none, s:underline . s:inverse . s:bold)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
526 call s:HL('CurSearch', s:none, s:none, s:underline . s:inverse . s:bold)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
527 else
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
528 call s:HL('Search', s:none, s:xgray5)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
529 call s:HL('IncSearch', s:none, s:xgray5, s:underline . s:bold)
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
530 call s:HL('CurSearch', s:none, s:xgray5, s:underline . s:bold)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
531 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
532
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
533 call s:HL('Underlined', s:blue, s:none, s:underline)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
534
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
535 call s:HL('StatusLine', s:bright_white, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
536
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
537 call s:HL('StatusLineNC', s:bright_black, g:srcery_bg, s:underline)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
538 " The column separating vertically split windows
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
539 call s:HL('VertSplit', s:bright_white, g:srcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
540 " Current match in wildmenu completion
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
541 call s:HL('WildMenu', s:blue, g:srcery_bg, s:bold)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
542
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
543 " Directory names, special names in listing
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
544 hi! link Directory SrceryGreenBold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
545
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
546 " Titles for output from :set all, :autocmd, etc.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
547 hi! link Title SrceryGreenBold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
548
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
549 " Error messages on the command line
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
550 call s:HL('ErrorMsg', s:bright_white, s:red)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
551 " More prompt: -- More --
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
552 hi! link MoreMsg SrceryYellowBold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
553 " Current mode message: -- INSERT --
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
554 hi! link ModeMsg SrceryYellowBold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
555 " 'Press enter' prompt and yes/no questions
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
556 hi! link Question SrceryOrangeBold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
557 " Warning messages
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
558 hi! link WarningMsg SrceryRedBold
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
559
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
560 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
561 " Gutter: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
562
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
563 " Line number for :number and :# commands
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
564 call s:HL('LineNr', s:bright_black)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
565
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
566 " Column where signs are displayed
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
567 " TODO Possibly need to fix SignColumn
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
568 call s:HL('SignColumn', s:none, g:srcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
569 " Line used for closed folds
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
570 call s:HL('Folded', s:bright_black, g:srcery_bg, s:italic)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
571 " Column where folds are displayed
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
572 call s:HL('FoldColumn', s:bright_black, g:srcery_bg)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
573
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
574 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
575 " Cursor: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
576
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
577 " Character under cursor
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
578 call s:HL('Cursor', s:black, s:yellow)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
579 " Visual mode cursor, selection
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
580 hi! link vCursor Cursor
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
581 " Input moder cursor
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
582 hi! link iCursor Cursor
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
583 " Language mapping cursor
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
584 hi! link lCursor Cursor
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
585
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
586 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
587 " Syntax Highlighting: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
588
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
589 hi! link Special SrceryOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
590
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
591 call s:HL('Comment', s:bright_black, s:none, s:italic)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
592
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
593 call s:HL('Todo', s:bright_white, g:srcery_bg, s:bold . s:italic)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
594
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
595 call s:HL('Error', s:bright_white, s:red, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
596
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
597 " String constant: "this is a string"
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
598 call s:HL('String', s:bright_green)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
599
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
600 " Generic statement
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
601 hi! link Statement SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
602 " if, then, else, endif, swicth, etc.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
603 hi! link Conditional SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
604 " for, do, while, etc.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
605 hi! link Repeat SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
606 " case, default, etc.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
607 hi! link Label SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
608 " try, catch, throw
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
609 hi! link Exception SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
610 " sizeof, "+", "*", etc.
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
611 hi! link Operator SrceryBrightWhite
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
612 " Any other keyword
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
613 hi! link Keyword SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
614
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
615 " Variable name
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
616 hi! link Identifier SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
617 " Function name
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
618 hi! link Function SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
619
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
620 " Generic preprocessor
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
621 hi! link PreProc SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
622 " Preprocessor #include
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
623 hi! link Include SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
624 " Preprocessor #define
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
625 hi! link Define SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
626 " Same as Define
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
627 hi! link Macro SrceryOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
628 " Preprocessor #if, #else, #endif, etc.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
629 hi! link PreCondit SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
630
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
631 " Generic constant
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
632 hi! link Constant SrceryBrightMagenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
633 " Character constant: 'c', '/n'
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
634 hi! link Character SrceryBrightMagenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
635 " Boolean constant: TRUE, false
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
636 hi! link Boolean SrceryBrightMagenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
637 " Number constant: 234, 0xff
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
638 hi! link Number SrceryBrightMagenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
639 " Floating point constant: 2.3e10
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
640 hi! link Float SrceryBrightMagenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
641
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
642 " Generic type
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
643 if g:srcery_italic_types == 1 && g:srcery_italic == 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
644 call s:HL('Type', s:bright_blue, s:none, s:italic)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
645 else
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
646 hi! link Type SrceryBrightBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
647 end
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
648 " static, register, volatile, etc
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
649 hi! link StorageClass SrceryOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
650 " struct, union, enum, etc.
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
651 hi! link Structure SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
652 " typedef
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
653 hi! link Typedef SrceryMagenta
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
654
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
655 if g:srcery_dim_lisp_paren == 1
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
656 hi! link Delimiter SrceryXgray6
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
657 else
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
658 hi! link Delimiter SrceryBrightBlack
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
659 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
660
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
661 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
662 " Completion Menu: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
663
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
664 if v:version >= 700
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
665 " Popup menu: normal item
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
666 call s:HL('Pmenu', s:bright_white, s:xgray2)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
667 " Popup menu: selected item
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
668 call s:HL('PmenuSel', s:bright_white, s:blue, s:bold)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
669
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
670 " Popup menu: scrollbar
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
671 call s:HL('PmenuSbar', s:none, g:srcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
672 " Popup menu: scrollbar thumb
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
673 call s:HL('PmenuThumb', s:none, s:orange)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
674 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
675
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
676 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
677 " Diffs: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
678
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
679 call s:HL('DiffDelete', s:red, g:srcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
680 call s:HL('DiffAdd', s:green, g:srcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
681 call s:HL('DiffChange', s:cyan, g:srcery_bg)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
682 call s:HL('DiffText', s:yellow, g:srcery_bg)
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
683
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
684 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
685 " Spelling: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
686
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
687 if has('spell')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
688 " Not capitalised word, or compile warnings
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
689 call s:HL('SpellCap', s:green, s:none, s:bold . s:italic)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
690 " Not recognized word
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
691 call s:HL('SpellBad', s:none, s:none, s:undercurl, s:blue)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
692 " Wrong spelling for selected region
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
693 call s:HL('SpellLocal', s:none, s:none, s:undercurl, s:cyan)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
694 " Rare word
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
695 call s:HL('SpellRare', s:none, s:none, s:undercurl, s:magenta)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
696 endif
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
697
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
698 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
699 " Terminal: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
700
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
701 if g:srcery_hard_black_terminal_bg == 1 && has('terminal')
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
702 " Must set an explicit background as NONE won't work
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
703 " Therefore not useful with transparent background option
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
704 call s:HL('Terminal', s:bright_white, s:hard_black)
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
705 endif
726
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
706 " }}}
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
707 " Neovim LSP: {{{
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
708
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
709 if has('nvim')
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
710 " for backward compatibility with neovim v0.5.x
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
711 hi! link LspDiagnosticsDefaultError DiagnosticError
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
712 hi! link LspDiagnosticsDefaultWarning DiagnosticWarn
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
713 hi! link LspDiagnosticsDefaultInformation DiagnosticInfo
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
714 hi! link LspDiagnosticsDefaultHint DiagnosticHint
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
715 hi! link LspDiagnosticsUnderlineError DiagnosticUnderlineError
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
716 hi! link LspDiagnosticsUnderlineHint DiagnosticUnderlineHint
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
717 hi! link LspDiagnosticsUnderlineInformation DiagnosticUnderlineInfo
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
718 hi! link LspDiagnosticsUnderlineWarning DiagnosticUnderlineWarn
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
719
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
720 " latest hl groups
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
721 hi! link DiagnosticError SrceryBrightRed
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
722 hi! link DiagnosticWarn SrceryBrightYellow
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
723 hi! link DiagnosticInfo SrceryBrightGreen
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
724 hi! link DiagnosticHint SrceryBrightCyan
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
725 call s:HL('DiagnosticUnderlineError', s:bright_red, s:none, s:undercurl)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
726 call s:HL('DiagnosticUnderlineWarn', s:bright_yellow, s:none, s:undercurl)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
727 call s:HL('DiagnosticUnderlineInfo', s:bright_green, s:none, s:undercurl)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
728 call s:HL('DiagnosticUnderlineHint', s:bright_cyan, s:none, s:undercurl)
78469331407e Update syntaxes
nanaya <me@nanaya.net>
parents: 704
diff changeset
729 endif
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
730
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
731 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
732
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
733 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
734
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
735 " Languages: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
736
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
737 " C: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
738
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
739 hi! link cOperator SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
740 hi! link cStructure SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
741
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
742 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
743 " CoffeeScript: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
744
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
745 hi! link coffeeExtendedOp SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
746 hi! link coffeeSpecialOp SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
747 hi! link coffeeCurly SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
748 hi! link coffeeParen SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
749 hi! link coffeeBracket SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
750
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
751 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
752 " CSS: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
753
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
754 hi! link cssBraces SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
755 hi! link cssFunctionName SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
756 hi! link cssIdentifier SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
757 hi! link cssClassName SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
758 hi! link cssClassNameDot SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
759 hi! link cssColor SrceryBrightMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
760 hi! link cssSelectorOp SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
761 hi! link cssSelectorOp2 SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
762 hi! link cssImportant SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
763 hi! link cssVendor SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
764 hi! link cssMediaProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
765 hi! link cssBorderProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
766 hi! link cssAttrComma SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
767
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
768 hi! link cssTextProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
769 hi! link cssAnimationProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
770 hi! link cssUIProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
771 hi! link cssTransformProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
772 hi! link cssTransitionProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
773 hi! link cssPrintProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
774 hi! link cssPositioningProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
775 hi! link cssBoxProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
776 hi! link cssFontDescriptorProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
777 hi! link cssFlexibleBoxProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
778 hi! link cssBorderOutlineProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
779 hi! link cssBackgroundProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
780 hi! link cssMarginProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
781 hi! link cssListProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
782 hi! link cssTableProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
783 hi! link cssFontProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
784 hi! link cssPaddingProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
785 hi! link cssDimensionProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
786 hi! link cssRenderProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
787 hi! link cssColorProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
788 hi! link cssGeneratedContentProp SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
789 hi! link cssTagName SrceryBrightBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
790
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
791 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
792 " Elixir: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
793
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
794 hi! link elixirDocString Comment
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
795
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
796 hi! link elixirStringDelimiter SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
797 hi! link elixirInterpolationDelimiter SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
798
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
799 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
800 " Go: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
801
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
802 hi! link goDirective SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
803 hi! link goConstants SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
804 hi! link goDeclaration SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
805 hi! link goDeclType SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
806 hi! link goBuiltins SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
807
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
808 " }}}
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
809 " Diff: {{{
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
810
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
811 hi! link diffAdded SrceryGreen
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
812 hi! link diffRemoved SrceryRed
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
813 hi! link diffChanged SrceryCyan
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
814
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
815 hi! link diffFile SrceryOrange
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
816 hi! link diffNewFile SrceryYellow
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
817
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
818 hi! link diffLine SrceryBlue
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
819
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
820 " }}}
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
821 " Haskell: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
822
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
823 " hi! link haskellType SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
824 " hi! link haskellOperators SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
825 " hi! link haskellConditional SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
826 " hi! link haskellLet SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
827
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
828 hi! link haskellType SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
829 hi! link haskellIdentifier SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
830 hi! link haskellSeparator SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
831 hi! link haskellDelimiter SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
832 hi! link haskellOperators SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
833
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
834 hi! link haskellBacktick SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
835 hi! link haskellStatement SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
836 hi! link haskellConditional SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
837
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
838 hi! link haskellLet SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
839 hi! link haskellDefault SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
840 hi! link haskellWhere SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
841 hi! link haskellBottom SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
842 hi! link haskellBlockKeywords SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
843 hi! link haskellImportKeywords SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
844 hi! link haskellDeclKeyword SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
845 hi! link haskellDeriving SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
846 hi! link haskellAssocType SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
847
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
848 hi! link haskellNumber SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
849 hi! link haskellPragma SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
850
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
851 hi! link haskellString SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
852 hi! link haskellChar SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
853
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
854 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
855 " HTML: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
856
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
857 hi! link htmlTagName SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
858 hi! link htmlTag SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
859 hi! link htmlEndTag SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
860 hi! link htmlArg SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
861
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
862 hi! link htmlScriptTag SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
863 hi! link htmlTagN SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
864 hi! link htmlSpecialTagName SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
865
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
866 hi! link javaScript Normal
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
867
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
868 call s:HL('htmlLink', s:bright_white, s:none, s:underline)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
869
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
870 hi! link htmlSpecialChar SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
871
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
872 call s:HL('htmlBold', s:bright_white, g:srcery_bg, s:bold)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
873 call s:HL('htmlBoldUnderline', s:bright_white, g:srcery_bg, s:bold . s:underline)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
874 call s:HL('htmlBoldItalic', s:bright_white, g:srcery_bg, s:bold . s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
875 call s:HL('htmlBoldUnderlineItalic', s:bright_white, g:srcery_bg, s:bold . s:underline . s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
876 call s:HL('htmlUnderline', s:bright_white, g:srcery_bg, s:underline)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
877 call s:HL('htmlUnderlineItalic', s:bright_white, g:srcery_bg, s:underline . s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
878 call s:HL('htmlItalic', s:bright_white, g:srcery_bg, s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
879
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
880 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
881 " Java: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
882
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
883 hi! link javaAnnotation SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
884 hi! link javaDocTags SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
885 hi! link javaCommentTitle vimCommentTitle
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
886 hi! link javaParen SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
887 hi! link javaParen1 SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
888 hi! link javaParen2 SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
889 hi! link javaParen3 SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
890 hi! link javaParen4 SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
891 hi! link javaParen5 SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
892 hi! link javaOperator SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
893
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
894 hi! link javaVarArg SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
895
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
896 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
897 " JavaScript: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
898
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
899 " Vanilla
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
900 " -------
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
901 hi! link javaScriptMember SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
902 hi! link javaScriptNull SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
903 hi! link javasCriptParens SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
904 hi! link javaScriptBraces SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
905 hi! link javaScriptReserved SrceryOrange
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
906
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
907 " YAJS
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
908 " ----
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
909 hi! link javascriptFuncArg Normal
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
910 hi! link javascriptDocComment SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
911 hi! link javascriptArrayMethod Function
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
912 hi! link javascriptReflectMethod Function
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
913 hi! link javascriptStringMethod Function
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
914 hi! link javascriptObjectMethod Function
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
915 hi! link javascriptObjectStaticMethod Function
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
916 hi! link javascriptObjectLabel SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
917 hi! link javascriptProp SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
918 hi! link javascriptVariable SrceryBrightBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
919 hi! link javascriptFuncKeyword SrceryBrightRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
920 hi! link javascriptFunctionMethod SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
921 hi! link javascriptReturn SrceryBrightRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
922 hi! link javascriptEndColons SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
923
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
924 " pangloss/vim-javascript
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
925 " -----------------------
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
926 hi! link jsFunction SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
927 hi! link jsImport SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
928 hi! link jsObjectSeparator SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
929 hi! link jsParens SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
930 hi! link jsFuncParens SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
931 hi! link jsNoise SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
932 hi! link jsEnvComment SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
933 hi! link jsOperator SrceryBrightCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
934
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
935 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
936 " JSON: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
937
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
938 hi! link jsonKeyword SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
939 hi! link jsonQuote SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
940 hi! link jsonBraces SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
941 hi! link jsonString SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
942
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
943 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
944 " Lisp Dialects: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
945
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
946 if g:srcery_dim_lisp_paren == 1
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
947 hi! link schemeParentheses SrceryXgray6
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
948 hi! link clojureParen SrceryXgray6
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
949 else
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
950 hi! link schemeParentheses SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
951 hi! link clojureParen SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
952 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
953
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
954 hi! link clojureKeyword SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
955 hi! link clojureCond SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
956 hi! link clojureSpecial SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
957 hi! link clojureDefine SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
958
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
959 hi! link clojureFunc SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
960 hi! link clojureRepeat SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
961 hi! link clojureCharacter SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
962 hi! link clojureStringEscape SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
963 hi! link clojureException SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
964
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
965 hi! link clojureRegexp SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
966 hi! link clojureRegexpEscape SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
967 call s:HL('clojureRegexpCharClass', s:bright_white, s:none, s:bold)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
968 hi! link clojureRegexpMod clojureRegexpCharClass
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
969 hi! link clojureRegexpQuantifier clojureRegexpCharClass
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
970
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
971 hi! link clojureAnonArg SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
972 hi! link clojureVariable SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
973 hi! link clojureMacro SrceryOrangeBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
974
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
975 hi! link clojureMeta SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
976 hi! link clojureDeref SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
977 hi! link clojureQuote SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
978 hi! link clojureUnquote SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
979
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
980 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
981 " Lua: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
982
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
983 hi! link luain srceryred
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
984 hi! link luafunction srcerycyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
985 hi! link luatable srceryyellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
986
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
987 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
988 " Make: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
989
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
990 hi! link makePreCondit SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
991 hi! link makeCommands SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
992 hi! link makeTarget SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
993
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
994 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
995 " Markdown: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
996
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
997 call s:HL('markdownBold', s:bright_white, s:none, s:bold)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
998 call s:HL('markdownItalic', s:bright_white, s:none, s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
999
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1000 hi! link markdownH1 SrceryBrightBlueBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1001 hi! link markdownH2 SrceryBrightBlueBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1002 hi! link markdownH3 SrceryBrightYellowBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1003 hi! link markdownH4 SrceryBrightYellowBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1004 hi! link markdownH5 SrceryYellowBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1005 hi! link markdownH6 SrceryYellowBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1006
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1007 hi! link markdownCode SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1008 hi! link markdownCodeBlock SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1009 hi! link markdownCodeDelimiter SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1010
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1011 hi! link markdownBlockquote SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1012 hi! link markdownListMarker SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1013 hi! link markdownOrderedListMarker SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1014 hi! link markdownRule SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1015 hi! link markdownHeadingRule SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1016
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1017 hi! link markdownUrlDelimiter SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1018 hi! link markdownLinkDelimiter SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1019 hi! link markdownLinkTextDelimiter SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1020
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1021 hi! link markdownHeadingDelimiter SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1022 hi! link markdownUrl SrceryBrightGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1023 hi! link markdownUrlTitleDelimiter SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1024
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1025 call s:HL('markdownLinkText', s:bright_white, s:none, s:underline)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1026 hi! link markdownIdDeclaration markdownLinkText
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1027
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1028 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1029 " MoonScript: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1030
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1031 hi! link moonSpecialOp SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1032 hi! link moonExtendedOp SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1033 hi! link moonFunction SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1034 hi! link moonObject SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1035
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1036 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1037 " ObjectiveC: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1038
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1039 hi! link objcTypeModifier SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1040 hi! link objcDirective SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1041
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1042 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1043 " Python: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1044
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1045 hi! link pythonBuiltin SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1046 hi! link pythonBuiltinObj SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1047 hi! link pythonBuiltinFunc SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1048 hi! link pythonFunction SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1049 hi! link pythonDecorator SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1050 hi! link pythonInclude SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1051 hi! link pythonImport SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1052 hi! link pythonRun SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1053 hi! link pythonCoding SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1054 hi! link pythonOperator SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1055 hi! link pythonExceptions SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1056 hi! link pythonBoolean SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1057 hi! link pythonDot SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1058
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1059 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1060 " Ruby: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1061
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1062 hi! link rubyStringDelimiter SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1063 hi! link rubyInterpolationDelimiter SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1064 hi! link rubyDefine Keyword
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1065
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1066 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1067 " Rust: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1068
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1069 "https://github.com/rust-lang/rust.vim/blob/master/syntax/rust.vim
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1070 hi! link rustCommentLineDoc SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1071 hi! link rustModPathSep SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1072
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1073 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1074 " Scala: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1075
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1076 " NB: scala vim syntax file is kinda horrible
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1077 hi! link scalaNameDefinition SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1078 hi! link scalaCaseFollowing SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1079 hi! link scalaCapitalWord SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1080 hi! link scalaTypeExtension SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1081
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1082 hi! link scalaKeyword SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1083 hi! link scalaKeywordModifier SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1084
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1085 hi! link scalaSpecial SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1086 hi! link scalaOperator SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1087
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1088 hi! link scalaTypeDeclaration SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1089 hi! link scalaTypeTypePostDeclaration SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1090
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1091 hi! link scalaInstanceDeclaration SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1092 hi! link scalaInterpolation SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1093
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1094 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1095 " SASS: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1096
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1097 hi! link sassClass SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1098 hi! link sassClassChar SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1099 hi! link sassVariable SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1100 hi! link sassIdChar SrceryBrightBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1101 hi! link sassId SrceryBrightBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1102
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1103 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1104 " Shellscript: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1105
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1106 call s:HL('shParenError', s:bright_white, s:bright_red)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1107 hi! link shCmdSubRegion SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1108 hi! link shArithRegion SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1109 hi! link shArithRegion SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1110 hi! link shQuote SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1111 hi! link shRedir SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1112 hi! link shOption SrceryBrightYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1113 hi! link shCommandSub SrceryBrightRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1114
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1115 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1116 " Vim: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1117
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1118 call s:HL('vimCommentTitle', s:bright_white, s:none, s:bold . s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1119
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1120 hi! link vimNotation SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1121 hi! link vimBracket SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1122 hi! link vimMapModKey SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1123 hi! link vimFuncSID SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1124 hi! link vimSetSep SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1125 hi! link vimSep SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1126 hi! link vimContinue SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1127
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1128 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1129 " XML: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1130
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1131 hi! link xmlTag SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1132 hi! link xmlEndTag SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1133 hi! link xmlTagName SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1134 hi! link xmlEqual SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1135 hi! link docbkKeyword SrceryCyanBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1136
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1137 hi! link xmlDocTypeDecl SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1138 hi! link xmlDocTypeKeyword SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1139 hi! link xmlCdataStart SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1140 hi! link xmlCdataCdata SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1141 hi! link dtdFunction SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1142 hi! link dtdTagName SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1143
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1144 hi! link xmlAttrib SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1145 hi! link xmlProcessingDelim SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1146 hi! link dtdParamEntityPunct SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1147 hi! link dtdParamEntityDPunct SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1148 hi! link xmlAttribPunct SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1149
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1150 hi! link xmlEntity SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1151 hi! link xmlEntityPunct SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1152
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1153 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1154
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1155 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1156
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1157 " Plugins: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1158
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1159 " Sneak: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1160
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1161 hi! link Sneak Search
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1162 call s:HL('SneakScope', s:none, s:hard_black)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1163 hi! link SneakLabel Search
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1164
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1165 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1166 " Rainbow Parentheses: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1167
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1168 if !exists('g:rbpt_colorpairs')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1169 let g:rbpt_colorpairs =
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1170 \ [
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1171 \ ['blue', '#2C78BF'], ['202', '#FF5F00'],
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1172 \ ['red', '#EF2F27'], ['magenta', '#E02C6D']
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1173 \ ]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1174 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1175
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1176 let g:rainbow_guifgs = [ '#E02C6D', '#EF2F27', '#D75F00', '#2C78BF']
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1177 let g:rainbow_ctermfgs = [ 'magenta', 'red', '202', 'blue' ]
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1178
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1179 if !exists('g:rainbow_conf')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1180 let g:rainbow_conf = {}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1181 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1182 if !has_key(g:rainbow_conf, 'guifgs')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1183 let g:rainbow_conf['guifgs'] = g:rainbow_guifgs
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1184 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1185 if !has_key(g:rainbow_conf, 'ctermfgs')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1186 let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1187 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1188
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1189 let g:niji_dark_colours = g:rbpt_colorpairs
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1190 let g:niji_light_colours = g:rbpt_colorpairs
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1191
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1192 "}}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1193 " GitGutter: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1194
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1195 hi! link GitGutterAdd SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1196 hi! link GitGutterChange SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1197 hi! link GitGutterDelete SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1198 hi! link GitGutterChangeDelete SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1199
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1200 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1201 " Asynchronous Lint Engine: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1202
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1203 call s:HL('ALEError', s:none, s:none, s:undercurl, s:red)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1204 call s:HL('ALEWarning', s:none, s:none, s:undercurl, s:yellow)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1205 call s:HL('ALEInfo', s:none, s:none, s:undercurl, s:blue)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1206
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1207 hi! link ALEErrorSign SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1208 hi! link ALEWarningSign SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1209 hi! link ALEInfoSign SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1210
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1211 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1212
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1213 " vim-indent-guides: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1214 call s:HL('IndentGuidesEven', s:none, s:xgray3)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1215 call s:HL('IndentGuidesOdd', s:none, s:xgray4)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1216
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1217 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1218 " vim-startify: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1219
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1220 hi! link StartifyNumber Statement
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1221 hi! link StartifyFile Normal
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1222 hi! link StartifyPath String
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1223 hi! link StartifySlash Normal
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1224 hi! link StartifyBracket Comment
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1225 hi! link StartifyHeader Type
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1226 hi! link StartifyFooter Normal
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1227 hi! link StartifySpecial Comment
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1228 hi! link StartifySection Identifier
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1229
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1230 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1231 " fzf: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1232
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1233 call s:HL('fzf1', s:magenta, s:xgray2)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1234 call s:HL('fzf2', s:bright_green, s:xgray2)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1235 call s:HL('fzf3', s:bright_white, s:xgray2)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1236
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1237 "}}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1238
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1239 " Netrw: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1240
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1241 hi! link netrwDir SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1242 hi! link netrwClassify SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1243 hi! link netrwLink SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1244 hi! link netrwSymLink SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1245 hi! link netrwExe SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1246 hi! link netrwComment SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1247 hi! link netrwList SrceryBrightBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1248 hi! link netrwTreeBar SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1249 hi! link netrwHelpCmd SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1250 hi! link netrwVersion SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1251 hi! link netrwCmdSep SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1252
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1253 "}}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1254 " coc.nvim: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1255
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1256 hi! link CocErrorSign SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1257 hi! link CocWarningSign SrceryBrightOrange
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1258 hi! link CocInfoSign SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1259 hi! link CocHintSign SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1260 hi! link CocErrorFloat SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1261 hi! link CocWarningFloat SrceryOrange
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1262 hi! link CocInfoFloat SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1263 hi! link CocHintFloat SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1264 hi! link CocDiagnosticsError SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1265 hi! link CocDiagnosticsWarning SrceryOrange
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1266 hi! link CocDiagnosticsInfo SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1267 hi! link CocDiagnosticsHint SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1268
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1269 hi! link CocSelectedText SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1270 hi! link CocCodeLens SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1271
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1272 call s:HL('CocErrorHighlight', s:none, s:none, s:undercurl, s:red)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1273 call s:HL('CocWarningHighlight', s:none, s:none, s:undercurl, s:bright_orange)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1274 call s:HL('CocInfoHighlight', s:none, s:none, s:undercurl, s:yellow)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1275 call s:HL('CocHintHighlight', s:none, s:none, s:undercurl, s:blue)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1276
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1277 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1278 " CtrlP: "{{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1279
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1280 hi! link CtrlPMatch SrceryMagenta
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1281 hi! link CtrlPLinePre SrceryBrightGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1282 call s:HL('CtrlPMode1', s:bright_white, s:xgray3)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1283 call s:HL('CtrlPMode2', s:bright_white, s:xgray5)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1284 call s:HL('CtrlPStats', s:yellow, s:xgray2)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1285
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1286 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1287 " NERDTree: "{{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1288
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1289 hi! link NERDTreeDir SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1290 hi! link NERDTreeDirSlash SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1291 hi! link NERDTreeOpenable SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1292 hi! link NERDTreeClosable SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1293 hi! link NERDTreeFile SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1294 hi! link NERDTreeExecFile SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1295 hi! link NERDTreeUp SrceryOrange
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1296 hi! link NERDTreeCWD SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1297 hi! link NERDTreeHelp SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1298 hi! link NERDTreeFlags SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1299 hi! link NERDTreeLinkFile SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1300 hi! link NERDTreeLinkTarget SrceryBrightBlack
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1301
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1302 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1303 " Telescope: "{{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1304
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1305 call s:HL('TelescopeNormal', s:white, s:none)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1306 call s:HL('TelescopeSelection', s:green, s:none, s:bold)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1307 call s:HL('TelescopeMatching', s:magenta)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1308 call s:HL('TelescopeSelectionCaret', s:magenta)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1309 call s:HL('TelescopePromptPrefix', s:bright_yellow)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1310
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1311 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1312 " nvim-cmp: "{{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1313
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1314 hi! link CmpItemAbbr Pmenu
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1315 hi! link CmpItemAbbrDeprecated Comment
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1316 hi! link CmpItemAbbrMatch Pmenu
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1317 hi! link CmpItemAbbrMatchFuzzy Pmenu
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1318 hi! link CmpItemKind Special
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1319 hi! link CmpItemMenu Pmenu
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1320
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1321 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1322 " nvim: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1323
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1324 if has('nvim')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1325 " nvim-treesitter: {{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1326
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1327 " This is deprecated in new nvim releases
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1328 call s:HL('TSStrong', s:none, s:none, s:bold)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1329 call s:HL('TSEmphasis', s:none, s:none, s:bold)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1330 call s:HL('TSUnderline', s:none, s:none, s:underline)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1331
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1332 highlight! link TSWarning SrceryOrangeBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1333 highlight! link TSDanger SrceryRedBold
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1334 highlight! link TSConstBuiltin SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1335 highlight! link TSField SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1336 highlight! link TSFuncBuiltin SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1337 highlight! link TSFuncMacro SrceryOrange
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1338 highlight! link TSFunction SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1339 call s:HL('TSNamespace', s:white, s:none, s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1340 call s:HL('TSParameter', s:cyan, s:none, s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1341 highlight! link TSProperty SrceryBrightBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1342 highlight! link TSSymbol SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1343 highlight! link TSTag SrceryBlue
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1344 highlight! link TSTagAttribute SrceryYellow
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1345 highlight! link TSVariableBuiltin SrceryCyan
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1346 highlight! link TSType SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1347 highlight! link TSDelimiter SrceryWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1348 highlight! link TSURI SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1349 highlight! link TSVariable SrceryBrightWhite
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1350
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1351 if has('nvim-0.8')
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1352 highlight! link @text.strong TSStrong
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1353 highlight! link @text.emphasis TSEmphasis
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1354 highlight! link @text.underline TSUnderline
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1355 highlight! link @text.warning TSWarning
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1356 highlight! link @text.danger TSDanger
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1357 highlight! link @constant.builtin TSConstBuiltin
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1358 highlight! link @field TSField
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1359 highlight! link @function.builtin TSFuncBuiltin
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1360 highlight! link @function.macro TSFuncMacro
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1361 highlight! link @function TSFunction
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1362 highlight! link @namespace TSNamespace
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1363 highlight! link @parameter TSParameter
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1364 highlight! link @property TSProperty
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1365 highlight! link @symbol TSSymbol
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1366 highlight! link @tag TSTag
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1367 highlight! link @tag.attribute TSTagAttribute
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1368 highlight! link @variable.builtin TSVariableBuiltin
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1369 highlight! link @type TSType
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1370 highlight! link @delimiter TSDelimiter
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1371 highlight! link @text.uri TSURI
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1372 highlight! link @variable TSVariable
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1373
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1374 call s:HL('@markup.strong', s:none, s:none, s:bold)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1375 call s:HL('@markup.italic', s:none, s:none, s:italic)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1376 call s:HL('@markup.underline', s:none, s:none, s:underline)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1377 call s:HL('@markup.strikethrough', s:none, s:none, s:strikethrough)
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1378
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1379 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1380
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1381 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1382 endif
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1383
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1384 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1385
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1386 " GitCommit: "{{{
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1387
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1388 hi! link gitcommitSelectedFile SrceryGreen
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1389 hi! link gitcommitDiscardedFile SrceryRed
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1390
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1391 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1392 " Better whitespace: {{{
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
1393
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
1394 call s:HL('ExtraWhitespace', s:none, s:red)
739
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1395
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1396 " }}}
2cf87b7ca09a Update vendored stuff
nanaya <me@nanaya.net>
parents: 726
diff changeset
1397
704
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
1398 " }}}
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
1399
1e0f578f6752 Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff changeset
1400 " vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker :