diff options
Diffstat (limited to 'colors')
-rw-r--r-- | colors/plain.vim | 54 |
1 files changed, 44 insertions, 10 deletions
diff --git a/colors/plain.vim b/colors/plain.vim index 8077693..1f7209d 100644 --- a/colors/plain.vim +++ b/colors/plain.vim | |||
@@ -40,8 +40,8 @@ let s:blue = { "gui": "#20BBFC", "cterm": "4" } | |||
40 | let s:light_blue = { "gui": "#B6D6FD", "cterm": "4" } | 40 | let s:light_blue = { "gui": "#B6D6FD", "cterm": "4" } |
41 | let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } | 41 | let s:dark_cyan = { "gui": "#20A5BA", "cterm": "6" } |
42 | let s:light_cyan = { "gui": "#4FB8CC", "cterm": "6" } | 42 | let s:light_cyan = { "gui": "#4FB8CC", "cterm": "6" } |
43 | let s:dark_green = { "gui": "#10A778", "cterm": "2" } | 43 | let s:dark_green = { "gui": "#10A778", "cterm": "6" } |
44 | let s:light_green = { "gui": "#5FD7A7", "cterm": "2" } | 44 | let s:light_green = { "gui": "#5FD7A7", "cterm": "6" } |
45 | let s:dark_purple = { "gui": "#523C79", "cterm": "5" } | 45 | let s:dark_purple = { "gui": "#523C79", "cterm": "5" } |
46 | let s:light_purple = { "gui": "#6855DE", "cterm": "5" } | 46 | let s:light_purple = { "gui": "#6855DE", "cterm": "5" } |
47 | let s:light_yellow = { "gui": "#F3E430", "cterm": "3" } | 47 | let s:light_yellow = { "gui": "#F3E430", "cterm": "3" } |
@@ -99,7 +99,7 @@ function! s:h(group, style) | |||
99 | \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") | 99 | \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE") |
100 | endfunction | 100 | endfunction |
101 | 101 | ||
102 | call s:h("Normal", {"bg": s:bg, "fg": s:norm}) | 102 | call s:h("Normal", {"bg": s:bg, "fg": s:norm,}) |
103 | call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) | 103 | call s:h("Noise", {"bg": s:bg, "fg": s:norm_subtle}) |
104 | call s:h("Cursor", {"bg": s:green, "fg": s:norm}) | 104 | call s:h("Cursor", {"bg": s:green, "fg": s:norm}) |
105 | call s:h("Comment", {"fg": s:comment, "cterm": "italic"}) | 105 | call s:h("Comment", {"fg": s:comment, "cterm": "italic"}) |
@@ -150,7 +150,7 @@ hi! link Conceal NonText | |||
150 | call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) | 150 | call s:h("Underlined", {"fg": s:norm, "gui": "underline", "cterm": "underline"}) |
151 | call s:h("Ignore", {"fg": s:bg}) | 151 | call s:h("Ignore", {"fg": s:bg}) |
152 | call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"}) | 152 | call s:h("Error", {"fg": s:red, "bg": s:bg, "cterm": "bold"}) |
153 | call s:h("Todo", {"fg": s:actual_white, "bg": s:pink, "gui": "bold", "cterm": "bold"}) | 153 | call s:h("Todo", {"fg": s:actual_white, "bg": s:black, "gui": "bold", "cterm": "bold"}) |
154 | call s:h("SpecialKey", {"fg": s:subtle_black}) | 154 | call s:h("SpecialKey", {"fg": s:subtle_black}) |
155 | call s:h("NonText", {"fg": s:bg_very_subtle}) | 155 | call s:h("NonText", {"fg": s:bg_very_subtle}) |
156 | call s:h("Directory", {"fg": s:dark_green}) | 156 | call s:h("Directory", {"fg": s:dark_green}) |
@@ -159,7 +159,7 @@ call s:h("IncSearch", {"bg": s:selection, "fg": s:black}) | |||
159 | call s:h("Search", {"bg": s:selection, "fg": s:black}) | 159 | call s:h("Search", {"bg": s:selection, "fg": s:black}) |
160 | call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) | 160 | call s:h("MoreMsg", {"fg": s:medium_gray, "cterm": "bold", "gui": "bold"}) |
161 | hi! link ModeMsg MoreMsg | 161 | hi! link ModeMsg MoreMsg |
162 | call s:h("LineNr", {"fg": s:light_black}) | 162 | call s:h("LineNr", {"fg": s:medium_gray}) |
163 | call s:h("CursorLineNr", {"fg": s:green, "bg": s:bg_very_subtle}) | 163 | call s:h("CursorLineNr", {"fg": s:green, "bg": s:bg_very_subtle}) |
164 | call s:h("Question", {"fg": s:red}) | 164 | call s:h("Question", {"fg": s:red}) |
165 | call s:h("VertSplit", {"bg": s:bg, "fg": s:bg_very_subtle}) | 165 | call s:h("VertSplit", {"bg": s:bg, "fg": s:bg_very_subtle}) |
@@ -174,7 +174,7 @@ call s:h("DiffAdd", {"fg": s:green}) | |||
174 | call s:h("DiffDelete", {"fg": s:red}) | 174 | call s:h("DiffDelete", {"fg": s:red}) |
175 | call s:h("DiffChange", {"fg": s:dark_yellow}) | 175 | call s:h("DiffChange", {"fg": s:dark_yellow}) |
176 | call s:h("DiffText", {"fg": s:dark_green}) | 176 | call s:h("DiffText", {"fg": s:dark_green}) |
177 | call s:h("SignColumn", {"fg": s:light_green}) | 177 | call s:h("SignColumn", {"fg": s:medium_gray}) |
178 | 178 | ||
179 | if has("gui_running") | 179 | if has("gui_running") |
180 | call s:h("SpellBad", {"gui": "underline", "sp": s:red}) | 180 | call s:h("SpellBad", {"gui": "underline", "sp": s:red}) |
@@ -195,7 +195,7 @@ hi link helpHyperTextJump String | |||
195 | """ StatusLine | 195 | """ StatusLine |
196 | 196 | ||
197 | call s:h("StatusLine", {"bg": s:bg, "fg": s:status_line}) | 197 | call s:h("StatusLine", {"bg": s:bg, "fg": s:status_line}) |
198 | call s:h("StatusLineNC", {"cterm": "underline", "bg": s:bg, "fg": s:status_line_nc}) | 198 | call s:h("StatusLineNC", {"bg": s:bg, "fg": s:status_line_nc}) |
199 | 199 | ||
200 | " Those are not standard but are useful to emphasis different parts of the | 200 | " Those are not standard but are useful to emphasis different parts of the |
201 | " status line. | 201 | " status line. |
@@ -224,6 +224,20 @@ call s:h("htmlH4", {"bg": s:bg, "fg": s:norm}) | |||
224 | call s:h("htmlH5", {"bg": s:bg, "fg": s:norm}) | 224 | call s:h("htmlH5", {"bg": s:bg, "fg": s:norm}) |
225 | call s:h("htmlH6", {"bg": s:bg, "fg": s:norm}) | 225 | call s:h("htmlH6", {"bg": s:bg, "fg": s:norm}) |
226 | 226 | ||
227 | call s:h("htmlBold", {"bg": s:bg, "fg": s:norm}) | ||
228 | call s:h("htmlItalic", {"bg": s:bg, "fg": s:norm}) | ||
229 | call s:h("htmlEndTag", {"bg": s:bg, "fg": s:norm}) | ||
230 | call s:h("htmlTag", {"bg": s:bg, "fg": s:norm}) | ||
231 | call s:h("htmlTagName", {"bg": s:bg, "fg": s:norm}) | ||
232 | call s:h("htmlArg", {"bg": s:bg, "fg": s:norm}) | ||
233 | call s:h("htmlError", {"bg": s:bg, "fg": s:red}) | ||
234 | |||
235 | " JavaScript highlighting | ||
236 | " | ||
237 | call s:h("javaScript", {"bg": s:bg, "fg": s:norm}) | ||
238 | call s:h("javaScriptBraces", {"bg": s:bg, "fg": s:norm}) | ||
239 | call s:h("javaScriptNumber", {"bg": s:bg, "fg": s:green}) | ||
240 | |||
227 | hi link diffRemoved DiffDelete | 241 | hi link diffRemoved DiffDelete |
228 | hi link diffAdded DiffAdd | 242 | hi link diffAdded DiffAdd |
229 | 243 | ||
@@ -238,10 +252,27 @@ hi link GitGutterChangeDelete LineNr | |||
238 | 252 | ||
239 | hi link jsFlowTypeKeyword Statement | 253 | hi link jsFlowTypeKeyword Statement |
240 | hi link jsFlowImportType Statement | 254 | hi link jsFlowImportType Statement |
241 | hi link jsFunction Statement | 255 | hi link jsFunction Function |
242 | hi link jsGlobalObjects Normal | 256 | hi link jsGlobalObjects Noise |
243 | hi link jsGlobalNodeObjects Normal | 257 | hi link jsGlobalNodeObjects Normal |
244 | hi link jsArrowFunction Noise | 258 | hi link jsSwitchCase Constant |
259 | |||
260 | call s:h("jsSpreadOperator ", {"bg": s:bg, "fg": s:selection}) | ||
261 | hi link jsReturn jsSpreadOperator | ||
262 | hi link jsExport jsSpreadOperator | ||
263 | |||
264 | call s:h("rustModPath ", {"bg": s:bg, "fg": s:lightest_gray}) | ||
265 | hi link rustMacro jsSpreadOperator | ||
266 | hi link rustKeyword Noise | ||
267 | hi link rustDerive jsSpreadOperator | ||
268 | hi link rustDeriveTrait jsSpreadOperator | ||
269 | hi link rustAttribute jsSpreadOperator | ||
270 | hi link rustLifetime jsSpreadOperator | ||
271 | |||
272 | hi link shCommandSub jsSpreadOperator | ||
273 | |||
274 | hi link cFormat jsSpreadOperator | ||
275 | |||
245 | hi link StorageClass Statement | 276 | hi link StorageClass Statement |
246 | 277 | ||
247 | call s:h("xmlTag", {"bg": s:bg, "fg": s:constant}) | 278 | call s:h("xmlTag", {"bg": s:bg, "fg": s:constant}) |
@@ -261,3 +292,6 @@ hi link markdownCodeBlock Constant | |||
261 | hi link markdownCodeDelimiter Constant | 292 | hi link markdownCodeDelimiter Constant |
262 | hi link markdownHeadingDelimiter Constant | 293 | hi link markdownHeadingDelimiter Constant |
263 | 294 | ||
295 | call s:h("cssBraces", {"bg": s:bg, "fg": s:selection}) | ||
296 | hi link cssTextProp Noise | ||
297 | hi link cssTagName Normal | ||