comparison vendor/vim-colors/codedark.vim @ 688:17cacf387f7c

Update vendor ...also update scripts to support syntax subdirectories
author nanaya <me@nanaya.pro>
date Fri, 21 Oct 2022 20:17:06 +0900
parents 6cdd7d26260d
children 1e0f578f6752
comparison
equal deleted inserted replaced
687:ae7f2fb75cdf 688:17cacf387f7c
63 endif 63 endif
64 64
65 " General appearance colors: 65 " General appearance colors:
66 " (some of them may be unused) 66 " (some of them may be unused)
67 67
68 " Transparent background
69 if !exists("g:codedark_transparent")
70 let g:codedark_transparent=0
71 endif
72
68 let s:cdNone = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'} 73 let s:cdNone = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'}
69 let s:cdFront = {'gui': '#D4D4D4', 'cterm': s:cterm05, 'cterm256': '188'} 74 let s:cdFront = {'gui': '#D4D4D4', 'cterm': s:cterm05, 'cterm256': '188'}
70 let s:cdBack = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} 75 let s:cdBack = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'}
76 if g:codedark_transparent | let s:cdBack = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'} | endif
71 77
72 let s:cdTabCurrent = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} 78 let s:cdTabCurrent = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'}
73 let s:cdTabOther = {'gui': '#2D2D2D', 'cterm': s:cterm01, 'cterm256': '236'} 79 let s:cdTabOther = {'gui': '#2D2D2D', 'cterm': s:cterm01, 'cterm256': '236'}
74 let s:cdTabOutside = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} 80 let s:cdTabOutside = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'}
75 81
95 let s:cdDiffRedDark = {'gui': '#4B1818', 'cterm': s:cterm08, 'cterm256': '52'} 101 let s:cdDiffRedDark = {'gui': '#4B1818', 'cterm': s:cterm08, 'cterm256': '52'}
96 let s:cdDiffRedLight = {'gui': '#6F1313', 'cterm': s:cterm08, 'cterm256': '52'} 102 let s:cdDiffRedLight = {'gui': '#6F1313', 'cterm': s:cterm08, 'cterm256': '52'}
97 let s:cdDiffRedLightLight = {'gui': '#FB0101', 'cterm': s:cterm08, 'cterm256': '09'} 103 let s:cdDiffRedLightLight = {'gui': '#FB0101', 'cterm': s:cterm08, 'cterm256': '09'}
98 let s:cdDiffGreenDark = {'gui': '#373D29', 'cterm': s:cterm0B, 'cterm256': '237'} 104 let s:cdDiffGreenDark = {'gui': '#373D29', 'cterm': s:cterm0B, 'cterm256': '237'}
99 let s:cdDiffGreenLight = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} 105 let s:cdDiffGreenLight = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'}
106 let s:cdDiffBlueLight = {'gui': '#87d7ff', 'cterm': s:cterm0C, 'cterm256': '117'}
107 let s:cdDiffBlue = {'gui': '#005f87', 'cterm': s:cterm0D, 'cterm256': '24'}
100 108
101 let s:cdSearchCurrent = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} 109 let s:cdSearchCurrent = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'}
102 let s:cdSearch = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} 110 let s:cdSearch = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'}
103 111
104 " Syntax colors: 112 " Syntax colors:
137 call <sid>hi('Normal', s:cdFront, s:cdBack, 'none', {}) 145 call <sid>hi('Normal', s:cdFront, s:cdBack, 'none', {})
138 call <sid>hi('ColorColumn', {}, s:cdCursorDarkDark, 'none', {}) 146 call <sid>hi('ColorColumn', {}, s:cdCursorDarkDark, 'none', {})
139 call <sid>hi('Cursor', s:cdCursorDark, s:cdCursorLight, 'none', {}) 147 call <sid>hi('Cursor', s:cdCursorDark, s:cdCursorLight, 'none', {})
140 call <sid>hi('CursorLine', {}, s:cdCursorDarkDark, 'none', {}) 148 call <sid>hi('CursorLine', {}, s:cdCursorDarkDark, 'none', {})
141 call <sid>hi('CursorColumn', {}, s:cdCursorDarkDark, 'none', {}) 149 call <sid>hi('CursorColumn', {}, s:cdCursorDarkDark, 'none', {})
142 call <sid>hi('Directory', s:cdBlue, s:cdBack, 'none', {}) 150 call <sid>hi('Directory', s:cdBlue, s:cdNone, 'none', {})
143 call <sid>hi('DiffAdd', {}, s:cdDiffGreenLight, 'none', {}) 151 call <sid>hi('DiffAdd', s:cdFront, s:cdDiffGreenLight, 'none', {})
144 call <sid>hi('DiffChange', {}, s:cdDiffRedDark, 'none', {}) 152 call <sid>hi('DiffChange', s:cdFront, s:cdDiffBlue, 'none', {})
145 call <sid>hi('DiffDelete', {}, s:cdDiffRedLight, 'none', {}) 153 call <sid>hi('DiffDelete', s:cdFront, s:cdDiffRedLight, 'none', {})
146 call <sid>hi('DiffText', {}, s:cdDiffRedLight, 'none', {}) 154 call <sid>hi('DiffText', s:cdBack, s:cdDiffBlueLight, 'none', {})
147 call <sid>hi('EndOfBuffer', s:cdLineNumber, s:cdBack, 'none', {}) 155 call <sid>hi('EndOfBuffer', s:cdLineNumber, s:cdBack, 'none', {})
148 call <sid>hi('ErrorMsg', s:cdRed, s:cdBack, 'none', {}) 156 call <sid>hi('ErrorMsg', s:cdRed, s:cdBack, 'none', {})
149 call <sid>hi('VertSplit', s:cdSplitDark, s:cdBack, 'none', {}) 157 call <sid>hi('VertSplit', s:cdSplitDark, s:cdBack, 'none', {})
150 call <sid>hi('Folded', s:cdLeftLight, s:cdLeftDark, 'underline', {}) 158 call <sid>hi('Folded', s:cdLeftLight, s:cdLeftDark, 'underline', {})
151 call <sid>hi('FoldColumn', s:cdLineNumber, s:cdBack, 'none', {}) 159 call <sid>hi('FoldColumn', s:cdLineNumber, s:cdBack, 'none', {})
154 call <sid>hi('LineNr', s:cdLineNumber, s:cdBack, 'none', {}) 162 call <sid>hi('LineNr', s:cdLineNumber, s:cdBack, 'none', {})
155 call <sid>hi('CursorLineNr', s:cdPopupFront, s:cdBack, 'none', {}) 163 call <sid>hi('CursorLineNr', s:cdPopupFront, s:cdBack, 'none', {})
156 call <sid>hi('MatchParen', s:cdNone, s:cdCursorDark, 'none', {}) 164 call <sid>hi('MatchParen', s:cdNone, s:cdCursorDark, 'none', {})
157 call <sid>hi('ModeMsg', s:cdFront, s:cdLeftDark, 'none', {}) 165 call <sid>hi('ModeMsg', s:cdFront, s:cdLeftDark, 'none', {})
158 call <sid>hi('MoreMsg', s:cdFront, s:cdLeftDark, 'none', {}) 166 call <sid>hi('MoreMsg', s:cdFront, s:cdLeftDark, 'none', {})
159 call <sid>hi('NonText', s:cdLineNumber, s:cdBack, 'none', {}) 167 call <sid>hi('NonText', s:cdLineNumber, s:cdNone, 'none', {})
160 call <sid>hi('Pmenu', s:cdPopupFront, s:cdPopupBack, 'none', {}) 168 call <sid>hi('Pmenu', s:cdPopupFront, s:cdPopupBack, 'none', {})
161 call <sid>hi('PmenuSel', s:cdPopupFront, s:cdPopupHighlightBlue, 'none', {}) 169 call <sid>hi('PmenuSel', s:cdPopupFront, s:cdPopupHighlightBlue, 'none', {})
162 call <sid>hi('PmenuSbar', {}, s:cdPopupHighlightGray, 'none', {}) 170 call <sid>hi('PmenuSbar', {}, s:cdPopupHighlightGray, 'none', {})
163 call <sid>hi('PmenuThumb', {}, s:cdPopupFront, 'none', {}) 171 call <sid>hi('PmenuThumb', {}, s:cdPopupFront, 'none', {})
164 call <sid>hi('Question', s:cdBlue, s:cdBack, 'none', {}) 172 call <sid>hi('Question', s:cdBlue, s:cdBack, 'none', {})
172 call <sid>hi('Title', s:cdNone, s:cdNone, 'bold', {}) 180 call <sid>hi('Title', s:cdNone, s:cdNone, 'bold', {})
173 call <sid>hi('Visual', s:cdNone, s:cdSelection, 'none', {}) 181 call <sid>hi('Visual', s:cdNone, s:cdSelection, 'none', {})
174 call <sid>hi('VisualNOS', s:cdNone, s:cdSelection, 'none', {}) 182 call <sid>hi('VisualNOS', s:cdNone, s:cdSelection, 'none', {})
175 call <sid>hi('WarningMsg', s:cdOrange, s:cdBack, 'none', {}) 183 call <sid>hi('WarningMsg', s:cdOrange, s:cdBack, 'none', {})
176 call <sid>hi('WildMenu', s:cdNone, s:cdSelection, 'none', {}) 184 call <sid>hi('WildMenu', s:cdNone, s:cdSelection, 'none', {})
185 call <sid>hi('netrwMarkFile', s:cdFront, s:cdSelection, 'none', {})
177 186
178 " Legacy groups for official git.vim and diff.vim syntax 187 " Legacy groups for official git.vim and diff.vim syntax
179 hi! link diffAdded DiffAdd 188 hi! link diffAdded DiffAdd
180 hi! link diffChanged DiffChange 189 hi! link diffChanged DiffChange
181 hi! link diffRemoved DiffDelete 190 hi! link diffRemoved DiffDelete
219 call <sid>hi('Debug', s:cdFront, {}, 'none', {}) 228 call <sid>hi('Debug', s:cdFront, {}, 'none', {})
220 229
221 call <sid>hi('Underlined', s:cdNone, {}, 'underline', {}) 230 call <sid>hi('Underlined', s:cdNone, {}, 'underline', {})
222 call <sid>hi("Conceal", s:cdFront, s:cdBack, 'none', {}) 231 call <sid>hi("Conceal", s:cdFront, s:cdBack, 'none', {})
223 232
224 call <sid>hi('Ignore', s:cdFront, {}, 'none', {}) 233 call <sid>hi('Ignore', s:cdBack, {}, 'none', {})
225 234
226 call <sid>hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed) 235 call <sid>hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed)
227 236
228 call <sid>hi('Todo', s:cdNone, s:cdLeftMid, 'none', {}) 237 call <sid>hi('Todo', s:cdNone, s:cdLeftMid, 'none', {})
229 238
289 " Tags 298 " Tags
290 call <sid>hi('TSTag', s:cdBlue, {}, 'none', {}) 299 call <sid>hi('TSTag', s:cdBlue, {}, 'none', {})
291 call <sid>hi('TSTagDelimiter', s:cdGray, {}, 'none', {}) 300 call <sid>hi('TSTagDelimiter', s:cdGray, {}, 'none', {})
292 301
293 " Markdown: 302 " Markdown:
303 call <sid>hi('markdownH1', s:cdBlue, {}, 'bold', {})
304 call <sid>hi('markdownH2', s:cdBlue, {}, 'bold', {})
305 call <sid>hi('markdownH3', s:cdBlue, {}, 'bold', {})
306 call <sid>hi('markdownH4', s:cdBlue, {}, 'bold', {})
307 call <sid>hi('markdownH5', s:cdBlue, {}, 'bold', {})
308 call <sid>hi('markdownH6', s:cdBlue, {}, 'bold', {})
294 call <sid>hi('markdownBold', s:cdBlue, {}, 'bold', {}) 309 call <sid>hi('markdownBold', s:cdBlue, {}, 'bold', {})
295 call <sid>hi('markdownCode', s:cdOrange, {}, 'none', {}) 310 call <sid>hi('markdownCode', s:cdOrange, {}, 'none', {})
296 call <sid>hi('markdownRule', s:cdBlue, {}, 'bold', {}) 311 call <sid>hi('markdownRule', s:cdBlue, {}, 'bold', {})
297 call <sid>hi('markdownCodeDelimiter', s:cdOrange, {}, 'none', {}) 312 call <sid>hi('markdownCodeDelimiter', s:cdOrange, {}, 'none', {})
298 call <sid>hi('markdownHeadingDelimiter', s:cdBlue, {}, 'none', {}) 313 call <sid>hi('markdownHeadingDelimiter', s:cdBlue, {}, 'none', {})