aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnirudh Oppiliappan <x@icyphox.sh>2022-01-15 12:30:16 +0530
committerAnirudh Oppiliappan <x@icyphox.sh>2022-01-15 12:30:16 +0530
commit44dd260faad218bb05171c28e2af0c03cf73cb05 (patch)
tree0a16f355e340bc6377b7c37b3a5256ef0aef0981
parent0c24f03e03c6d88ff9d620d308a778bcbde8dc77 (diff)
downloaddotfiles-44dd260faad218bb05171c28e2af0c03cf73cb05.tar.gz
nvim: highlight groups etc.
-rw-r--r--config/nvim/colors/plain.vim41
1 files changed, 22 insertions, 19 deletions
diff --git a/config/nvim/colors/plain.vim b/config/nvim/colors/plain.vim
index c362b51..4bace2b 100644
--- a/config/nvim/colors/plain.vim
+++ b/config/nvim/colors/plain.vim
@@ -34,25 +34,6 @@ let s:light_yellow = { "gui": "#F3E430", "cterm": "3" }
34let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" } 34let s:dark_yellow = { "gui": "#A89C14", "cterm": "3" }
35 35
36if &background == "dark" 36if &background == "dark"
37 let s:bg = s:black
38 let s:bg_subtle = s:light_black
39 let s:bg_very_subtle = s:subtle_black
40 let s:norm = s:lighter_gray
41 let s:norm_subtle = s:light_gray
42 let s:purple = s:light_purple
43 let s:cyan = s:light_cyan
44 let s:green = s:light_green
45 let s:red = s:light_red
46 let s:yellow = s:light_yellow
47 let s:visual = s:subtle_black
48 let s:cursor_line = s:subtle_black
49 let s:status_line = s:lighter_black
50 let s:status_line_nc = s:subtle_black
51 let s:constant = s:light_green
52 let s:comment = s:lighter_black
53 let s:selection = s:light_purple
54 let s:warning = s:yellow
55else
56 let s:bg = s:white 37 let s:bg = s:white
57 let s:bg_subtle = s:lighter_gray 38 let s:bg_subtle = s:lighter_gray
58 let s:bg_very_subtle = s:light_gray 39 let s:bg_very_subtle = s:light_gray
@@ -71,6 +52,25 @@ else
71 let s:comment = s:light_gray 52 let s:comment = s:light_gray
72 let s:selection = s:light_yellow 53 let s:selection = s:light_yellow
73 let s:warning = s:yellow 54 let s:warning = s:yellow
55else
56 let s:bg = s:black
57 let s:bg_subtle = s:light_black
58 let s:bg_very_subtle = s:subtle_black
59 let s:norm = s:lighter_gray
60 let s:norm_subtle = s:light_gray
61 let s:purple = s:light_purple
62 let s:cyan = s:light_cyan
63 let s:green = s:light_green
64 let s:red = s:light_red
65 let s:yellow = s:light_yellow
66 let s:visual = s:subtle_black
67 let s:cursor_line = s:subtle_black
68 let s:status_line = s:lighter_black
69 let s:status_line_nc = s:subtle_black
70 let s:constant = s:light_green
71 let s:comment = s:lighter_black
72 let s:selection = s:light_purple
73 let s:warning = s:yellow
74endif 74endif
75 75
76" https://github.com/noahfrederick/vim-hemisu/ 76" https://github.com/noahfrederick/vim-hemisu/
@@ -93,6 +93,7 @@ call s:h("Noise", {"fg": s:norm_subtle})
93call s:h("Cursor", {"bg": s:green, "fg": s:norm}) 93call s:h("Cursor", {"bg": s:green, "fg": s:norm})
94call s:h("Comment", {"fg": s:comment, "cterm": "italic"}) 94call s:h("Comment", {"fg": s:comment, "cterm": "italic"})
95call s:h("Function", {"fg": s:norm, "cterm": "bold"}) 95call s:h("Function", {"fg": s:norm, "cterm": "bold"})
96call s:h("FloatWin", {"fg": s:black, "bg": s:white})
96 97
97hi! link Constant firstAccent 98hi! link Constant firstAccent
98hi! link Character Constant 99hi! link Character Constant
@@ -363,3 +364,5 @@ call s:h("cssBraces", {"bg": s:bg, "fg": s:selection})
363hi link cssTextProp Noise 364hi link cssTextProp Noise
364hi link cssTagName Normal 365hi link cssTagName Normal
365 366
367" floatwin
368hi link NormalFloat FloatWin