-
-
Notifications
You must be signed in to change notification settings - Fork 183
/
Copy pathdefault.vim
340 lines (288 loc) · 18.7 KB
/
default.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
" ============================================================================
" File: default.vim
" Description:
" Author: Yggdroot <[email protected]>
" Website: https://github.com/Yggdroot
" Note:
" License: Apache License, Version 2.0
" ============================================================================
" due to https://github.com/vim/vim/issues/5227,
" if aim to link to another highlight group,
" it is better to use leaderf#colorscheme#popup#link_no_reverse()
" instead of `hi link`. Because some BAD colorscheme such as solarized8_flat
" like using `reverse` attribute.
if &background ==? 'dark'
" Lf_hl_popup_inputText is the wincolor of input window
highlight def Lf_hl_popup_inputText guifg=#87ceeb guibg=#4d4d4d gui=NONE ctermfg=117 ctermbg=239 cterm=NONE
" Lf_hl_popup_window is the wincolor of content window
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_popup_window", "Normal")
" Lf_hl_popup_blank is the wincolor of statusline window
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_popup_blank", "StatusLineNC")
" nvim has a weird bug, if `hi Cursor cterm=reverse gui=reverse`
" and `hi def link Lf_hl_popup_cursor Cursor`, the bug occurs.
call leaderf#colorscheme#popup#link_cursor("Lf_hl_popup_cursor")
call leaderf#colorscheme#popup#link_two("Lf_hl_popupBorder", "Normal", "VertSplit", 1)
highlight def Lf_hl_popup_prompt guifg=#ffcd4a guibg=NONE gui=NONE ctermfg=221 ctermbg=NONE cterm=NONE
highlight def Lf_hl_popup_spin guifg=#e6e666 guibg=NONE gui=NONE ctermfg=185 ctermbg=NONE cterm=NONE
highlight def Lf_hl_popup_normalMode guifg=#333300 guibg=#c1ce96 gui=bold ctermfg=58 ctermbg=187 cterm=bold
highlight def Lf_hl_popup_inputMode guifg=#003333 guibg=#98b3a5 gui=bold ctermfg=23 ctermbg=109 cterm=bold
highlight def Lf_hl_popup_category guifg=#ecebf0 guibg=#636769 gui=NONE ctermfg=255 ctermbg=241 cterm=NONE
highlight def Lf_hl_popup_nameOnlyMode guifg=#14212b guibg=#cbb370 gui=NONE ctermfg=234 ctermbg=179 cterm=NONE
highlight def Lf_hl_popup_fullPathMode guifg=#14212b guibg=#aab3b6 gui=NONE ctermfg=234 ctermbg=249 cterm=NONE
highlight def Lf_hl_popup_fuzzyMode guifg=#14212b guibg=#aab3b6 gui=NONE ctermfg=234 ctermbg=249 cterm=NONE
highlight def Lf_hl_popup_regexMode guifg=#14212b guibg=#a0b688 gui=NONE ctermfg=234 ctermbg=108 cterm=NONE
highlight def Lf_hl_popup_cwd guifg=#f2ebc7 guibg=#6e7476 gui=NONE ctermfg=230 ctermbg=243 cterm=NONE
highlight def Lf_hl_popup_lineInfo guifg=#353129 guibg=#dce6da gui=NONE ctermfg=236 ctermbg=254 cterm=NONE
highlight def Lf_hl_popup_total guifg=#353129 guibg=#b8ccbb gui=NONE ctermfg=236 ctermbg=151 cterm=NONE
" the color of the cursorline
highlight def Lf_hl_cursorline guifg=Yellow guibg=NONE gui=NONE ctermfg=226 ctermbg=NONE cterm=NONE
" the color of matching character
highlight def Lf_hl_match guifg=#afff5f guibg=NONE gui=bold ctermfg=155 ctermbg=NONE cterm=bold
" the color of matching character in `And mode`
highlight def Lf_hl_match0 guifg=#afff5f guibg=NONE gui=bold ctermfg=155 ctermbg=NONE cterm=bold
highlight def Lf_hl_match1 guifg=#fe8019 guibg=NONE gui=bold ctermfg=208 ctermbg=NONE cterm=bold
highlight def Lf_hl_match2 guifg=#3ff5d1 guibg=NONE gui=bold ctermfg=50 ctermbg=NONE cterm=bold
highlight def Lf_hl_match3 guifg=#ff7272 guibg=NONE gui=bold ctermfg=203 ctermbg=NONE cterm=bold
highlight def Lf_hl_match4 guifg=#43b9f0 guibg=NONE gui=bold ctermfg=74 ctermbg=NONE cterm=bold
" the color of matching character in nameOnly mode when ';' is typed
highlight def Lf_hl_matchRefine gui=bold guifg=Magenta cterm=bold ctermfg=201
" the color of help in normal mode when <F1> is pressed
highlight def link Lf_hl_help Comment
highlight def link Lf_hl_helpCmd Identifier
" the color when select multiple lines
highlight def Lf_hl_selection guifg=Black guibg=#a5eb84 gui=NONE ctermfg=Black ctermbg=156 cterm=NONE
" the color of `Leaderf buffer`
highlight def link Lf_hl_bufNumber Constant
highlight def link Lf_hl_bufIndicators Statement
highlight def link Lf_hl_bufModified String
highlight def link Lf_hl_bufNomodifiable Comment
highlight def link Lf_hl_bufDirname Directory
" the color of `Leaderf tag`
highlight def link Lf_hl_tagFile Directory
highlight def link Lf_hl_tagType Type
highlight def link Lf_hl_tagKeyword Keyword
" the color of `Leaderf bufTag`
highlight def link Lf_hl_buftagKind Title
highlight def link Lf_hl_buftagScopeType Keyword
highlight def link Lf_hl_buftagScope Type
highlight def link Lf_hl_buftagDirname Directory
highlight def link Lf_hl_buftagLineNum Constant
highlight def link Lf_hl_buftagCode Comment
" the color of `Leaderf function`
highlight def link Lf_hl_funcKind Title
highlight def link Lf_hl_funcReturnType Type
highlight def link Lf_hl_funcScope Keyword
highlight def link Lf_hl_funcName Function
highlight def link Lf_hl_funcDirname Directory
highlight def link Lf_hl_funcLineNum Constant
" the color of `Leaderf line`
highlight def link Lf_hl_lineLocation Comment
" the color of `Leaderf self`
highlight def link Lf_hl_selfIndex Constant
highlight def link Lf_hl_selfDescription Comment
" the color of `Leaderf help`
highlight def link Lf_hl_helpTagfile Comment
" the color of `Leaderf rg`
highlight def link Lf_hl_rgFileName Directory
highlight def link Lf_hl_rgLineNumber Constant
" the color of line number if '-A' or '-B' or '-C' is in the options list
" of `Leaderf rg`
highlight def link Lf_hl_rgLineNumber2 Folded
" the color of column number if '--column' in g:Lf_RgConfig
highlight def link Lf_hl_rgColumnNumber Constant
highlight def Lf_hl_rgHighlight guifg=#000000 guibg=#cccc66 gui=NONE ctermfg=16 ctermbg=185 cterm=NONE
" the color of `Leaderf gtags`
highlight def link Lf_hl_gtagsFileName Directory
highlight def link Lf_hl_gtagsLineNumber Constant
highlight def Lf_hl_gtagsHighlight guifg=#000000 guibg=#cccc66 gui=NONE ctermfg=16 ctermbg=185 cterm=NONE
highlight def link Lf_hl_previewTitle Statusline
highlight def link Lf_hl_winNumber Constant
highlight def link Lf_hl_winIndicators Statement
highlight def link Lf_hl_winModified String
highlight def link Lf_hl_winNomodifiable Comment
highlight def link Lf_hl_winDirname Directory
highlight def link Lf_hl_quickfixFileName Directory
highlight def link Lf_hl_quickfixLineNumber Constant
highlight def link Lf_hl_quickfixColumnNumber Constant
highlight def link Lf_hl_loclistFileName Directory
highlight def link Lf_hl_loclistLineNumber Constant
highlight def link Lf_hl_loclistColumnNumber Constant
highlight def link Lf_hl_jumpsTitle Title
highlight def link Lf_hl_jumpsNumber Number
highlight def link Lf_hl_jumpsLineCol String
highlight def link Lf_hl_jumpsIndicator Type
highlight def Lf_hl_gitDiffModification guifg=#87afff guibg=NONE gui=NONE ctermfg=111 ctermbg=NONE cterm=NONE
highlight def Lf_hl_gitDiffAddition guifg=#a8e332 guibg=NONE gui=NONE ctermfg=148 ctermbg=NONE cterm=NONE
highlight def Lf_hl_gitDiffDeletion guifg=#ff477e guibg=NONE gui=NONE ctermfg=204 ctermbg=NONE cterm=NONE
highlight def link Lf_hl_gitHash Identifier
highlight def link Lf_hl_gitRefNames Special
highlight def link Lf_hl_gitFolder Directory
highlight def link Lf_hl_gitFolderIcon Special
highlight def link Lf_hl_gitAddIcon Lf_hl_gitDiffAddition
highlight def link Lf_hl_gitCopyIcon Number
highlight def link Lf_hl_gitDelIcon Lf_hl_gitDiffDeletion
highlight def link Lf_hl_gitModifyIcon Lf_hl_gitDiffModification
highlight def link Lf_hl_gitRenameIcon Constant
highlight def link Lf_hl_gitNumStatAdd Lf_hl_gitDiffAddition
highlight def link Lf_hl_gitNumStatDel Lf_hl_gitDiffDeletion
highlight def link Lf_hl_gitNumStatBinary Constant
highlight def link Lf_hl_gitHelp Comment
call leaderf#colorscheme#popup#link_two("Lf_hl_gitStlChangedNum", "StatusLine", "Number", 1)
highlight def link Lf_hl_gitStlFileChanged StatusLine
call leaderf#colorscheme#popup#link_two("Lf_hl_gitStlAdd", "StatusLine", "Lf_hl_gitDiffAddition", 1)
call leaderf#colorscheme#popup#link_two("Lf_hl_gitStlDel", "StatusLine", "Lf_hl_gitDiffDeletion", 1)
highlight def link Lf_hl_gitStatPath Directory
highlight def link Lf_hl_gitStatNumber Number
highlight def link Lf_hl_gitStatPlus Lf_hl_gitNumStatAdd
highlight def link Lf_hl_gitStatMinus Lf_hl_gitNumStatDel
highlight def link Lf_hl_gitGraph1 Statement
highlight def link Lf_hl_gitGraph2 String
highlight def link Lf_hl_gitGraph3 Special
highlight def link Lf_hl_gitGraph4 Lf_hl_gitGraph1
highlight def link Lf_hl_gitGraphSlash Constant
highlight def link Lf_hl_gitBlameDate Number
highlight def link Lf_hl_gitSelectedOption Tag
highlight def link Lf_hl_gitNonSelectedOption Comment
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_gitDiffAdd", "DiffAdd")
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_gitDiffDelete", "DiffDelete")
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_gitDiffChange", "DiffChange")
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_gitDiffText", "DiffText")
highlight def link Lf_hl_gitInlineBlame Comment
else
" Lf_hl_popup_inputText is the wincolor of input window
highlight def Lf_hl_popup_inputText guifg=#525252 guibg=#f4f3d7 gui=NONE ctermfg=239 ctermbg=230 cterm=NONE
" Lf_hl_popup_window is the wincolor of content window
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_popup_window", "Normal")
" Lf_hl_popup_blank is the wincolor of statusline window
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_popup_blank", "StatusLineNC")
" nvim has a weird bug, if `hi Cursor cterm=reverse gui=reverse`
" and `hi def link Lf_hl_popup_cursor Cursor`, the bug occurs.
call leaderf#colorscheme#popup#link_cursor("Lf_hl_popup_cursor")
call leaderf#colorscheme#popup#link_two("Lf_hl_popupBorder", "Normal", "VertSplit", 1)
highlight def Lf_hl_popup_prompt guifg=#c77400 guibg=NONE gui=NONE ctermfg=172 cterm=NONE
highlight def Lf_hl_popup_spin guifg=#f12d2d guibg=NONE gui=NONE ctermfg=196 cterm=NONE
highlight def Lf_hl_popup_normalMode guifg=#808000 guibg=#ccc88e gui=bold ctermfg=100 ctermbg=186 cterm=bold
highlight def Lf_hl_popup_inputMode guifg=#808000 guibg=#f0e68c gui=bold ctermfg=100 ctermbg=186 cterm=bold
highlight def Lf_hl_popup_category guifg=#4d4d4d guibg=#c7dac3 gui=NONE ctermfg=239 ctermbg=151 cterm=NONE
highlight def Lf_hl_popup_nameOnlyMode guifg=#4d4d4d guibg=#c9d473 gui=NONE ctermfg=239 ctermbg=186 cterm=NONE
highlight def Lf_hl_popup_fullPathMode guifg=#4d4d4d guibg=#dbe8cf gui=NONE ctermfg=239 ctermbg=187 cterm=NONE
highlight def Lf_hl_popup_fuzzyMode guifg=#4d4d4d guibg=#dbe8cf gui=NONE ctermfg=239 ctermbg=187 cterm=NONE
highlight def Lf_hl_popup_regexMode guifg=#4d4d4d guibg=#acbf97 gui=NONE ctermfg=239 ctermbg=144 cterm=NONE
highlight def Lf_hl_popup_cwd guifg=#595959 guibg=#e9f7e9 gui=NONE ctermfg=240 ctermbg=195 cterm=NONE
highlight def Lf_hl_popup_lineInfo guifg=#595959 guibg=#e9f7e9 gui=NONE ctermfg=240 ctermbg=195 cterm=NONE
highlight def Lf_hl_popup_total guifg=#4d4d4d guibg=#c7dac3 gui=NONE ctermfg=239 ctermbg=151 cterm=NONE
" the color of the cursorline
highlight def Lf_hl_cursorline guifg=#6927ff guibg=NONE gui=NONE ctermfg=57 cterm=NONE
" the color of matching character
highlight def Lf_hl_match guifg=#cd4545 guibg=NONE gui=bold ctermfg=167 cterm=bold
" the color of matching character in `And mode`
highlight def Lf_hl_match0 guifg=#cd4545 guibg=NONE gui=bold ctermfg=167 cterm=bold
highlight def Lf_hl_match1 guifg=#033fff guibg=NONE gui=bold ctermfg=21 cterm=bold
highlight def Lf_hl_match2 guifg=#b52bb0 guibg=NONE gui=bold ctermfg=127 cterm=bold
highlight def Lf_hl_match3 guifg=#ff7100 guibg=NONE gui=bold ctermfg=202 cterm=bold
highlight def Lf_hl_match4 guifg=#248888 guibg=NONE gui=bold ctermfg=30 cterm=bold
" the color of matching character in nameOnly mode when ';' is typed
highlight def Lf_hl_matchRefine guifg=Magenta guibg=NONE gui=bold ctermfg=201 cterm=bold
" the color of help in normal mode when <F1> is pressed
highlight def link Lf_hl_help Comment
highlight def link Lf_hl_helpCmd Identifier
" the color when select multiple lines
highlight def Lf_hl_selection guifg=#4d4d4d guibg=#a5eb84 gui=NONE ctermfg=239 ctermbg=156 cterm=NONE
" the color of `Leaderf buffer`
highlight def link Lf_hl_bufNumber Constant
highlight def link Lf_hl_bufIndicators Statement
highlight def link Lf_hl_bufModified String
highlight def link Lf_hl_bufNomodifiable Comment
highlight def link Lf_hl_bufDirname Directory
" the color of `Leaderf tag`
highlight def link Lf_hl_tagFile Directory
highlight def link Lf_hl_tagType Type
highlight def link Lf_hl_tagKeyword Keyword
" the color of `Leaderf bufTag`
highlight def link Lf_hl_buftagKind Title
highlight def link Lf_hl_buftagScopeType Keyword
highlight def link Lf_hl_buftagScope Type
highlight def link Lf_hl_buftagDirname Directory
highlight def link Lf_hl_buftagLineNum Constant
highlight def link Lf_hl_buftagCode Comment
" the color of `Leaderf function`
highlight def link Lf_hl_funcKind Title
highlight def link Lf_hl_funcReturnType Type
highlight def link Lf_hl_funcScope Keyword
highlight def link Lf_hl_funcName Function
highlight def link Lf_hl_funcDirname Directory
highlight def link Lf_hl_funcLineNum Constant
" the color of `Leaderf line`
highlight def link Lf_hl_lineLocation Comment
" the color of `Leaderf self`
highlight def link Lf_hl_selfIndex Constant
highlight def link Lf_hl_selfDescription Comment
" the color of `Leaderf help`
highlight def link Lf_hl_helpTagfile Comment
" the color of `Leaderf rg`
highlight def link Lf_hl_rgFileName Directory
highlight def link Lf_hl_rgLineNumber Constant
" the color of line number if '-A' or '-B' or '-C' is in the options list
" of `Leaderf rg`
highlight def link Lf_hl_rgLineNumber2 Folded
" the color of column number if '--column' in g:Lf_RgConfig
highlight def link Lf_hl_rgColumnNumber Constant
highlight def Lf_hl_rgHighlight guifg=#4d4d4d guibg=#cccc66 gui=NONE ctermfg=239 ctermbg=185 cterm=NONE
" the color of `Leaderf gtags`
highlight def link Lf_hl_gtagsFileName Directory
highlight def link Lf_hl_gtagsLineNumber Constant
highlight def Lf_hl_gtagsHighlight guifg=#4d4d4d guibg=#cccc66 gui=NONE ctermfg=239 ctermbg=185 cterm=NONE
highlight def link Lf_hl_previewTitle Statusline
highlight def link Lf_hl_winNumber Constant
highlight def link Lf_hl_winIndicators Statement
highlight def link Lf_hl_winModified String
highlight def link Lf_hl_winNomodifiable Comment
highlight def link Lf_hl_winDirname Directory
highlight def link Lf_hl_quickfixFileName Directory
highlight def link Lf_hl_quickfixLineNumber Constant
highlight def link Lf_hl_quickfixColumnNumber Constant
highlight def link Lf_hl_loclistFileName Directory
highlight def link Lf_hl_loclistLineNumber Constant
highlight def link Lf_hl_loclistColumnNumber Constant
highlight def link Lf_hl_jumpsTitle Title
highlight def link Lf_hl_jumpsNumber Number
highlight def link Lf_hl_jumpsLineCol String
highlight def link Lf_hl_jumpsIndicator Type
highlight def Lf_hl_gitDiffModification guifg=#5f87af guibg=NONE gui=NONE ctermfg=67 ctermbg=NONE cterm=NONE
highlight def Lf_hl_gitDiffAddition guifg=#008700 guibg=NONE gui=NONE ctermfg=28 ctermbg=NONE cterm=NONE
highlight def Lf_hl_gitDiffDeletion guifg=#df0000 guibg=NONE gui=NONE ctermfg=160 ctermbg=NONE cterm=NONE
highlight def link Lf_hl_gitHash Identifier
highlight def link Lf_hl_gitRefNames Special
highlight def link Lf_hl_gitFolder Directory
highlight def link Lf_hl_gitFolderIcon Special
highlight def link Lf_hl_gitAddIcon Lf_hl_gitDiffAddition
highlight def link Lf_hl_gitCopyIcon Number
highlight def link Lf_hl_gitDelIcon Lf_hl_gitDiffDeletion
highlight def link Lf_hl_gitModifyIcon Lf_hl_gitDiffModification
highlight def link Lf_hl_gitRenameIcon Constant
highlight def link Lf_hl_gitNumStatAdd Lf_hl_gitDiffAddition
highlight def link Lf_hl_gitNumStatDel Lf_hl_gitDiffDeletion
highlight def link Lf_hl_gitNumStatBinary Constant
highlight def link Lf_hl_gitHelp Comment
call leaderf#colorscheme#popup#link_two("Lf_hl_gitStlChangedNum", "StatusLine", "Number", 1)
highlight def link Lf_hl_gitStlFileChanged StatusLine
call leaderf#colorscheme#popup#link_two("Lf_hl_gitStlAdd", "StatusLine", "Lf_hl_gitDiffAddition", 1)
call leaderf#colorscheme#popup#link_two("Lf_hl_gitStlDel", "StatusLine", "Lf_hl_gitDiffDeletion", 1)
highlight def link Lf_hl_gitStatPath Directory
highlight def link Lf_hl_gitStatNumber Number
highlight def link Lf_hl_gitStatPlus Lf_hl_gitNumStatAdd
highlight def link Lf_hl_gitStatMinus Lf_hl_gitNumStatDel
highlight def link Lf_hl_gitGraph1 Statement
highlight def link Lf_hl_gitGraph2 String
highlight def link Lf_hl_gitGraph3 Special
highlight def link Lf_hl_gitGraph4 Lf_hl_gitGraph1
highlight def link Lf_hl_gitGraphSlash Constant
highlight def link Lf_hl_gitBlameDate Number
highlight def link Lf_hl_gitSelectedOption Tag
highlight def link Lf_hl_gitNonSelectedOption Comment
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_gitDiffAdd", "DiffAdd")
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_gitDiffDelete", "DiffDelete")
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_gitDiffChange", "DiffChange")
call leaderf#colorscheme#popup#link_no_reverse("Lf_hl_gitDiffText", "DiffText")
highlight def link Lf_hl_gitInlineBlame Comment
endif