2020-02-23 14:09:42 +00:00
|
|
|
" Vim color file
|
|
|
|
"
|
|
|
|
" Author: Liu-Cheng Xu
|
|
|
|
" URL: https://github.com/liuchengxu/space-vim-dark
|
|
|
|
"
|
|
|
|
" Note: Inspired by spacemacs-dark theme
|
|
|
|
|
|
|
|
hi clear
|
|
|
|
|
|
|
|
if v:version > 580
|
|
|
|
" no guarantees for version 5.8 and below, but this makes it stop
|
|
|
|
" complaining
|
|
|
|
hi clear
|
|
|
|
if exists('g:syntax_on')
|
|
|
|
syntax reset
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
let g:colors_name='space-vim-dark'
|
|
|
|
|
|
|
|
" refer to http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
|
|
|
|
let s:color256 = {
|
|
|
|
\ 0 : '#000000', 1 : '#800000', 2 : '#008000', 3 : '#808000', 4 : '#000080', 5 : '#800080', 6 : '#008080' , 7 : '#c0c0c0',
|
|
|
|
\ 8 : '#808080', 9 : '#ff0000', 10 : '#00ff00', 11 : '#ffff00', 12 : '#0000ff', 13 : '#ff00ff', 14 : '#00ffff', 15 : '#ffffff',
|
|
|
|
\ 16 : '#000000', 17 : '#00005f', 18 : '#000087', 19 : '#0000af', 20 : '#0000d7', 21 : '#0000ff',
|
|
|
|
\ 22 : '#005f00', 23 : '#005f5f', 24 : '#005f87', 25 : '#005faf', 26 : '#005fd7', 27 : '#005fff',
|
|
|
|
\ 28 : '#008700', 29 : '#00875f', 30 : '#008787', 31 : '#0087af', 32 : '#0087d7', 33 : '#0087ff',
|
|
|
|
\ 34 : '#00af00', 35 : '#00af5f', 36 : '#00af87', 37 : '#00afaf', 38 : '#00afd7', 39 : '#00afff',
|
|
|
|
\ 40 : '#00d700', 41 : '#00d75f', 42 : '#00d787', 43 : '#00d7af', 44 : '#00d7d7', 45 : '#00d7ff',
|
|
|
|
\ 46 : '#00ff00', 47 : '#00ff5f', 48 : '#00ff87', 49 : '#00ffaf', 50 : '#00ffd7', 51 : '#00ffff',
|
|
|
|
\ 52 : '#5f0000', 53 : '#5f005f', 54 : '#5f0087', 55 : '#5f00af', 56 : '#5f00d7', 57 : '#5f00ff',
|
|
|
|
\ 58 : '#5f5f00', 59 : '#5f5f5f', 60 : '#5f5f87', 61 : '#5f5faf', 62 : '#5f5fd7', 63 : '#5f5fff',
|
|
|
|
\ 64 : '#5f8700', 65 : '#5f875f', 66 : '#5f8787', 67 : '#5f87af', 68 : '#5f87d7', 69 : '#5f87ff',
|
|
|
|
\ 70 : '#5faf00', 71 : '#5faf5f', 72 : '#5faf87', 73 : '#5fafaf', 74 : '#5fafd7', 75 : '#5fafff',
|
|
|
|
\ 76 : '#5fd700', 77 : '#5fd75f', 78 : '#5fd787', 79 : '#5fd7af', 80 : '#5fd7d7', 81 : '#5fd7ff',
|
|
|
|
\ 82 : '#5fff00', 83 : '#5fff5f', 84 : '#5fff87', 85 : '#5fffaf', 86 : '#5fffd7', 87 : '#5fffff',
|
|
|
|
\ 88 : '#870000', 89 : '#87005f', 90 : '#870087', 91 : '#8700af', 92 : '#8700d7', 93 : '#8700ff',
|
|
|
|
\ 94 : '#875f00', 95 : '#875f5f', 96 : '#875f87', 97 : '#875faf', 98 : '#875fd7', 99 : '#875fff',
|
|
|
|
\ 100 : '#878700', 101 : '#87875f', 102 : '#878787', 103 : '#8787af', 104 : '#8787d7', 105 : '#8787ff',
|
|
|
|
\ 106 : '#87af00', 107 : '#87af5f', 108 : '#87af87', 109 : '#87afaf', 110 : '#87afd7', 111 : '#87afff',
|
|
|
|
\ 112 : '#87d700', 113 : '#87d75f', 114 : '#87d787', 115 : '#87d7af', 116 : '#87d7d7', 117 : '#87d7ff',
|
|
|
|
\ 118 : '#87ff00', 119 : '#87ff5f', 120 : '#87ff87', 121 : '#87ffaf', 122 : '#87ffd7', 123 : '#87ffff',
|
|
|
|
\ 124 : '#af0000', 125 : '#af005f', 126 : '#af0087', 127 : '#af00af', 128 : '#af00d7', 129 : '#af00ff',
|
|
|
|
\ 130 : '#af5f00', 131 : '#af5f5f', 132 : '#af5f87', 133 : '#af5faf', 134 : '#af5fd7', 135 : '#af5fff',
|
|
|
|
\ 136 : '#af8700', 137 : '#af875f', 138 : '#af8787', 139 : '#af87af', 140 : '#af87d7', 141 : '#af87ff',
|
|
|
|
\ 142 : '#afaf00', 143 : '#afaf5f', 144 : '#afaf87', 145 : '#afafaf', 146 : '#afafd7', 147 : '#afafff',
|
|
|
|
\ 148 : '#afd700', 149 : '#afd75f', 150 : '#afd787', 151 : '#afd7af', 152 : '#afd7d7', 153 : '#afd7ff',
|
|
|
|
\ 154 : '#afff00', 155 : '#afff5f', 156 : '#afff87', 157 : '#afffaf', 158 : '#afffd7', 159 : '#afffff',
|
|
|
|
\ 160 : '#d70000', 161 : '#d7005f', 162 : '#d70087', 163 : '#d700af', 164 : '#d700d7', 165 : '#d700ff',
|
|
|
|
\ 166 : '#d75f00', 167 : '#d75f5f', 168 : '#d75f87', 169 : '#d75faf', 170 : '#d75fd7', 171 : '#d75fff',
|
|
|
|
\ 172 : '#d78700', 173 : '#d7875f', 174 : '#d78787', 175 : '#d787af', 176 : '#d787d7', 177 : '#d787ff',
|
|
|
|
\ 178 : '#d7af00', 179 : '#d7af5f', 180 : '#d7af87', 181 : '#d7afaf', 182 : '#d7afd7', 183 : '#d7afff',
|
|
|
|
\ 184 : '#d7d700', 185 : '#d7d75f', 186 : '#d7d787', 187 : '#d7d7af', 188 : '#d7d7d7', 189 : '#d7d7ff',
|
|
|
|
\ 190 : '#d7ff00', 191 : '#d7ff5f', 192 : '#d7ff87', 193 : '#d7ffaf', 194 : '#d7ffd7', 195 : '#d7ffff',
|
|
|
|
\ 196 : '#ff0000', 197 : '#ff005f', 198 : '#ff0087', 199 : '#ff00af', 200 : '#ff00d7', 201 : '#ff00ff',
|
|
|
|
\ 202 : '#ff5f00', 203 : '#ff5f5f', 204 : '#ff5f87', 205 : '#ff5faf', 206 : '#ff5fd7', 207 : '#ff5fff',
|
|
|
|
\ 208 : '#ff8700', 209 : '#ff875f', 210 : '#ff8787', 211 : '#ff87af', 212 : '#ff87d7', 213 : '#ff87ff',
|
|
|
|
\ 214 : '#ffaf00', 215 : '#ffaf5f', 216 : '#ffaf87', 217 : '#ffafaf', 218 : '#ffafd7', 219 : '#ffafff',
|
|
|
|
\ 220 : '#ffd700', 221 : '#ffd75f', 222 : '#ffd787', 223 : '#ffd7af', 224 : '#ffd7d7', 225 : '#ffd7ff',
|
|
|
|
\ 226 : '#ffff00', 227 : '#ffff5f', 228 : '#ffff87', 229 : '#ffffaf', 230 : '#ffffd7', 231 : '#ffffff',
|
|
|
|
\
|
|
|
|
\ 232 : '#080808', 233 : '#121212', 234 : '#1c1c1c', 235 : '#262626', 236 : '#303030', 237 : '#3a3a3a',
|
|
|
|
\ 238 : '#444444', 239 : '#4e4e4e', 240 : '#585858', 241 : '#606060', 242 : '#666666', 243 : '#767676',
|
|
|
|
\ 244 : '#808080', 245 : '#8a8a8a', 246 : '#949494', 247 : '#9e9e9e', 248 : '#a8a8a8', 249 : '#b2b2b2',
|
|
|
|
\ 250 : '#bcbcbc', 251 : '#c6c6c6', 252 : '#d0d0d0', 253 : '#dadada', 254 : '#e4e4e4', 255 : '#eeeeee',
|
|
|
|
\ }
|
|
|
|
|
|
|
|
" ========|===========
|
|
|
|
" Red | 160 168
|
|
|
|
" Blue | 67 68 111
|
|
|
|
" Yellow | 114 179
|
|
|
|
" Orange | 173 178
|
|
|
|
" Purple | 140
|
|
|
|
" Magenta | 128
|
|
|
|
" ========|===========
|
|
|
|
|
|
|
|
let s:colors = {
|
|
|
|
\ 16: '#292b2e', 24: '#3C8380', 28: '#c269fe', 30: '#2aa1ae', 36: '#20af81', 40: '#00ff00',
|
|
|
|
\ 59: '#FF73B9', 68: '#4f97d7', 75: '#FF62B0', 76: '#86dc2f', 81: '#f9bb00', 88: '#330033',
|
|
|
|
\ 104: '#df90ff', 114: '#67b11d', 128: '#e76a49', 135: '#B7B7FF', 136: '#dc752f', 139: '#d698fe',
|
|
|
|
\ 140: '#b888e2', 141: '#9a9aba', 151: '#74BAAC', 160: '#e0211d', 161: '#E469FE', 167: '#ce537a',
|
2021-11-28 12:18:39 +00:00
|
|
|
\ 168: '#ce537a', 169: '#bc6ec5', 170: '#bc6ec5', 171: '#6094DB', 173: '#e18254', 176: '#E697E6',
|
|
|
|
\ 177: '#D881ED', 178: '#d1951d', 179: '#d4b261', 196: '#e0211d', 204: '#ce537a', 207: '#FF68DD',
|
|
|
|
\ 214: '#FF4848', 218: '#d19a66', 225: '#FFC8C8', 229: '#fff06a', 233: '#303030', 234: '#212026',
|
|
|
|
\ 235: '#292b2e', 236: '#34323e', 238: '#544a65', 239: '#44505c', 241: '#534b5d', 243: '#65737e',
|
|
|
|
\ 244: '#b4d1b6',
|
2020-02-23 14:09:42 +00:00
|
|
|
\ }
|
|
|
|
|
|
|
|
function! s:hi(item, fg, bg, cterm, gui)
|
|
|
|
let l:fg = empty(a:fg) ? '' : printf('ctermfg=%d guifg=%s', a:fg, get(s:colors, a:fg, s:color256[a:fg]))
|
|
|
|
let l:bg = empty(a:bg) ? '' : printf('ctermbg=%d guibg=%s', a:bg, get(s:colors, a:bg, s:color256[a:bg]))
|
|
|
|
let l:style = printf('cterm=%s gui=%s', a:cterm, a:gui)
|
|
|
|
execute 'hi '.a:item.' '.l:fg.' '.l:bg.' '.l:style
|
|
|
|
endfunction
|
|
|
|
|
|
|
|
let s:fg = 249
|
|
|
|
let s:bg = get(g:, 'space_vim_dark_background', 235)
|
2021-11-28 12:18:39 +00:00
|
|
|
let s:bg = max([s:bg, 233])
|
2020-02-23 14:09:42 +00:00
|
|
|
|
|
|
|
let s:bias = s:bg - 235
|
|
|
|
let s:bg0 = s:bg - 1
|
|
|
|
let s:bg1 = s:bg + 1
|
|
|
|
let s:bg2 = s:bg + 2
|
|
|
|
let s:bg3 = s:bg + 3
|
|
|
|
let s:bg4 = s:bg + 4
|
|
|
|
|
|
|
|
" call s:hi(item, fg, bg, cterm, gui)
|
|
|
|
|
|
|
|
call s:hi('Normal' , 249 , s:bg , 'None' , 'None')
|
|
|
|
call s:hi('Cursor' , 235 , 178 , 'bold' , 'bold')
|
|
|
|
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('LineNr' , 239+s:bias , s:bg0 , 'None' , 'None')
|
2020-02-23 14:09:42 +00:00
|
|
|
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('CursorLine' , '' , s:bg0 , 'None' , 'None')
|
|
|
|
call s:hi('CursorLineNr' , 170 , s:bg0 , 'None' , 'None')
|
|
|
|
call s:hi('CursorColumn' , '' , s:bg0 , 'None' , 'None')
|
|
|
|
call s:hi('ColorColumn' , '' , s:bg0 , 'None' , 'None')
|
2020-02-23 14:09:42 +00:00
|
|
|
|
|
|
|
" bug. opposite here.
|
|
|
|
call s:hi('StatusLine' , 140 , s:bg2 , 'None' , 'None')
|
|
|
|
call s:hi('StatusLineNC' , 242 , s:bg1 , 'None' , 'None')
|
|
|
|
|
|
|
|
call s:hi('StatusLineTerm' , 140 , s:bg2 , 'bold' , 'bold')
|
|
|
|
call s:hi('StatusLineTermNC' , 244 , s:bg1 , 'bold' , 'bold')
|
|
|
|
|
|
|
|
call s:hi('TabLine' , 66 , s:bg3 , 'None' , 'None')
|
|
|
|
call s:hi('TabLineSel' , 178 , s:bg4 , 'None' , 'None')
|
|
|
|
call s:hi('TabLineFill' , 145 , s:bg2 , 'None' , 'None')
|
|
|
|
|
|
|
|
call s:hi('WildMenu' , 214 , s:bg3 , 'None' , 'None')
|
|
|
|
|
|
|
|
call s:hi('Boolean' , 178 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Character' , 75 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Number' , 176 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Float' , 135 , '' , 'None' , 'None')
|
|
|
|
call s:hi('String' , 36 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Conditional' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('Constant' , 218 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Debug' , 225 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Define' , 177 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Delimiter' , 151 , '' , 'None' , 'None')
|
|
|
|
|
2021-11-28 12:18:39 +00:00
|
|
|
hi DiffAdd term=bold cterm=reverse ctermfg=142 ctermbg=235 gui=reverse guifg=#b8bb26 guibg=#29422d
|
|
|
|
hi DiffChange term=bold cterm=reverse ctermfg=107 ctermbg=235 gui=reverse guifg=#8ec07c guibg=#32322c
|
|
|
|
hi DiffDelete term=bold cterm=reverse ctermfg=160 ctermbg=235 gui=reverse guifg=#e0211d guibg=#282828
|
|
|
|
hi DiffText term=reverse cterm=reverse ctermfg=214 ctermbg=235 gui=reverse guifg=#fabd2f guibg=#282828
|
2020-02-23 14:09:42 +00:00
|
|
|
|
|
|
|
call s:hi('Exception' , 204 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('Function' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('Identifier' , 167 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Ignore' , 244 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Operator' , 111 , '' , 'None' , 'None')
|
|
|
|
call s:hi('FoldColumn' , 67 , s:bg1 , 'None' , 'None')
|
|
|
|
call s:hi('Folded' , 133 , s:bg1 , 'bold' , 'bold')
|
|
|
|
|
|
|
|
call s:hi('PreCondit' , 139 , '' , 'None' , 'None')
|
|
|
|
call s:hi('PreProc' , 176 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Question' , 81 , '' , 'None' , 'None')
|
|
|
|
|
|
|
|
call s:hi('Directory' , 67 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('Repeat' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('Keyword' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('Statement' , 68 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Structure' , 68 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
call s:hi('Label' , 104 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Macro' , 140 , '' , 'None' , 'None')
|
|
|
|
|
|
|
|
call s:hi('Type' , 68 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Typedef' , 68 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Underlined' , '' , '' , 'underline' , 'underline')
|
|
|
|
|
|
|
|
call s:hi('Search' , 16 , 76 , 'bold' , 'bold')
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('IncSearch' , 16 , 167 , 'bold' , 'bold')
|
2020-02-23 14:09:42 +00:00
|
|
|
call s:hi('MatchParen', 40 , s:bg0 , 'bold,underline', 'bold,underline')
|
|
|
|
|
|
|
|
call s:hi('ModeMsg' , 229 , '' , 'None' , 'None')
|
|
|
|
|
|
|
|
" Popup menu
|
|
|
|
call s:hi('Pmenu' , 141 , s:bg1 , 'None' , 'None')
|
|
|
|
call s:hi('PmenuSel' , 251 , 97 , 'None' , 'None')
|
|
|
|
call s:hi('PmenuSbar' , 28 , 233 , 'None' , 'None')
|
|
|
|
call s:hi('PmenuThumb' , 160 , 97 , 'None' , 'None')
|
|
|
|
|
|
|
|
" SignColumn may relate to ale sign
|
|
|
|
call s:hi('SignColumn' , 118 , s:bg , 'None' , 'None')
|
|
|
|
call s:hi('Todo' , 172 , s:bg , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" VertSplit consistent with normal background to hide it
|
|
|
|
call s:hi('VertSplit' , s:bg0 , '' , 'None' , 'None')
|
|
|
|
|
|
|
|
call s:hi('Warning' , 136 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('WarningMsg' , 136 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
call s:hi('Error' , 160 , s:bg , 'bold' , 'bold')
|
|
|
|
call s:hi('ErrorMsg' , 196 , s:bg , 'bold' , 'bold')
|
|
|
|
|
|
|
|
call s:hi('Special' , 169 , '' , 'None' , 'None')
|
|
|
|
call s:hi('SpecialKey' , 59 , '' , 'None' , 'None')
|
|
|
|
call s:hi('SpecialChar' , 171 , '' , 'bold' , 'bold')
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('SpecialComment' , 243 , '' , 'None' , 'None')
|
2020-02-23 14:09:42 +00:00
|
|
|
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('SpellBad' , 168 , 52 , 'underline' , 'undercurl')
|
|
|
|
call s:hi('SpellCap' , 110 , 25 , 'underline' , 'undercurl')
|
2020-02-23 14:09:42 +00:00
|
|
|
call s:hi('SpellLocal' , 253 , '' , 'underline' , 'undercurl')
|
|
|
|
call s:hi('SpellRare' , 218 , '' , 'underline' , 'undercurl')
|
|
|
|
|
|
|
|
call s:hi('Tag' , 161 , '' , 'None' , 'None')
|
|
|
|
call s:hi('Title' , 176 , '' , 'None' , 'None')
|
|
|
|
call s:hi('StorageClass' , 178 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
call s:hi('Comment' , 30 , '' , 'None' , 'italic')
|
|
|
|
call s:hi('Visual' , '' , s:bg3 , 'None' , 'None')
|
|
|
|
call s:hi('VisualNOS' , '' , s:bg3 , 'None' , 'None')
|
|
|
|
|
|
|
|
" tilde group
|
|
|
|
call s:hi('NonText' , 241 , '' , 'None' , 'None')
|
|
|
|
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('Terminal' , 249 , s:bg , 'None' , 'None')
|
|
|
|
|
|
|
|
call s:hi('diffAdded' , 36 , '' , 'None' , 'None')
|
|
|
|
call s:hi('diffRemoved' , 167 , '' , 'None' , 'None')
|
|
|
|
|
2020-02-23 14:09:42 +00:00
|
|
|
hi MatchParen guibg=NONE
|
|
|
|
hi SignColumn guibg=NONE
|
|
|
|
|
|
|
|
hi link qfLineNr Type
|
|
|
|
|
|
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
" Language
|
|
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
" markdown
|
|
|
|
call s:hi('markdownH1' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('markdownH2' , 36 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('markdownH3' , 114 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('markdownH4' , 178 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('markdownH5' , 68 , '' , 'None' , 'None')
|
|
|
|
call s:hi('markdownH6' , 36 , '' , 'None' , 'None')
|
|
|
|
call s:hi('mkdCode' , 114 , '' , 'None' , 'None')
|
|
|
|
call s:hi('mkdItalic' , 36 , '' , 'None' , 'italic')
|
|
|
|
|
|
|
|
" c
|
|
|
|
call s:hi('cConstant' , 178 , '' , 'none' , 'none')
|
|
|
|
call s:hi('cCustomClass' , 167 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" cpp
|
|
|
|
call s:hi('cppSTLexception', 199, '', 'bold', 'bold')
|
|
|
|
call s:hi('cppSTLnamespace', 178, '', 'bold', 'bold')
|
|
|
|
|
|
|
|
" css
|
|
|
|
call s:hi('cssTagName' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('cssProp' , 169 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" dot
|
|
|
|
call s:hi('dotKeyChar' , 176 , '' , 'none' , 'none')
|
|
|
|
call s:hi('dotType' , 178 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
" sh
|
|
|
|
call s:hi('shSet' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('shLoop' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('shFunctionKey' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('shTestOpr' , 178 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
" solidity
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('solContract' , 178 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('solContractName' , 168 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('solBuiltinType' , 176 , '' , 'none' , 'none')
|
2020-02-23 14:09:42 +00:00
|
|
|
|
|
|
|
" vimL
|
|
|
|
call s:hi('vimLet' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('vimFuncKey' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('vimCommand' , 68 , '' , 'bold' , 'bold')
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('vimMap' , 68 , '' , 'none' , 'none')
|
2020-02-23 14:09:42 +00:00
|
|
|
call s:hi('vimGroup' , 67 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('vimHiGroup' , 67 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" rust
|
|
|
|
call s:hi('rustKeyword' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('rustModPath' , 68 , '' , 'none' , 'none')
|
|
|
|
call s:hi('rustTrait' , 168 , '' , 'bold' , 'bold')
|
|
|
|
|
2021-11-28 12:18:39 +00:00
|
|
|
" toml
|
|
|
|
call s:hi('tomlTable' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('tomlKey' , 68 , '' , 'none' , 'none')
|
|
|
|
call s:hi('tomlComment' , 30 , '' , 'none' , 'italic')
|
|
|
|
|
2020-02-23 14:09:42 +00:00
|
|
|
" json
|
|
|
|
call s:hi('jsonStringSQError', 160, '', 'none', 'none')
|
|
|
|
|
|
|
|
" xml
|
|
|
|
call s:hi('xmlTag' , 167 , '' , 'none' , 'none')
|
|
|
|
call s:hi('xmlEndTag' , 167 , '' , 'none' , 'none')
|
|
|
|
call s:hi('xmlTagName' , 167 , '' , 'none' , 'none')
|
|
|
|
|
2021-11-28 12:18:39 +00:00
|
|
|
" js
|
|
|
|
call s:hi('jsReturn' , 68 , '' , 'bold' , 'bold')
|
|
|
|
hi link jsObjectKey Type
|
|
|
|
hi link jsFuncBlock Identifier
|
|
|
|
hi link jsVariableDef Title
|
|
|
|
|
2020-02-23 14:09:42 +00:00
|
|
|
" go
|
|
|
|
call s:hi('goType' , 176 , '' , 'none' , 'none')
|
|
|
|
call s:hi('goFloat' , 135 , '' , 'none' , 'none')
|
|
|
|
call s:hi('goField' , 68 , '' , 'none' , 'none')
|
|
|
|
call s:hi('goTypeName' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('goFunction' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('goMethodCall' , 168 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('goReceiverType' , 114 , '' , 'none' , 'none')
|
|
|
|
call s:hi('goFunctionCall' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('goFormatSpecifier' , 68 , '' , 'none' , 'none')
|
|
|
|
call s:hi('goTypeConstructor' , 178 , '' , 'none' , 'none')
|
|
|
|
call s:hi('goPredefinedIdentifiers' , 140 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
" make
|
|
|
|
call s:hi('makeCommands' , 68 , '' , 'none' , 'none')
|
|
|
|
call s:hi('makeSpecTarget' , 68 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" java
|
|
|
|
call s:hi('rustScopeDecl' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('javaClassDecl' , 168 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" scala
|
|
|
|
call s:hi('scalaKeyword' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('scalaNameDefinition' , 68 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" ruby
|
|
|
|
call s:hi('rubyClass' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('rubyDefine' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('rubyInterpolationDelimiter' , 176 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
" html
|
|
|
|
hi link htmlSpecialTagName Tag
|
|
|
|
call s:hi('htmlItalic' , 36 , '' , 'None' , 'italic')
|
2021-11-28 12:18:39 +00:00
|
|
|
hi htmlBold cterm=bold gui=bold
|
2020-02-23 14:09:42 +00:00
|
|
|
|
|
|
|
" python-mode
|
|
|
|
call s:hi('pythonLambdaExpr' , 105 , '' , 'none' , 'none')
|
|
|
|
call s:hi('pythonClass' , 207 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonParameters' , 147 , '' , 'none' , 'none')
|
|
|
|
call s:hi('pythonParam' , 108 , '' , 'none' , 'none')
|
|
|
|
call s:hi('pythonBrackets' , 183 , '' , 'none' , 'none')
|
|
|
|
call s:hi('pythonClassParameters' , 111 , '' , 'none' , 'none')
|
|
|
|
call s:hi('pythonBuiltinType' , 68 , '' , 'none' , 'none')
|
|
|
|
call s:hi('pythonBuiltinObj' , 71 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonBuiltinFunc' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonOperator' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonInclude' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonSelf' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonStatement' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonDottedName' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonDecorator' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonException' , 166 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('pythonError' , 195 , '' , 'none' , 'none')
|
|
|
|
call s:hi('pythonIndentError' , 196 , '' , 'none' , 'none')
|
|
|
|
call s:hi('pythonSpaceError' , 196 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
" Plugins
|
|
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
" ALE
|
|
|
|
hi link ALEErrorSign Error
|
|
|
|
hi link ALEWarningSign Warning
|
|
|
|
|
|
|
|
" vim-easymotion
|
|
|
|
call s:hi('EasyMotionTarget' , 76 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('EasyMotionTarget2First' , 162 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('EasyMotionTarget2Second' , 69 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" vim-markdown
|
|
|
|
call s:hi('htmlH1' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('htmlH2' , 36 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('htmlH3' , 114 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('htmlH4' , 178 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('htmlH5' , 68 , '' , 'None' , 'None')
|
|
|
|
call s:hi('htmlH6' , 36 , '' , 'None' , 'None')
|
|
|
|
|
|
|
|
" vim-indent-guides
|
|
|
|
let g:indent_guides_auto_colors = 0
|
|
|
|
call s:hi('IndentGuidesOdd' , '' , 237 , 'none' , 'none')
|
|
|
|
call s:hi('IndentGuidesEven' , '' , 239 , 'none' , 'none')
|
|
|
|
|
|
|
|
" vim-gitgutter
|
|
|
|
call s:hi('GitGutterAdd' , 36 , '' , 'none' , 'none')
|
|
|
|
call s:hi('GitGutterChange' , 178 , '' , 'none' , 'none')
|
|
|
|
call s:hi('GitGutterDelete' , 160 , '' , 'none' , 'none')
|
|
|
|
call s:hi('GitGutterChangeDelete' , 140 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
" vim-signify
|
|
|
|
call s:hi('SignifySignAdd' , 36 , '' , 'none' , 'none')
|
|
|
|
call s:hi('SignifySignChange' , 178 , '' , 'none' , 'none')
|
|
|
|
call s:hi('SignifySignDelete' , 160 , '' , 'none' , 'none')
|
|
|
|
call s:hi('SignifySignChangeDelete', 140 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
" vim-startify
|
|
|
|
hi link StartifyFile Normal
|
|
|
|
call s:hi('StartifyHeader' , 177 , '' , 'none' , 'none')
|
|
|
|
call s:hi('startifySection' , 68 , '' , 'bold' , 'bold')
|
|
|
|
|
|
|
|
" YouCompleteMe
|
|
|
|
call s:hi('YcmErrorSection' , 249 , 5 , 'none' , 'none')
|
|
|
|
call s:hi('YcmWarningSection' , 249 , 60 , 'none' , 'none')
|
|
|
|
|
|
|
|
" vim-leader-guide
|
|
|
|
hi link LeaderGuideDesc Normal
|
|
|
|
call s:hi('LeaderGuideKeys' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('LeaderGuideBrackets' , 36 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
" NERDTree
|
|
|
|
call s:hi('NERDTreeCWD' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('NERDTreeUp' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('NERDTreeDir' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('NERDTreeDirSlash' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('NERDTreeOpenable' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('NERDTreeClosable' , 68 , '' , 'bold' , 'bold')
|
2021-11-28 12:18:39 +00:00
|
|
|
call s:hi('NERDTreeExecFile' , 167 , '' , 'bold' , 'bold')
|
|
|
|
hi link NERDTreeLinkTarget Macro
|
2020-02-23 14:09:42 +00:00
|
|
|
|
|
|
|
" Tagbar
|
|
|
|
call s:hi('TagbarKind' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('TagbarScope' , 169 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('TagbarHighlight' , 16 , 36 , 'bold' , 'bold')
|
|
|
|
call s:hi('TagbarNestedKind' , 68 , '' , 'bold' , 'bold')
|
|
|
|
call s:hi('TagbarVisibilityPublic' , 34 , '' , 'none' , 'none')
|
|
|
|
|
|
|
|
" vim-signature
|
|
|
|
call s:hi('SignatureMarkText', 178, '', 'bold', 'bold')
|
|
|
|
|
|
|
|
" vim_current_word
|
|
|
|
call s:hi('CurrentWord' , '' , s:bg1 , 'underline' , 'underline')
|
|
|
|
call s:hi('CurrentWordTwins' , '' , s:bg1 , 'none' , 'none')
|
|
|
|
|
2021-11-28 12:18:39 +00:00
|
|
|
" quick-scope
|
|
|
|
call s:hi('QuickScopePrimary' , 155 , '' , 'underline' , 'underline')
|
|
|
|
call s:hi('QuickScopeSecondary' , 81 , '' , 'underline' , 'underline')
|
|
|
|
|
2020-02-23 14:09:42 +00:00
|
|
|
delf s:hi
|
|
|
|
unlet s:color256 s:colors s:bg
|
|
|
|
|
|
|
|
" Must be at the end, because of ctermbg=234 bug.
|
|
|
|
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
|
|
|
|
set background=dark
|