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