@@ -0,0 +1,208 @@
1+" https://hamvocke.com/blog/ansi-vim-color-scheme/
2+set background=dark
3+
4+hi clear
5+
6+let g:colors_name = 'ansi'
7+set notermguicolors
8+
9+" This color scheme relies on ANSI colors only. It automatically inherits
10+" the 16 colors of your terminal color scheme. You can change the colors of
11+" certain highlight groups by picking a different color from the following set
12+" of colors. If you sticked to the ANSI color palette conventions when setting
13+" colors in your terminal emulator, this will look pretty neat. If you used
14+" a terminal color scheme that uses a different convention (e.g. base16)
15+" colors will likely look very odd if you use this color scheme.
16+"
17+" 0: Black │ 8: Bright Black (dark gray)
18+" 1: Red │ 9: Bright Red
19+" 2: Green │ 10: Bright Green
20+" 3: Yellow │ 11: Bright Yellow
21+" 4: Blue │ 12: Bright Blue
22+" 5: Magenta │ 13: Bright Magenta
23+" 6: Cyan │ 14: Bright Cyan
24+" 7: White (gray) │ 15: Bright White
25+"
26+" Use the 'cterm' argument to make certain highlight groups appear in italic
27+" (if your terminal and font support it), bold, reverse, underlined, etc.
28+" See ':help attr-list' for possible options.
29+
30+" Editor Elements
31+hi NonText ctermfg=0
32+hi Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
33+hi Underlined cterm=underline
34+hi Bold cterm=bold
35+hi Italic cterm=italic
36+hi StatusLine ctermfg=15 ctermbg=8 cterm=NONE
37+hi StatusLineNC ctermfg=15 ctermbg=0 cterm=NONE
38+hi VertSplit ctermfg=8
39+hi TabLine ctermfg=7 ctermbg=0
40+hi TabLineFill ctermfg=0 ctermbg=NONE
41+hi TabLineSel ctermfg=0 ctermbg=11
42+hi Title ctermfg=4 cterm=bold
43+hi CursorLine ctermbg=0 ctermfg=NONE
44+hi Cursor ctermbg=15 ctermfg=0
45+hi CursorColumn ctermbg=0
46+hi LineNr ctermfg=8
47+hi CursorLineNr ctermfg=6
48+hi helpLeadBlank ctermbg=NONE ctermfg=NONE
49+hi helpNormal ctermbg=NONE ctermfg=NONE
50+hi Visual ctermbg=8 ctermfg=15 cterm=bold
51+hi VisualNOS ctermbg=8 ctermfg=15 cterm=bold
52+hi Pmenu ctermbg=0 ctermfg=15
53+hi PmenuSbar ctermbg=8 ctermfg=7
54+hi PmenuSel ctermbg=8 ctermfg=15 cterm=bold
55+hi PmenuThumb ctermbg=7 ctermfg=NONE
56+hi FoldColumn ctermfg=7
57+hi Folded ctermfg=12
58+hi WildMenu ctermbg=0 ctermfg=15 cterm=NONE
59+hi SpecialKey ctermfg=0
60+hi IncSearch ctermbg=1 ctermfg=0
61+hi CurSearch ctermbg=3 ctermfg=0
62+hi Search ctermbg=11 ctermfg=0
63+hi Directory ctermfg=4
64+hi MatchParen ctermbg=0 ctermfg=3 cterm=underline
65+hi SpellBad cterm=undercurl
66+hi SpellCap cterm=undercurl
67+hi SpellLocal cterm=undercurl
68+hi SpellRare cterm=undercurl
69+hi ColorColumn ctermbg=8
70+hi SignColumn ctermfg=7
71+hi ModeMsg ctermbg=15 ctermfg=0 cterm=bold
72+hi MoreMsg ctermfg=4
73+hi Question ctermfg=4
74+hi QuickFixLine ctermbg=0 ctermfg=14
75+hi Conceal ctermfg=8
76+hi ToolbarLine ctermbg=0 ctermfg=15
77+hi ToolbarButton ctermbg=8 ctermfg=15
78+hi debugPC ctermfg=7
79+hi debugBreakpoint ctermfg=8
80+hi ErrorMsg ctermfg=1 cterm=bold,italic
81+hi WarningMsg ctermfg=11
82+hi DiffAdd ctermbg=10 ctermfg=0
83+hi DiffChange ctermbg=12 ctermfg=0
84+hi DiffDelete ctermbg=9 ctermfg=0
85+hi DiffText ctermbg=14 ctermfg=0
86+hi diffAdded ctermfg=10
87+hi diffRemoved ctermfg=9
88+hi diffChanged ctermfg=12
89+hi diffOldFile ctermfg=11
90+hi diffNewFile ctermfg=13
91+hi diffFile ctermfg=12
92+hi diffLine ctermfg=7
93+hi diffIndexLine ctermfg=14
94+hi healthError ctermfg=1
95+hi healthSuccess ctermfg=2
96+hi healthWarning ctermfg=3
97+
98+" Syntax
99+hi Comment ctermfg=8 cterm=italic
100+hi Constant ctermfg=3
101+hi Error ctermfg=1
102+hi Identifier ctermfg=9
103+hi Function ctermfg=4
104+hi Special ctermfg=13
105+hi Statement ctermfg=5
106+hi String ctermfg=2
107+hi Operator ctermfg=6
108+hi Boolean ctermfg=3
109+hi Label ctermfg=14
110+hi Keyword ctermfg=5
111+hi Exception ctermfg=5
112+hi Conditional ctermfg=5
113+hi PreProc ctermfg=13
114+hi Include ctermfg=5
115+hi Macro ctermfg=5
116+hi StorageClass ctermfg=11
117+hi Structure ctermfg=11
118+hi Todo ctermfg=0 ctermbg=9 cterm=bold
119+hi Type ctermfg=11
120+
121+" Treesitter highlighting
122+" - allows for more precise syntax highlighting
123+" - only available for nvim >0.5
124+" - see also :help treesitter-highlight-groups
125+
126+hi @variable ctermfg=15
127+hi @variable.builtin ctermfg=1
128+hi @variable.parameter ctermfg=1
129+hi @variable.member ctermfg=1
130+hi @constant.builtin ctermfg=5
131+hi @string.regexp ctermfg=1
132+hi @string.escape ctermfg=6
133+hi @string.special.url ctermfg=4 cterm=underline
134+hi @string.special.symbol ctermfg=13
135+hi @type.builtin ctermfg=3
136+hi @property ctermfg=1
137+hi @function.builtin ctermfg=5
138+hi @constructor ctermfg=11
139+hi @keyword.coroutine ctermfg=1
140+hi @keyword.function ctermfg=5
141+hi @keyword.return ctermfg=5
142+hi @keyword.export ctermfg=14
143+hi @punctuation.bracket ctermfg=15
144+hi @comment.error ctermbg=9 ctermfg=0
145+hi @comment.warning ctermbg=11 ctermfg=0
146+hi @comment.todo ctermbg=12 ctermfg=0
147+hi @comment.note ctermbg=14 ctermfg=0
148+hi @markup ctermfg=15
149+hi @markup.strong ctermfg=15 cterm=bold
150+hi @markup.italic ctermfg=15 cterm=italic
151+hi @markup.strikethrough ctermfg=15 cterm=strikethrough
152+hi @markup.heading ctermfg=4 cterm=bold
153+hi @markup.quote ctermfg=6
154+hi @markup.math ctermfg=4
155+hi @markup.link.url ctermfg=5 cterm=underline
156+hi @markup.raw ctermfg=14
157+hi @markup.list.checked ctermfg=2
158+hi @markup.list.unchecked ctermfg=7
159+hi @tag ctermfg=5
160+hi @tag.builtin ctermfg=6
161+hi @tag.attribute ctermfg=4
162+hi @tag.delimiter ctermfg=15
163+
164+hi link @variable.parameter.builtin @variable.parameter
165+hi link @constant Constant
166+hi link @constant.macro Macro
167+hi link @module Structure
168+hi link @module.builtin Special
169+hi link @label Label
170+hi link @string String
171+hi link @string.special Special
172+hi link @character Character
173+hi link @character.special SpecialChar
174+hi link @boolean Boolean
175+hi link @number Number
176+hi link @number.float Float
177+hi link @type Type
178+hi link @type.definition Type
179+hi link @attribute Constant
180+hi link @attribute.builtin Constant
181+hi link @function Function
182+hi link @function.call Function
183+hi link @function.method Function
184+hi link @function.method.call Function
185+hi link @operator Operator
186+hi link @keyword Keyword
187+hi link @keyword.operator Operator
188+hi link @keyword.import Include
189+hi link @keyword.type Keyword
190+hi link @keyword.modifier Keyword
191+hi link @keyword.repeat Repeat
192+hi link @keyword.debug Exception
193+hi link @keyword.exception Exception
194+hi link @keyword.conditional Conditional
195+hi link @keyword.conditional.ternary Operator
196+hi link @keyword.directive PreProc
197+hi link @keyword.directive.define Define
198+hi link @punctuation.delimiter Delimiter
199+hi link @punctuation.special Special
200+hi link @comment Comment
201+hi link @comment.documentation Comment
202+hi link @markup.underline underline
203+hi link @markup.link Tag
204+hi link @markup.link.label Label
205+hi link @markup.list Special
206+hi link @diff.plus diffAdded
207+hi link @diff.minus diffRemoved
208+hi link @diff.delta diffChanged