├── LICENSE ├── Makefile ├── README.md └── colors ├── warlock.erb └── warlock.vim /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 Martin Hardselius 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | ####### ## ## ####### 2 | ## ## ### ## ## ## 3 | ## ## #### ## ## ## 4 | ####### ## ## ## ####### 5 | ## ## ## #### ## ## 6 | ## ## ## ### ## ## 7 | ## ## ## ## ####### 8 | 9 | VIM_OUTPUTS = $(patsubst %.erb,%.vim,$(wildcard colors/*.erb)) 10 | 11 | .PHONY: all 12 | 13 | all: $(VIM_OUTPUTS) 14 | 15 | %.vim: %.erb 16 | erb -T - $< > $@ 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Warlock 2 | 3 | Warlock is a dark, low-contrast, grayscale colorscheme for Vim based on the 4 | awesome [Apprentice](https://github.com/romainl/Apprentice) by Romain Lafourcade. 5 | 6 | Some code: 7 | 8 | ![alacritty](https://hardselius.github.io/warlock/images/alacritty.png) 9 | 10 | Some code in iTerm, `TERM=xterm-256color`: 11 | 12 | ![iterm xterm-256color](https://hardselius.github.io/warlock/images/iterm-xterm-256color.png) 13 | 14 | Some code in iTerm, `TERM=xterm`, using the Gruvbox color palette: 15 | 16 | ![iterm xterm](https://hardselius.github.io/warlock/images/iterm-xterm.png) 17 | -------------------------------------------------------------------------------- /colors/warlock.erb: -------------------------------------------------------------------------------- 1 | <% 2 | # RNB, A VIM COLORSCHEME TEMPLATE 3 | # Author: Romain Lafourcade (https://github.com/romainl) 4 | # Canonical URL: https://github.com/romainl/vim-rnb 5 | 6 | # This template is designed to help vimmers create their own colorschemes 7 | # without much effort. 8 | # 9 | # You will need Ruby to generate your colorscheme but Ruby knowledge is 10 | # not needed at all. 11 | # 12 | # The process is divided in five steps: 13 | # 1. rename the template, 14 | # 2. edit your colorscheme's information, 15 | # 3. define your colors, 16 | # 4. define your highlight groups and links, 17 | # 5. and generate your colorscheme. 18 | 19 | # Step 1: renaming 20 | # 21 | # If this file is distributed with a colorscheme it's probably already named correctly 22 | # and you can skip this step. 23 | # 24 | # If you forked/cloned/copied this repository to create your own colorscheme, you will have to 25 | # rename this template to match the name of your colorscheme. 26 | # 27 | # NOTE: Vim doesn't really care about whitespace in the name of the colorscheme but it does for 28 | # filenames so make sure your filename doesn't have any whitespace character. 29 | # 30 | # colorscheme name | template filename | colorscheme filename 31 | # ------------------|-------------------|---------------------- 32 | # foobar | foobar.erb | foobar.vim 33 | # foo-bar | foo-bar.erb | foo-bar.vim 34 | # foo_bar | foo_bar.erb | foo_bar.vim 35 | # foo bar | foo-bar.erb or | foo-bar.vim or 36 | # | foo_bar.erb | foo_bar.vim 37 | 38 | # Step 2: information 39 | # 40 | # Make sure the name of your colorscheme is unique and attractive. 41 | # The description should fit in a single line with no linefeed. 42 | # 'background' can be "light" or "dark". 43 | information = { 44 | author: "Martin Hardselius", 45 | email: "martin.hardselius@gmail.com", 46 | name: "warlock", 47 | description: "A grayscale variant of Apprentice by Romain Lafourcade (romainlafourcade@gmail.com)", 48 | webpage: "https://github.com/hardselius/warlock" 49 | } 50 | 51 | # Step 3: colors 52 | # 53 | # black = [ give each color a distinctive name 54 | # "#000000", hexadecimal color used in GVim/MacVim or "NONE" 55 | # 0, integer between 0 and 255 used by terminals supporting 256 colors 56 | # or "NONE" 57 | # "black" color name used by less capable color terminals, can be "darkred", 58 | # "red", "darkgreen", "green", "darkyellow", "yellow", "darkblue", 59 | # "blue", "darkmagenta", "magenta", "black", "darkgrey", "grey", 60 | # "white", or "NONE" 61 | # ] 62 | # 63 | # If your colors are defined correctly, the resulting colorscheme is guaranteed 64 | # to work in GVim (Windows/Linux), MacVim (MacOS), and any properly set up terminal emulator. 65 | almost_black = ["#1c1c1c", 234, "black"] 66 | darker_grey = ["#262626", 235, "black"] 67 | dark_grey = ["#303030", 236, "darkgrey"] 68 | grey = ["#444444", 238, "darkgrey"] 69 | medium_grey = ["#585858", 240, "darkgrey"] 70 | light_grey = ["#6c6c6c", 242, "lightgrey"] 71 | lighter_grey = ["#bcbcbc", 250, "lightgrey"] 72 | white = ["#ffffff", 231, "white"] 73 | purple = ["#626262", 241, "darkgrey"] 74 | light_purple = ["#8a8a8a", 245, "lightgrey"] 75 | green = ["#767676", 243, "lightgrey"] 76 | light_green = ["#9e9e9e", 247, "lightgrey"] 77 | aqua = ["#767676", 243, "lightgrey"] 78 | light_aqua = ["#949494", 246, "lightgrey"] 79 | blue = ["#808080", 244, "lightgrey"] 80 | light_blue = ["#a8a8a8", 248, "lightgrey"] 81 | red = ["#767676", 243, "lightgrey"] 82 | #orange = ["#ff8700", 208, "red"] 83 | orange = ["#9e9e9e", 247, "lightgrey"] 84 | ocre = ["#808080", 244, "lightgray"] 85 | yellow = ["#ffffff", 231, "white"] 86 | 87 | # Step 4: highlights 88 | # 89 | # You can define highlight groups like this: 90 | # 91 | # [ "Normal", name of the highlight group 92 | # white, the color used for background color, or use "NONE", "fg" or "bg" 93 | # darkgray, the color used for foreground color, or use "NONE", "fg" or "bg" 94 | # "NONE" style, can be "bold", "underline", "reverse", "italic", 95 | # "standout", "NONE" or "undercurl" 96 | # ] 97 | # 98 | # The sample above tells Vim to render normal text in dark gray against a white 99 | # background, without any other styling. 100 | # 101 | # Or you can link an highlight group to another. Here, "Title" will inherit its style from 102 | # "Normal": 103 | # 104 | # [ "Title", "Normal" ] 105 | # 106 | # In GUI Vim, there is an additional color for the undercurl used to 107 | # highlight spelling mistakes: 108 | # 109 | # [ "SpellBad", name of the highlight group 110 | # "NONE", the color used for background color, or use "NONE", "fg" or "bg" 111 | # red, the color used for foreground color, or use "NONE", "fg" or "bg" 112 | # "undercurl", style 113 | # red color used for the undercurl 114 | # ] 115 | # 116 | # The sample above tells Vim to render badly spelled words in red against the current 117 | # background, with a red undercurl. 118 | # 119 | # You can add any custom highlight group to the standard list below but you shouldn't 120 | # remove any if you want a working colorscheme. Most of them are described under 121 | # :help highlight-default, the others are taken from :help group-name. Both help sections 122 | # are good reads, by the way. 123 | highlights = [ 124 | [ "Normal", darker_grey, lighter_grey, "NONE" ], 125 | [ "NonText", "NONE", medium_grey, "NONE" ], 126 | [ "EndOfBuffer", "NONE", medium_grey, "NONE" ], 127 | [ "LineNr", almost_black, light_grey, "NONE" ], 128 | [ "FoldColumn", almost_black, light_grey, "NONE" ], 129 | [ "Folded", almost_black, light_grey, "NONE" ], 130 | [ "MatchParen", almost_black, yellow, "NONE" ], 131 | [ "SignColumn", almost_black, light_grey, "NONE" ], 132 | [ "Comment", "NONE", medium_grey, "NONE" ], 133 | [ "Conceal", "NONE", lighter_grey, "NONE" ], 134 | [ "Constant", "NONE", orange, "NONE" ], 135 | [ "Error", "NONE", red, "reverse" ], 136 | [ "Identifier", "NONE", blue, "NONE" ], 137 | [ "Ignore", "NONE", "NONE", "NONE" ], 138 | [ "PreProc", "NONE", aqua, "NONE" ], 139 | [ "Special", "NONE", green, "NONE" ], 140 | [ "Statement", "NONE", light_blue, "NONE" ], 141 | [ "String", "NONE", light_green, "NONE" ], 142 | [ "Todo", "NONE", "NONE", "reverse" ], 143 | [ "Type", "NONE", light_purple, "NONE" ], 144 | [ "Underlined", "NONE", aqua, "underline" ], 145 | [ "Pmenu", grey, lighter_grey, "NONE" ], 146 | [ "PmenuSbar", medium_grey, "NONE", "NONE" ], 147 | [ "PmenuSel", aqua, darker_grey, "NONE" ], 148 | [ "PmenuThumb", aqua, aqua, "NONE" ], 149 | [ "ErrorMsg", red, darker_grey, "NONE" ], 150 | [ "ModeMsg", light_green, darker_grey, "NONE" ], 151 | [ "MoreMsg", "NONE", aqua, "NONE" ], 152 | [ "Question", "NONE", light_green, "NONE" ], 153 | [ "WarningMsg", "NONE", red, "NONE" ], 154 | [ "TabLine", grey, ocre, "NONE" ], 155 | [ "TabLineFill", grey, grey, "NONE" ], 156 | [ "TabLineSel", ocre, darker_grey, "NONE" ], 157 | [ "ToolbarLine", almost_black, "NONE", "NONE" ], 158 | [ "ToolbarButton", medium_grey, lighter_grey, "NONE" ], 159 | [ "Cursor", light_grey, "NONE", "NONE" ], 160 | [ "CursorColumn", dark_grey, "NONE", "NONE" ], 161 | [ "CursorLineNr", dark_grey, light_aqua, "NONE" ], 162 | [ "CursorLine", dark_grey, "NONE", "NONE" ], 163 | [ "helpLeadBlank", "NONE", "NONE", "NONE" ], 164 | [ "helpNormal", "NONE", "NONE", "NONE" ], 165 | [ "StatusLine", ocre, darker_grey, "NONE" ], 166 | [ "StatusLineNC", grey, ocre, "NONE" ], 167 | [ "StatusLineTerm", ocre, darker_grey, "NONE" ], 168 | [ "StatusLineTermNC", grey, ocre, "NONE" ], 169 | [ "Visual", darker_grey, light_blue, "reverse" ], 170 | [ "VisualNOS", "NONE", "NONE", "underline" ], 171 | [ "VertSplit", grey, grey, "NONE" ], 172 | [ "WildMenu", light_blue, darker_grey, "NONE" ], 173 | [ "Function", "NONE", yellow, "NONE" ], 174 | [ "SpecialKey", "NONE", medium_grey, "NONE" ], 175 | [ "Title", "NONE", white, "NONE" ], 176 | [ "DiffAdd", darker_grey, light_green, "reverse" ], 177 | [ "DiffChange", darker_grey, light_purple, "reverse" ], 178 | [ "DiffDelete", darker_grey, red, "reverse" ], 179 | [ "DiffText", darker_grey, orange, "reverse" ], 180 | [ "IncSearch", red, darker_grey, "NONE" ], 181 | [ "Search", yellow, darker_grey, "NONE" ], 182 | [ "Directory", "NONE", light_aqua, "NONE" ], 183 | [ "debugPC", blue, "NONE", "NONE" ], 184 | [ "debugBreakpoint", red, "NONE", "NONE" ], 185 | [ "SpellBad", "NONE", red, "undercurl", red ], 186 | [ "SpellCap", "NONE", light_aqua, "undercurl", light_aqua ], 187 | [ "SpellLocal", "NONE", green, "undercurl", green ], 188 | [ "SpellRare", "NONE", orange, "undercurl", orange ], 189 | [ "ColorColumn", almost_black, "NONE", "NONE" ], 190 | [ "Terminal", "Normal" ], 191 | [ "Number", "Constant" ], 192 | [ "CursorIM", "Cursor" ], 193 | [ "Boolean", "Constant" ], 194 | [ "Character", "Constant" ], 195 | [ "Conditional", "Statement" ], 196 | [ "Debug", "Special" ], 197 | [ "Define", "PreProc" ], 198 | [ "Delimiter", "Special" ], 199 | [ "Exception", "Statement" ], 200 | [ "Float", "Number" ], 201 | [ "HelpCommand", "Statement" ], 202 | [ "HelpExample", "Statement" ], 203 | [ "Include", "PreProc" ], 204 | [ "Keyword", "Statement" ], 205 | [ "Label", "Statement" ], 206 | [ "Macro", "PreProc" ], 207 | [ "Number", "Constant" ], 208 | [ "Operator", "Statement" ], 209 | [ "PreCondit", "PreProc" ], 210 | [ "Repeat", "Statement" ], 211 | [ "SpecialChar", "Special" ], 212 | [ "SpecialComment", "Special" ], 213 | [ "StorageClass", "Type" ], 214 | [ "Structure", "Type" ], 215 | [ "Tag", "Special" ], 216 | [ "Terminal", "Normal" ], 217 | [ "Typedef", "Type" ], 218 | [ "htmlEndTag", "htmlTagName" ], 219 | [ "htmlLink", "Function" ], 220 | [ "htmlSpecialTagName", "htmlTagName" ], 221 | [ "htmlTag", "htmlTagName" ], 222 | [ "htmlBold", "Normal" ], 223 | [ "htmlItalic", "Normal" ], 224 | [ "xmlTag", "Statement" ], 225 | [ "xmlTagName", "Statement" ], 226 | [ "xmlEndTag", "Statement" ], 227 | [ "markdownItalic", "Preproc" ], 228 | [ "asciidocQuotedEmphasized", "Preproc" ], 229 | [ "diffBDiffer", "WarningMsg" ], 230 | [ "diffCommon", "WarningMsg" ], 231 | [ "diffDiffer", "WarningMsg" ], 232 | [ "diffIdentical", "WarningMsg" ], 233 | [ "diffIsA", "WarningMsg" ], 234 | [ "diffNoEOL", "WarningMsg" ], 235 | [ "diffOnly", "WarningMsg" ], 236 | [ "diffRemoved", "WarningMsg" ], 237 | [ "diffAdded", "String" ], 238 | [ "QuickFixLine", "Search" ] 239 | ] 240 | 241 | # Define the color palette used by :terminal when in GUI Vim 242 | # or in TUI Vim when 'termguicolors' is enabled. If this list 243 | # is empty or if it doesn't contain exactly 16 items, the corresponding 244 | # Vim variable won't be set. 245 | # 246 | # The expected values are colors defined in step 3. 247 | # 248 | # Terminal emulators use a basic palette of 16 colors that can be 249 | # addressed by CLI and TUI tools via their name or their index, from 250 | # 0 to 15. The list is not really standardized but it is generally 251 | # assumed to look like this: 252 | # 253 | # Index | Name 254 | # -------|------------- 255 | # 0 | black 256 | # 1 | darkred 257 | # 2 | darkgreen 258 | # 3 | darkyellow 259 | # 4 | darkblue 260 | # 5 | darkmagenta 261 | # 6 | darkcyan 262 | # 7 | gray 263 | # 8 | dark_grey 264 | # 9 | red 265 | # 10 | green 266 | # 11 | yellow 267 | # 12 | blue 268 | # 13 | magenta 269 | # 14 | cyan 270 | # 15 | white 271 | # 272 | # While you are certainly free to make colors 0 to 7 shades of blue, 273 | # this will inevitably cause usability issues so… be careful. 274 | terminal_ansi_colors = [ 275 | almost_black, 276 | red, 277 | green, 278 | ocre, 279 | blue, 280 | purple, 281 | aqua, 282 | light_grey, 283 | grey, 284 | orange, 285 | light_green, 286 | yellow, 287 | light_blue, 288 | light_purple, 289 | light_aqua, 290 | white 291 | ] 292 | 293 | # Step 5: generation 294 | # 295 | # From a separate shell: 296 | # 297 | # $ erb -T - bar.erb > bar.vim 298 | # 299 | # From Vim: 300 | # 301 | # :!erb -T - % > %<.vim 302 | # 303 | # If this template comes with a Makefile, you can do it from a separate shell, 304 | # with the make program: 305 | # 306 | # $ make 307 | 308 | # These online resources can help you design your colorscheme: 309 | # 310 | # * http://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg 311 | # the xterm palette 312 | # * http://whatcolor.herokuapp.com/ 313 | # play with hexadecimal colors right in the address bar (currently down) 314 | # * http://color.hailpixel.com/ 315 | # similar concept, fuzzier implementation 316 | # * http://colourco.de/ 317 | # similar concept, fancier implementation 318 | # * http://www.colr.org/ 319 | # extract a palette from an image 320 | # * http://colores.manugarri.com/ 321 | # search for 'word', get images and color palettes 322 | # * http://www.colourlovers.com/palettes 323 | # user-created palettes 324 | # * http://www.perbang.dk/color+scheme/ 325 | # a no-nonsense colorscheme generator 326 | # * https://color.adobe.com/ 327 | # Adobe's fancy colorscheme generator 328 | # * http://paletton.com/ 329 | # The classic 'Color Scheme Designer', rebranded 330 | # * http://vrl.cs.brown.edu/color 331 | # A very smart palette generator 332 | # * https://cmcenroe.me/2018/04/03/colour-scheme.html 333 | # "I Made My Own Colour Scheme and You Can Too!" 334 | 335 | # A few general advices: 336 | # 337 | # * The Windows console is limited to the 16 so-called "ANSI" colors but it used to 338 | # have a few of them interverted which makes numbers impractical. Use color names 339 | # instead of numbers: :help cterm-colors 340 | # * The Windows console (yeah…) doesn't do italics, underlines or bolded text; 341 | # it is limited to normal and reverse. Keep that in mind if you want 342 | # your colorscheme to be usable in as many environments as possible by as many 343 | # people as possible. 344 | # * Actually, terminal emulators rarely do italics. 345 | # * All of the terminal emulators in use these days allow their users to 346 | # change the 16 so-called "ANSI" colors. It is also possible on some platforms 347 | # to change some or all of the 256 colors in the xterm palette. Don't take 348 | # anything for granted. 349 | # * When used against a light background, strong colors work better than muted 350 | # ones. Light or dark doesn't really matters. Also, it is harder to discriminate 351 | # between two similar colors on a light background. 352 | # * Both strong and muted colors work well against a dark background. It is also 353 | # easier to work with similar colors, but dark colors don't work at all. 354 | # * Use as many text samples as possible. String-heavy languages may look completely 355 | # different than keyword-heavy ones. This can have an impact on the usability 356 | # of your colorscheme. 357 | # * Most terminal emulators and terminal multiplexers currently in use on unix-like 358 | # systems support 256 colors but they almost always default to a '$TERM' that tells 359 | # Vim otherwise. Your users will need to make sure their terminal emulator/multiplexer 360 | # is correctly set up if they want to enjoy the best possible experience. 361 | 362 | # Many thanks to Barry Arthur (https://github.com/dahu) for the original idea. 363 | 364 | # You don't need to edit anything beyond this line. 365 | -%> 366 | " <%= information[:name] %>.vim -- Vim color scheme. 367 | " Author: <%= information[:author] %> (<%= information[:email] %>) 368 | " Webpage: <%= information[:webpage] %> 369 | " Description: <%= information[:description] %> 370 | " Last Change: <%= Time.new.strftime "%Y-%m-%d" %> 371 | 372 | hi clear 373 | if exists("syntax_on") 374 | syntax reset 375 | endif 376 | 377 | let colors_name = "<%= information[:name].downcase %>" 378 | 379 | if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") 380 | <% for highlight in highlights -%> 381 | <% if highlight.length == 4 -%> 382 | hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> 383 | <% elsif highlight.length > 4 -%> 384 | hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> guisp=<%= highlight[4].kind_of?(String) ? highlight[4] : highlight[4][0] %> 385 | <% end -%> 386 | <% end -%> 387 | 388 | elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 389 | set t_Co=16 390 | <%= '' %> 391 | <% for highlight in highlights -%> 392 | <% if highlight.length > 2 -%> 393 | hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][2] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][2] %> cterm=<%= highlight[3] %> 394 | <% end -%> 395 | <% end -%> 396 | endif 397 | <% links = highlights.select do |highlight| -%> 398 | <% highlight.length == 2 -%> 399 | <% end -%> 400 | <% if links.length > 0 -%> 401 | <%= '' %> 402 | <% for link in links -%> 403 | hi link <%= link[0] %> <%= link[1] %> 404 | <% end -%> 405 | <% end -%> 406 | <% if terminal_ansi_colors.length == 16 -%> 407 | <%= '' %> 408 | let g:terminal_ansi_colors = [ 409 | <% for color in terminal_ansi_colors -%> 410 | \ '<%= color[0] %>', 411 | <% end -%> 412 | \ ] 413 | <% end -%> 414 | 415 | " Generated with RNB (https://github.com/romainl/vim-rnb) 416 | -------------------------------------------------------------------------------- /colors/warlock.vim: -------------------------------------------------------------------------------- 1 | " warlock.vim -- Vim color scheme. 2 | " Author: Martin Hardselius (martin.hardselius@gmail.com) 3 | " Webpage: https://github.com/hardselius/warlock 4 | " Description: A grayscale variant of Apprentice by Romain Lafourcade (romainlafourcade@gmail.com) 5 | " Last Change: 2020-03-04 6 | 7 | hi clear 8 | if exists("syntax_on") 9 | syntax reset 10 | endif 11 | 12 | let colors_name = "warlock" 13 | 14 | if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") 15 | hi Normal ctermbg=235 ctermfg=250 cterm=NONE guibg=#262626 guifg=#bcbcbc gui=NONE 16 | hi NonText ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#585858 gui=NONE 17 | hi EndOfBuffer ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#585858 gui=NONE 18 | hi LineNr ctermbg=234 ctermfg=242 cterm=NONE guibg=#1c1c1c guifg=#6c6c6c gui=NONE 19 | hi FoldColumn ctermbg=234 ctermfg=242 cterm=NONE guibg=#1c1c1c guifg=#6c6c6c gui=NONE 20 | hi Folded ctermbg=234 ctermfg=242 cterm=NONE guibg=#1c1c1c guifg=#6c6c6c gui=NONE 21 | hi MatchParen ctermbg=234 ctermfg=231 cterm=NONE guibg=#1c1c1c guifg=#ffffff gui=NONE 22 | hi SignColumn ctermbg=234 ctermfg=242 cterm=NONE guibg=#1c1c1c guifg=#6c6c6c gui=NONE 23 | hi Comment ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#585858 gui=NONE 24 | hi Conceal ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#bcbcbc gui=NONE 25 | hi Constant ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9e9e9e gui=NONE 26 | hi Error ctermbg=NONE ctermfg=243 cterm=reverse guibg=NONE guifg=#767676 gui=reverse 27 | hi Identifier ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#808080 gui=NONE 28 | hi Ignore ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE 29 | hi PreProc ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE 30 | hi Special ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE 31 | hi Statement ctermbg=NONE ctermfg=248 cterm=NONE guibg=NONE guifg=#a8a8a8 gui=NONE 32 | hi String ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9e9e9e gui=NONE 33 | hi Todo ctermbg=NONE ctermfg=NONE cterm=reverse guibg=NONE guifg=NONE gui=reverse 34 | hi Type ctermbg=NONE ctermfg=245 cterm=NONE guibg=NONE guifg=#8a8a8a gui=NONE 35 | hi Underlined ctermbg=NONE ctermfg=243 cterm=underline guibg=NONE guifg=#767676 gui=underline 36 | hi Pmenu ctermbg=238 ctermfg=250 cterm=NONE guibg=#444444 guifg=#bcbcbc gui=NONE 37 | hi PmenuSbar ctermbg=240 ctermfg=NONE cterm=NONE guibg=#585858 guifg=NONE gui=NONE 38 | hi PmenuSel ctermbg=243 ctermfg=235 cterm=NONE guibg=#767676 guifg=#262626 gui=NONE 39 | hi PmenuThumb ctermbg=243 ctermfg=243 cterm=NONE guibg=#767676 guifg=#767676 gui=NONE 40 | hi ErrorMsg ctermbg=243 ctermfg=235 cterm=NONE guibg=#767676 guifg=#262626 gui=NONE 41 | hi ModeMsg ctermbg=247 ctermfg=235 cterm=NONE guibg=#9e9e9e guifg=#262626 gui=NONE 42 | hi MoreMsg ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE 43 | hi Question ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9e9e9e gui=NONE 44 | hi WarningMsg ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE 45 | hi TabLine ctermbg=238 ctermfg=244 cterm=NONE guibg=#444444 guifg=#808080 gui=NONE 46 | hi TabLineFill ctermbg=238 ctermfg=238 cterm=NONE guibg=#444444 guifg=#444444 gui=NONE 47 | hi TabLineSel ctermbg=244 ctermfg=235 cterm=NONE guibg=#808080 guifg=#262626 gui=NONE 48 | hi ToolbarLine ctermbg=234 ctermfg=NONE cterm=NONE guibg=#1c1c1c guifg=NONE gui=NONE 49 | hi ToolbarButton ctermbg=240 ctermfg=250 cterm=NONE guibg=#585858 guifg=#bcbcbc gui=NONE 50 | hi Cursor ctermbg=242 ctermfg=NONE cterm=NONE guibg=#6c6c6c guifg=NONE gui=NONE 51 | hi CursorColumn ctermbg=236 ctermfg=NONE cterm=NONE guibg=#303030 guifg=NONE gui=NONE 52 | hi CursorLineNr ctermbg=236 ctermfg=246 cterm=NONE guibg=#303030 guifg=#949494 gui=NONE 53 | hi CursorLine ctermbg=236 ctermfg=NONE cterm=NONE guibg=#303030 guifg=NONE gui=NONE 54 | hi helpLeadBlank ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE 55 | hi helpNormal ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE 56 | hi StatusLine ctermbg=244 ctermfg=235 cterm=NONE guibg=#808080 guifg=#262626 gui=NONE 57 | hi StatusLineNC ctermbg=238 ctermfg=244 cterm=NONE guibg=#444444 guifg=#808080 gui=NONE 58 | hi StatusLineTerm ctermbg=244 ctermfg=235 cterm=NONE guibg=#808080 guifg=#262626 gui=NONE 59 | hi StatusLineTermNC ctermbg=238 ctermfg=244 cterm=NONE guibg=#444444 guifg=#808080 gui=NONE 60 | hi Visual ctermbg=235 ctermfg=248 cterm=reverse guibg=#262626 guifg=#a8a8a8 gui=reverse 61 | hi VisualNOS ctermbg=NONE ctermfg=NONE cterm=underline guibg=NONE guifg=NONE gui=underline 62 | hi VertSplit ctermbg=238 ctermfg=238 cterm=NONE guibg=#444444 guifg=#444444 gui=NONE 63 | hi WildMenu ctermbg=248 ctermfg=235 cterm=NONE guibg=#a8a8a8 guifg=#262626 gui=NONE 64 | hi Function ctermbg=NONE ctermfg=231 cterm=NONE guibg=NONE guifg=#ffffff gui=NONE 65 | hi SpecialKey ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#585858 gui=NONE 66 | hi Title ctermbg=NONE ctermfg=231 cterm=NONE guibg=NONE guifg=#ffffff gui=NONE 67 | hi DiffAdd ctermbg=235 ctermfg=247 cterm=reverse guibg=#262626 guifg=#9e9e9e gui=reverse 68 | hi DiffChange ctermbg=235 ctermfg=245 cterm=reverse guibg=#262626 guifg=#8a8a8a gui=reverse 69 | hi DiffDelete ctermbg=235 ctermfg=243 cterm=reverse guibg=#262626 guifg=#767676 gui=reverse 70 | hi DiffText ctermbg=235 ctermfg=247 cterm=reverse guibg=#262626 guifg=#9e9e9e gui=reverse 71 | hi IncSearch ctermbg=243 ctermfg=235 cterm=NONE guibg=#767676 guifg=#262626 gui=NONE 72 | hi Search ctermbg=231 ctermfg=235 cterm=NONE guibg=#ffffff guifg=#262626 gui=NONE 73 | hi Directory ctermbg=NONE ctermfg=246 cterm=NONE guibg=NONE guifg=#949494 gui=NONE 74 | hi debugPC ctermbg=244 ctermfg=NONE cterm=NONE guibg=#808080 guifg=NONE gui=NONE 75 | hi debugBreakpoint ctermbg=243 ctermfg=NONE cterm=NONE guibg=#767676 guifg=NONE gui=NONE 76 | hi SpellBad ctermbg=NONE ctermfg=243 cterm=undercurl guibg=NONE guifg=#767676 gui=undercurl guisp=#767676 77 | hi SpellCap ctermbg=NONE ctermfg=246 cterm=undercurl guibg=NONE guifg=#949494 gui=undercurl guisp=#949494 78 | hi SpellLocal ctermbg=NONE ctermfg=243 cterm=undercurl guibg=NONE guifg=#767676 gui=undercurl guisp=#767676 79 | hi SpellRare ctermbg=NONE ctermfg=247 cterm=undercurl guibg=NONE guifg=#9e9e9e gui=undercurl guisp=#9e9e9e 80 | hi ColorColumn ctermbg=234 ctermfg=NONE cterm=NONE guibg=#1c1c1c guifg=NONE gui=NONE 81 | 82 | elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 83 | set t_Co=16 84 | 85 | hi Normal ctermbg=black ctermfg=lightgrey cterm=NONE 86 | hi NonText ctermbg=NONE ctermfg=darkgrey cterm=NONE 87 | hi EndOfBuffer ctermbg=NONE ctermfg=darkgrey cterm=NONE 88 | hi LineNr ctermbg=black ctermfg=lightgrey cterm=NONE 89 | hi FoldColumn ctermbg=black ctermfg=lightgrey cterm=NONE 90 | hi Folded ctermbg=black ctermfg=lightgrey cterm=NONE 91 | hi MatchParen ctermbg=black ctermfg=white cterm=NONE 92 | hi SignColumn ctermbg=black ctermfg=lightgrey cterm=NONE 93 | hi Comment ctermbg=NONE ctermfg=darkgrey cterm=NONE 94 | hi Conceal ctermbg=NONE ctermfg=lightgrey cterm=NONE 95 | hi Constant ctermbg=NONE ctermfg=lightgrey cterm=NONE 96 | hi Error ctermbg=NONE ctermfg=lightgrey cterm=reverse 97 | hi Identifier ctermbg=NONE ctermfg=lightgrey cterm=NONE 98 | hi Ignore ctermbg=NONE ctermfg=NONE cterm=NONE 99 | hi PreProc ctermbg=NONE ctermfg=lightgrey cterm=NONE 100 | hi Special ctermbg=NONE ctermfg=lightgrey cterm=NONE 101 | hi Statement ctermbg=NONE ctermfg=lightgrey cterm=NONE 102 | hi String ctermbg=NONE ctermfg=lightgrey cterm=NONE 103 | hi Todo ctermbg=NONE ctermfg=NONE cterm=reverse 104 | hi Type ctermbg=NONE ctermfg=lightgrey cterm=NONE 105 | hi Underlined ctermbg=NONE ctermfg=lightgrey cterm=underline 106 | hi Pmenu ctermbg=darkgrey ctermfg=lightgrey cterm=NONE 107 | hi PmenuSbar ctermbg=darkgrey ctermfg=NONE cterm=NONE 108 | hi PmenuSel ctermbg=lightgrey ctermfg=black cterm=NONE 109 | hi PmenuThumb ctermbg=lightgrey ctermfg=lightgrey cterm=NONE 110 | hi ErrorMsg ctermbg=lightgrey ctermfg=black cterm=NONE 111 | hi ModeMsg ctermbg=lightgrey ctermfg=black cterm=NONE 112 | hi MoreMsg ctermbg=NONE ctermfg=lightgrey cterm=NONE 113 | hi Question ctermbg=NONE ctermfg=lightgrey cterm=NONE 114 | hi WarningMsg ctermbg=NONE ctermfg=lightgrey cterm=NONE 115 | hi TabLine ctermbg=darkgrey ctermfg=lightgray cterm=NONE 116 | hi TabLineFill ctermbg=darkgrey ctermfg=darkgrey cterm=NONE 117 | hi TabLineSel ctermbg=lightgray ctermfg=black cterm=NONE 118 | hi ToolbarLine ctermbg=black ctermfg=NONE cterm=NONE 119 | hi ToolbarButton ctermbg=darkgrey ctermfg=lightgrey cterm=NONE 120 | hi Cursor ctermbg=lightgrey ctermfg=NONE cterm=NONE 121 | hi CursorColumn ctermbg=darkgrey ctermfg=NONE cterm=NONE 122 | hi CursorLineNr ctermbg=darkgrey ctermfg=lightgrey cterm=NONE 123 | hi CursorLine ctermbg=darkgrey ctermfg=NONE cterm=NONE 124 | hi helpLeadBlank ctermbg=NONE ctermfg=NONE cterm=NONE 125 | hi helpNormal ctermbg=NONE ctermfg=NONE cterm=NONE 126 | hi StatusLine ctermbg=lightgray ctermfg=black cterm=NONE 127 | hi StatusLineNC ctermbg=darkgrey ctermfg=lightgray cterm=NONE 128 | hi StatusLineTerm ctermbg=lightgray ctermfg=black cterm=NONE 129 | hi StatusLineTermNC ctermbg=darkgrey ctermfg=lightgray cterm=NONE 130 | hi Visual ctermbg=black ctermfg=lightgrey cterm=reverse 131 | hi VisualNOS ctermbg=NONE ctermfg=NONE cterm=underline 132 | hi VertSplit ctermbg=darkgrey ctermfg=darkgrey cterm=NONE 133 | hi WildMenu ctermbg=lightgrey ctermfg=black cterm=NONE 134 | hi Function ctermbg=NONE ctermfg=white cterm=NONE 135 | hi SpecialKey ctermbg=NONE ctermfg=darkgrey cterm=NONE 136 | hi Title ctermbg=NONE ctermfg=white cterm=NONE 137 | hi DiffAdd ctermbg=black ctermfg=lightgrey cterm=reverse 138 | hi DiffChange ctermbg=black ctermfg=lightgrey cterm=reverse 139 | hi DiffDelete ctermbg=black ctermfg=lightgrey cterm=reverse 140 | hi DiffText ctermbg=black ctermfg=lightgrey cterm=reverse 141 | hi IncSearch ctermbg=lightgrey ctermfg=black cterm=NONE 142 | hi Search ctermbg=white ctermfg=black cterm=NONE 143 | hi Directory ctermbg=NONE ctermfg=lightgrey cterm=NONE 144 | hi debugPC ctermbg=lightgrey ctermfg=NONE cterm=NONE 145 | hi debugBreakpoint ctermbg=lightgrey ctermfg=NONE cterm=NONE 146 | hi SpellBad ctermbg=NONE ctermfg=lightgrey cterm=undercurl 147 | hi SpellCap ctermbg=NONE ctermfg=lightgrey cterm=undercurl 148 | hi SpellLocal ctermbg=NONE ctermfg=lightgrey cterm=undercurl 149 | hi SpellRare ctermbg=NONE ctermfg=lightgrey cterm=undercurl 150 | hi ColorColumn ctermbg=black ctermfg=NONE cterm=NONE 151 | endif 152 | 153 | hi link Terminal Normal 154 | hi link Number Constant 155 | hi link CursorIM Cursor 156 | hi link Boolean Constant 157 | hi link Character Constant 158 | hi link Conditional Statement 159 | hi link Debug Special 160 | hi link Define PreProc 161 | hi link Delimiter Special 162 | hi link Exception Statement 163 | hi link Float Number 164 | hi link HelpCommand Statement 165 | hi link HelpExample Statement 166 | hi link Include PreProc 167 | hi link Keyword Statement 168 | hi link Label Statement 169 | hi link Macro PreProc 170 | hi link Number Constant 171 | hi link Operator Statement 172 | hi link PreCondit PreProc 173 | hi link Repeat Statement 174 | hi link SpecialChar Special 175 | hi link SpecialComment Special 176 | hi link StorageClass Type 177 | hi link Structure Type 178 | hi link Tag Special 179 | hi link Terminal Normal 180 | hi link Typedef Type 181 | hi link htmlEndTag htmlTagName 182 | hi link htmlLink Function 183 | hi link htmlSpecialTagName htmlTagName 184 | hi link htmlTag htmlTagName 185 | hi link htmlBold Normal 186 | hi link htmlItalic Normal 187 | hi link xmlTag Statement 188 | hi link xmlTagName Statement 189 | hi link xmlEndTag Statement 190 | hi link markdownItalic Preproc 191 | hi link asciidocQuotedEmphasized Preproc 192 | hi link diffBDiffer WarningMsg 193 | hi link diffCommon WarningMsg 194 | hi link diffDiffer WarningMsg 195 | hi link diffIdentical WarningMsg 196 | hi link diffIsA WarningMsg 197 | hi link diffNoEOL WarningMsg 198 | hi link diffOnly WarningMsg 199 | hi link diffRemoved WarningMsg 200 | hi link diffAdded String 201 | hi link QuickFixLine Search 202 | 203 | let g:terminal_ansi_colors = [ 204 | \ '#1c1c1c', 205 | \ '#767676', 206 | \ '#767676', 207 | \ '#808080', 208 | \ '#808080', 209 | \ '#626262', 210 | \ '#767676', 211 | \ '#6c6c6c', 212 | \ '#444444', 213 | \ '#9e9e9e', 214 | \ '#9e9e9e', 215 | \ '#ffffff', 216 | \ '#a8a8a8', 217 | \ '#8a8a8a', 218 | \ '#949494', 219 | \ '#ffffff', 220 | \ ] 221 | 222 | " Generated with RNB (https://github.com/romainl/vim-rnb) 223 | --------------------------------------------------------------------------------