From 2d1c14da37b8981c57c02b8e44e66ddfc35da005 Mon Sep 17 00:00:00 2001 From: Sonny Date: Thu, 26 Apr 2018 15:24:55 +0200 Subject: [PATCH] KDE color scheme --- tmux/.tmux.conf | 1 - vim/.vimrc | 20 +- vim/colors/PaperColor.vim | 2093 ---------------------------- vim/colors/angr.vim | 155 -- vim/colors/breezy.vim | 53 +- vim/colors/bubblegum-256-light.vim | 160 --- vim/colors/carbonized-light.vim | 326 ----- vim/colors/despacio.vim | 363 ----- vim/colors/forgotten-light.vim | 244 ---- vim/colors/gruvbox.vim | 1394 ------------------ vim/colors/kalisi.vim | 621 --------- vim/colors/monokai.vim | 109 -- vim/colors/moody.vim | 97 -- vim/colors/one.vim | 833 ----------- vim/colors/quantum.vim | 262 ---- vim/colors/sierra.vim | 376 ----- vim/colors/simplify-light.vim | 244 ---- vim/colors/terminal-colors | 1 - vim/colors/tungsten.vim | 209 --- vim/colors/zenburn.vim | 468 ------- vim/syntax/python.vim | 304 ++++ 21 files changed, 344 insertions(+), 7989 deletions(-) delete mode 100644 vim/colors/PaperColor.vim delete mode 100644 vim/colors/angr.vim delete mode 100644 vim/colors/bubblegum-256-light.vim delete mode 100644 vim/colors/carbonized-light.vim delete mode 100644 vim/colors/despacio.vim delete mode 100644 vim/colors/forgotten-light.vim delete mode 100644 vim/colors/gruvbox.vim delete mode 100644 vim/colors/kalisi.vim delete mode 100644 vim/colors/monokai.vim delete mode 100644 vim/colors/moody.vim delete mode 100644 vim/colors/one.vim delete mode 100644 vim/colors/quantum.vim delete mode 100644 vim/colors/sierra.vim delete mode 100644 vim/colors/simplify-light.vim delete mode 100644 vim/colors/terminal-colors delete mode 100644 vim/colors/tungsten.vim delete mode 100644 vim/colors/zenburn.vim create mode 100644 vim/syntax/python.vim diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 1e72ded..c8ebb29 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -56,5 +56,4 @@ set -g history-limit 10000 set -g mouse on # terminal colors -set -g default-terminal "xterm-256color" diff --git a/vim/.vimrc b/vim/.vimrc index c5b66da..76c7621 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -12,7 +12,7 @@ set splitright set splitbelow " syntax on -syntax on +syntax enable " switch buffers without writing to file set hidden @@ -31,9 +31,13 @@ set wildmenu " use normal backspace behavior set backspace=2 -" disable background color erase -set t_ut= +set t_Co=256 +" colorscheme +if exists('+termguicolors') + set termguicolors + colorscheme breezy +endif " line numbers @@ -60,7 +64,7 @@ set lbr " default Colors for CursorLine set cursorline -highlight CursorLine cterm=none +highlight CursorLine cterm=NONE " activate statusbar set laststatus=2 @@ -100,11 +104,3 @@ map :Lexplore " tab for completion inoremap =Tab_Or_Complete() - -" colorscheme -if exists('+termguicolors') - set termguicolors - colorscheme simplify-dark -endif - - diff --git a/vim/colors/PaperColor.vim b/vim/colors/PaperColor.vim deleted file mode 100644 index d13cec5..0000000 --- a/vim/colors/PaperColor.vim +++ /dev/null @@ -1,2093 +0,0 @@ -" Theme: PaperColor -" Author: Nikyle Nguyen -" License: MIT -" Source: http://github.com/NLKNguyen/papercolor-theme - -let s:version = '0.9.x' - -" Note on navigating this source code: -" - Use folding feature to collapse/uncollapse blocks of marked code -" zM to fold all markers in this file to see the structure of the source code -" zR to unfold all recursively -" za to toggle a fold -" See: http://vim.wikia.com/wiki/Folding -" - The main section where functions are actually called is located at the end. -" - The first section right after this note is where themes are defined. Theme -" designers only need to work on this section. - -" THEMES: {{{ - -let s:themes = {} - -" Theme name should be lowercase -let s:themes['default'] = { - \ 'maintainer' : 'Nikyle Nguyen', - \ 'source' : 'http://github.com/NLKNguyen/papercolor-theme', - \ 'description' : 'Original PaperColor Theme, inspired by Google Material Design', - \ } - -" Theme can have 'light' and/or 'dark' color palette. -" Color values can be HEX and/or 256-color. Use empty string '' if not provided. -" Only color00 -> color15 are required. The rest are optional. -let s:themes['default'].light = { - \ 'TEST_256_COLOR_CONSISTENCY' : 1, - \ 'palette' : { - \ 'color00' : ['#eeeeee', '255'], - \ 'color01' : ['#af0000', '124'], - \ 'color02' : ['#008700', '28'], - \ 'color03' : ['#5f8700', '64'], - \ 'color04' : ['#0087af', '31'], - \ 'color05' : ['#878787', '102'], - \ 'color06' : ['#005f87', '24'], - \ 'color07' : ['#444444', '238'], - \ 'color08' : ['#bcbcbc', '250'], - \ 'color09' : ['#d70000', '160'], - \ 'color10' : ['#d70087', '162'], - \ 'color11' : ['#8700af', '91'], - \ 'color12' : ['#d75f00', '166'], - \ 'color13' : ['#d75f00', '166'], - \ 'color14' : ['#005faf', '25'], - \ 'color15' : ['#005f87', '24'], - \ 'color16' : ['#0087af', '31'], - \ 'color17' : ['#008700', '28'], - \ 'cursor_fg' : ['#eeeeee', '255'], - \ 'cursor_bg' : ['#005f87', '24'], - \ 'cursorline' : ['#e4e4e4', '254'], - \ 'cursorcolumn' : ['#e4e4e4', '254'], - \ 'cursorlinenr_fg' : ['#af5f00', '130'], - \ 'cursorlinenr_bg' : ['#eeeeee', '255'], - \ 'popupmenu_fg' : ['#444444', '238'], - \ 'popupmenu_bg' : ['#d0d0d0', '252'], - \ 'search_fg' : ['#444444', '238'], - \ 'search_bg' : ['#ffff5f', '227'], - \ 'linenumber_fg' : ['#b2b2b2', '249'], - \ 'linenumber_bg' : ['#eeeeee', '255'], - \ 'vertsplit_fg' : ['#005f87', '24'], - \ 'vertsplit_bg' : ['#eeeeee', '255'], - \ 'statusline_active_fg' : ['#e4e4e4', '254'], - \ 'statusline_active_bg' : ['#005f87', '24'], - \ 'statusline_inactive_fg' : ['#444444', '238'], - \ 'statusline_inactive_bg' : ['#d0d0d0', '252'], - \ 'todo_fg' : ['#00af5f', '35'], - \ 'todo_bg' : ['#eeeeee', '255'], - \ 'error_fg' : ['#af0000', '124'], - \ 'error_bg' : ['#ffd7ff', '225'], - \ 'matchparen_bg' : ['#c6c6c6', '251'], - \ 'matchparen_fg' : ['#005f87', '24'], - \ 'visual_fg' : ['#eeeeee', '255'], - \ 'visual_bg' : ['#0087af', '31'], - \ 'folded_fg' : ['#0087af', '31'], - \ 'folded_bg' : ['#afd7ff', '153'], - \ 'wildmenu_fg': ['#444444', '238'], - \ 'wildmenu_bg': ['#ffff00', '226'], - \ 'spellbad': ['#ffafd7', '218'], - \ 'spellcap': ['#ffffaf', '229'], - \ 'spellrare': ['#afff87', '156'], - \ 'spelllocal': ['#d7d7ff', '189'], - \ 'diffadd_fg': ['#008700', '28'], - \ 'diffadd_bg': ['#afffaf', '157'], - \ 'diffdelete_fg': ['#af0000', '124'], - \ 'diffdelete_bg': ['#ffd7ff', '225'], - \ 'difftext_fg': ['#0087af', '31'], - \ 'difftext_bg': ['#ffffd7', '230'], - \ 'diffchange_fg': ['#444444', '238'], - \ 'diffchange_bg': ['#ffd787', '222'], - \ 'tabline_bg': ['#005f87', '24'], - \ 'tabline_active_fg': ['#444444', '238'], - \ 'tabline_active_bg': ['#e4e4e4', '254'], - \ 'tabline_inactive_fg': ['#eeeeee', '255'], - \ 'tabline_inactive_bg': ['#0087af', '31'], - \ 'buftabline_bg': ['#005f87', '24'], - \ 'buftabline_current_fg': ['#444444', '238'], - \ 'buftabline_current_bg': ['#e4e4e4', '254'], - \ 'buftabline_active_fg': ['#eeeeee', '255'], - \ 'buftabline_active_bg': ['#005faf', '25'], - \ 'buftabline_inactive_fg': ['#eeeeee', '255'], - \ 'buftabline_inactive_bg': ['#0087af', '31'] - \ } - \ } - -let s:themes['default'].dark = { - \ 'TEST_256_COLOR_CONSISTENCY' : 1, - \ 'palette' : { - \ 'color00' : ['#1c1c1c', '234'], - \ 'color01' : ['#af005f', '125'], - \ 'color02' : ['#5faf00', '70'], - \ 'color03' : ['#d7af5f', '179'], - \ 'color04' : ['#5fafd7', '74'], - \ 'color05' : ['#808080', '244'], - \ 'color06' : ['#d7875f', '173'], - \ 'color07' : ['#d0d0d0', '252'], - \ 'color08' : ['#585858', '240'], - \ 'color09' : ['#5faf5f', '71'], - \ 'color10' : ['#afd700', '148'], - \ 'color11' : ['#af87d7', '140'], - \ 'color12' : ['#ffaf00', '214'], - \ 'color13' : ['#ff5faf', '205'], - \ 'color14' : ['#00afaf', '37'], - \ 'color15' : ['#5f8787', '66'], - \ 'color16' : ['#5fafd7', '74'], - \ 'color17' : ['#d7af00', '178'], - \ 'cursor_fg' : ['#1c1c1c', '234'], - \ 'cursor_bg' : ['#c6c6c6', '251'], - \ 'cursorline' : ['#303030', '236'], - \ 'cursorcolumn' : ['#303030', '236'], - \ 'cursorlinenr_fg' : ['#ffff00', '226'], - \ 'cursorlinenr_bg' : ['#1c1c1c', '234'], - \ 'popupmenu_fg' : ['#c6c6c6', '251'], - \ 'popupmenu_bg' : ['#303030', '236'], - \ 'search_fg' : ['#000000', '16'], - \ 'search_bg' : ['#00875f', '29'], - \ 'linenumber_fg' : ['#585858', '240'], - \ 'linenumber_bg' : ['#1c1c1c', '234'], - \ 'vertsplit_fg' : ['#5f8787', '66'], - \ 'vertsplit_bg' : ['#1c1c1c', '234'], - \ 'statusline_active_fg' : ['#1c1c1c', '234'], - \ 'statusline_active_bg' : ['#5f8787', '66'], - \ 'statusline_inactive_fg' : ['#bcbcbc', '250'], - \ 'statusline_inactive_bg' : ['#3a3a3a', '237'], - \ 'todo_fg' : ['#ff8700', '208'], - \ 'todo_bg' : ['#1c1c1c', '234'], - \ 'error_fg' : ['#af005f', '125'], - \ 'error_bg' : ['#5f0000', '52'], - \ 'matchparen_bg' : ['#4e4e4e', '239'], - \ 'matchparen_fg' : ['#c6c6c6', '251'], - \ 'visual_fg' : ['#000000', '16'], - \ 'visual_bg' : ['#8787af', '103'], - \ 'folded_fg' : ['#d787ff', '177'], - \ 'folded_bg' : ['#5f005f', '53'], - \ 'wildmenu_fg': ['#1c1c1c', '234'], - \ 'wildmenu_bg': ['#afd700', '148'], - \ 'tabline_bg': ['#262626', '235'], - \ 'tabline_active_fg': ['#121212', '233'], - \ 'tabline_active_bg': ['#00afaf', '37'], - \ 'tabline_inactive_fg': ['#bcbcbc', '250'], - \ 'tabline_inactive_bg': ['#585858', '240'], - \ 'spellbad': ['#5f0000', '52'], - \ 'spellcap': ['#5f005f', '53'], - \ 'spellrare': ['#005f00', '22'], - \ 'spelllocal': ['#00005f', '17'], - \ 'diffadd_fg': ['#87d700', '112'], - \ 'diffadd_bg': ['#005f00', '22'], - \ 'diffdelete_fg': ['#af005f', '125'], - \ 'diffdelete_bg': ['#5f0000', '52'], - \ 'difftext_fg': ['#5fffff', '87'], - \ 'difftext_bg': ['#008787', '30'], - \ 'diffchange_fg': ['#d0d0d0', '252'], - \ 'diffchange_bg': ['#005f5f', '23'] - \ } - \ } - - -" }}} - -" Get Selected Theme: {{{ - -let s:theme_name = 'default' - -if exists("g:PaperColor_Theme") " Users expressed theme preference - let lowercase_theme_name = tolower(g:PaperColor_Theme) - - if has_key(s:themes, lowercase_theme_name) "the name is part of built-in themes - let s:theme_name = lowercase_theme_name - - else "expect a variable with a designated theme name - let theme_variable = "g:PaperColor_Theme_" . lowercase_theme_name - - if exists(theme_variable) - " Register custom theme to theme dictionary - let s:themes[lowercase_theme_name] = {theme_variable} - let s:theme_name = lowercase_theme_name - else - echom "Cannot find variable " . theme_variable - " Still use 'default' theme - endif - - endif -endif - -let s:selected_theme = s:themes[s:theme_name] - - -" }}} - -" Command to show theme information {{{ -fun! g:PaperColor() - echom 'PaperColor Theme Framework' - echom ' version ' . s:version - echom ' by Nikyle Nguyen et al.' - echom ' at https://github.com/NLKNguyen/papercolor-theme/' - echom ' ' - echom 'Current theme: ' . s:theme_name - echom ' ' . s:selected_theme['description'] - echom ' by ' . s:selected_theme['maintainer'] - echom ' at ' . s:selected_theme['source'] - - " TODO: add diff display for theme color names between 'default' and current - " theme if it is a custom theme, i.e. child theme. -endfun - -" @brief command alias for g:PaperColor() -command! -nargs=0 PaperColor :call g:PaperColor() -" }}} - -" Get Theme Variant: either dark or light {{{ -let s:selected_variant = 'dark' - -let s:is_dark=(&background == 'dark') - -if s:is_dark - if has_key(s:selected_theme, 'dark') - let s:selected_variant = 'dark' - else " in case the theme only provides the other variant - let s:selected_variant = 'light' - endif - -else " is light background - if has_key(s:selected_theme, 'light') - let s:selected_variant = 'light' - else " in case the theme only provides the other variant - let s:selected_variant = 'dark' - endif -endif - -let s:palette = s:selected_theme[s:selected_variant].palette -" }}} - -" Systematic User-Config Options: {{{ -" Example config in .vimrc -" let g:PaperColor_Theme_Options = { -" \ 'theme': { -" \ 'default': { -" \ 'allow_bold': 1, -" \ 'allow_italic': 0, -" \ 'transparent_background': 1 -" \ } -" \ }, -" \ 'language': { -" \ 'python': { -" \ 'highlight_builtins' : 1 -" \ }, -" \ 'c': { -" \ 'highlight_builtins' : 1 -" \ }, -" \ 'cpp': { -" \ 'highlight_standard_library': 1 -" \ } -" \ } -" \ } -" -let s:options = {} -if exists("g:PaperColor_Theme_Options") - let s:options = g:PaperColor_Theme_Options -endif - -" }}} - -" Theme Options: {{{ -" Part of user-config options -let s:theme_options = {} -if has_key(s:options, 'theme') - let s:theme_options = s:options['theme'] -endif - - -" Function to obtain theme option for the current theme -" @param option - string -" @return the value of that option if specified; empty string otherwise -" Example: s:Theme_Options('transparent_background') -" returns 1 if there is an option for current theme in `theme` section in -" g:PaperColor_Theme_Options such as: -" 'theme': { -" \ 'default': { -" \ 'transparent_background': 1 -" \ } -" } -" OR it could specify for the exact light or dark variant of the theme, -" which will take higher precedence for the current theme variant -" 'theme': { -" \ 'default': { -" \ 'transparent_background': 0 -" \ }, -" \ 'default.light': { -" \ 'transparent_background': 1 -" \ } -" } -fun! s:Theme_Options(option) - let l:value = '' - - let l:variant = 'light' - if s:is_dark - let l:variant = 'dark' - endif - let l:specific_theme_variant = s:theme_name . '.' . l:variant - - if has_key(s:theme_options, l:specific_theme_variant) - let l:theme_option = s:theme_options[l:specific_theme_variant] - if has_key(l:theme_option, a:option) - let l:value = l:theme_option[a:option] - endif - elseif has_key(s:theme_options, s:theme_name) - let l:theme_option = s:theme_options[s:theme_name] - if has_key(l:theme_option, a:option) - let l:value = l:theme_option[a:option] - endif - endif - - return l:value -endfun - -" These options will be checked at many place so better be cached to variables -let s:TRANSPARENT_BACKGROUND = s:Theme_Options('transparent_background') == 1 - - -" }}} - -" Language Options: {{{ -" Part of user-config options -let s:language_options = {} -if has_key(s:options, 'language') - let s:language_options = s:options['language'] -endif - -" Function to obtain a language option -" @param option - string pattern [language].[option] -" @param value - number or string -" @return the option value if it is provided; empty string otherwise -" Example: s:Language_Options('python.highlight_builtins', 1) -" returns 1 if there is an option in `language` section in -" g:PaperColor_Theme_Options such as: -" 'language': { -" \ 'python': { -" \ 'highlight_builtins': 1 -" \ } -" } -fun! s:Language_Options(option) - let l:parts = split(a:option, "\\.") - let l:language = l:parts[0] - let l:option = l:parts[1] - - if has_key(s:language_options, l:language) - let l:language_option = s:language_options[l:language] - if has_key(l:language_option, l:option) - return l:language_option[l:option] - endif - endif - - return '' -endfun - -" }}} - -" HEX TO 256-COLOR CONVERTER: {{{ -" Returns an approximate grey index for the given grey level -fun! s:grey_number(x) - if &t_Co == 88 - if a:x < 23 - return 0 - elseif a:x < 69 - return 1 - elseif a:x < 103 - return 2 - elseif a:x < 127 - return 3 - elseif a:x < 150 - return 4 - elseif a:x < 173 - return 5 - elseif a:x < 196 - return 6 - elseif a:x < 219 - return 7 - elseif a:x < 243 - return 8 - else - return 9 - endif - else - if a:x < 14 - return 0 - else - let l:n = (a:x - 8) / 10 - let l:m = (a:x - 8) % 10 - if l:m < 5 - return l:n - else - return l:n + 1 - endif - endif - endif -endfun - -" Returns the actual grey level represented by the grey index -fun! s:grey_level(n) - if &t_Co == 88 - if a:n == 0 - return 0 - elseif a:n == 1 - return 46 - elseif a:n == 2 - return 92 - elseif a:n == 3 - return 115 - elseif a:n == 4 - return 139 - elseif a:n == 5 - return 162 - elseif a:n == 6 - return 185 - elseif a:n == 7 - return 208 - elseif a:n == 8 - return 231 - else - return 255 - endif - else - if a:n == 0 - return 0 - else - return 8 + (a:n * 10) - endif - endif -endfun - -" Returns the palette index for the given grey index -fun! s:grey_colour(n) - if &t_Co == 88 - if a:n == 0 - return 16 - elseif a:n == 9 - return 79 - else - return 79 + a:n - endif - else - if a:n == 0 - return 16 - elseif a:n == 25 - return 231 - else - return 231 + a:n - endif - endif -endfun - -" Returns an approximate colour index for the given colour level -fun! s:rgb_number(x) - if &t_Co == 88 - if a:x < 69 - return 0 - elseif a:x < 172 - return 1 - elseif a:x < 230 - return 2 - else - return 3 - endif - else - if a:x < 75 - return 0 - else - let l:n = (a:x - 55) / 40 - let l:m = (a:x - 55) % 40 - if l:m < 20 - return l:n - else - return l:n + 1 - endif - endif - endif -endfun - -" Returns the actual colour level for the given colour index -fun! s:rgb_level(n) - if &t_Co == 88 - if a:n == 0 - return 0 - elseif a:n == 1 - return 139 - elseif a:n == 2 - return 205 - else - return 255 - endif - else - if a:n == 0 - return 0 - else - return 55 + (a:n * 40) - endif - endif -endfun - -" Returns the palette index for the given R/G/B colour indices -fun! s:rgb_colour(x, y, z) - if &t_Co == 88 - return 16 + (a:x * 16) + (a:y * 4) + a:z - else - return 16 + (a:x * 36) + (a:y * 6) + a:z - endif -endfun - -" Returns the palette index to approximate the given R/G/B colour levels -fun! s:colour(r, g, b) - " Get the closest grey - let l:gx = s:grey_number(a:r) - let l:gy = s:grey_number(a:g) - let l:gz = s:grey_number(a:b) - - " Get the closest colour - let l:x = s:rgb_number(a:r) - let l:y = s:rgb_number(a:g) - let l:z = s:rgb_number(a:b) - - if l:gx == l:gy && l:gy == l:gz - " There are two possibilities - let l:dgr = s:grey_level(l:gx) - a:r - let l:dgg = s:grey_level(l:gy) - a:g - let l:dgb = s:grey_level(l:gz) - a:b - let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) - let l:dr = s:rgb_level(l:gx) - a:r - let l:dg = s:rgb_level(l:gy) - a:g - let l:db = s:rgb_level(l:gz) - a:b - let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db) - if l:dgrey < l:drgb - " Use the grey - return s:grey_colour(l:gx) - else - " Use the colour - return s:rgb_colour(l:x, l:y, l:z) - endif - else - " Only one possibility - return s:rgb_colour(l:x, l:y, l:z) - endif -endfun - -" Returns the palette index to approximate the '#rrggbb' hex string -fun! s:to_256(rgb) - let l:r = ("0x" . strpart(a:rgb, 1, 2)) + 0 - let l:g = ("0x" . strpart(a:rgb, 3, 2)) + 0 - let l:b = ("0x" . strpart(a:rgb, 5, 2)) + 0 - - return s:colour(l:r, l:g, l:b) -endfun - - - -" }}} - -" 256-COLOR TO HEX TABLE: {{{ - -""" Xterm 256 color dictionary -" See: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html -" -let s:to_HEX = { - \ '00': '#000000', '01': '#800000', '02': '#008000', '03': '#808000', '04': '#000080', - \ '05': '#800080', '06': '#008080', '07': '#c0c0c0', '08': '#808080', '09': '#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': '#626262', '242': '#6c6c6c', '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' } - -" }}} - -" COLOR MODE IDENTIFICATION: {{{ -let s:MODE_16_COLOR = 0 -let s:MODE_256_COLOR = 1 -let s:MODE_GUI_COLOR = 2 - -if has("gui_running") || has('termguicolors') && &termguicolors || has('nvim') && $NVIM_TUI_ENABLE_TRUE_COLOR - let s:mode = s:MODE_GUI_COLOR -elseif (&t_Co >= 256) - let s:mode = s:MODE_256_COLOR -else - let s:mode = s:MODE_16_COLOR -endif - -" }}} - -" COLOR MODE ADAPTATION: {{{ -" Handle Preprocessing For Current Color Set If Necessary -fun! s:adapt_to_environment() - if s:mode == s:MODE_GUI_COLOR - let s:ft_bold = " gui=bold " - let s:ft_italic = " gui=italic " - let s:ft_none = " gui=none " - let s:ft_reverse = " gui=reverse " - " TODO: if require auto-gui-color coversion - elseif s:mode == s:MODE_256_COLOR - let s:ft_bold = " cterm=bold " - let s:ft_italic = " cterm=italic " - let s:ft_none = " cterm=none " - let s:ft_reverse = " cterm=reverse " - " TODO: if require auto-256-color coversion - else - let s:ft_bold = "" - let s:ft_italic = "" - let s:ft_none = " cterm=none " - let s:ft_reverse = " cterm=reverse " - endif -endfun -" }}} - - - -" SET COLOR VARIABLES: {{{ -fun! s:set_color_variables() - - " Helper: {{{ - " ------- - " Function to dynamically generate variables that store the color strings - " for setting highlighting. Each color name will have 2 variables with prefix - " s:fg_ and s:bg_. For example: - " if a:color_name is 'Normal' and a:color_value is ['#000000', '0', 'Black'], - " the following 2 variables will be created: - " s:fg_Normal that stores the string ' guifg=#000000 ' - " s:bg_Normal that stores the string ' guibg=#000000 ' - " Depending on the color mode, ctermfg and ctermbg will be either 0 or Black - " - " Rationale: - " The whole purpose is for speed. We generate these ahead of time so that we - " don't have to do look up or do any if-branch when we set the highlightings. - " - " Furthermore, multiple function definitions for each mode actually reduces - " the need for multiple if-branches inside a single function. This is not - " pretty, but Vim Script is slow, so reducing if-branches in function that is - " often called helps speeding things up quite a bit. Think of this like macro. - " - " If you are familiar with the old code base (v0.9 and ealier), this way of - " generate variables dramatically increases the loading speed. - " None of previous optimization tricks gets anywhere near this. - if s:mode == s:MODE_GUI_COLOR - fun! s:create_color_variables(color_name, color_value) - let {'s:fg_' . a:color_name} = ' guifg=' . a:color_value[0] . ' ' - let {'s:bg_' . a:color_name} = ' guibg=' . a:color_value[0] . ' ' - endfun - elseif s:mode == s:MODE_256_COLOR - fun! s:create_color_variables(color_name, color_value) - let {'s:fg_' . a:color_name} = ' ctermfg=' . a:color_value[1] . ' ' - let {'s:bg_' . a:color_name} = ' ctermbg=' . a:color_value[1] . ' ' - endfun - else - fun! s:create_color_variables(color_name, color_value) - let {'s:fg_' . a:color_name} = ' ctermfg=' . a:color_value[2] . ' ' - let {'s:bg_' . a:color_name} = ' ctermbg=' . a:color_value[2] . ' ' - endfun - endif - " }}} - - " Color value format: Array [, <256-Base>, <16-Base>] - " 16-Base is terminal's native color palette that can be alternated through - " the terminal settings. The 16-color names are according to `:h cterm-colors` - - " BASIC COLORS: - " color00-15 are required by all themes. - " These are also how the terminal color palette for the target theme should be. - " See README for theme design guideline - " - " An example format of the below variable's value: ['#262626', '234', 'Black'] - " Where the 1st value is HEX color for GUI Vim, 2nd value is for 256-color terminal, - " and the color name on the right is for 16-color terminal (the actual terminal colors - " can be different from what the color names suggest). See :h cterm-colors - " - " Depending on the provided color palette and current Vim, the 1st and 2nd - " parameter might not exist, for example, on 16-color terminal, the variables below - " only store the color names to use the terminal color palette which is the only - " thing available therefore no need for GUI-color or 256-color. - - - call s:create_color_variables('background', get(s:palette, 'color00') + ['Black']) - call s:create_color_variables('negative', get(s:palette, 'color01') + ['DarkRed']) - call s:create_color_variables('positive', get(s:palette, 'color02') + ['DarkGreen']) - call s:create_color_variables('olive', get(s:palette, 'color03') + ['DarkYellow']) " string - call s:create_color_variables('neutral', get(s:palette, 'color04') + ['DarkBlue']) - call s:create_color_variables('comment', get(s:palette, 'color05') + ['DarkMagenta']) - call s:create_color_variables('navy', get(s:palette, 'color06') + ['DarkCyan']) " storageclass - call s:create_color_variables('foreground', get(s:palette, 'color07') + ['LightGray']) - - call s:create_color_variables('nontext', get(s:palette, 'color08') + ['DarkGray']) - call s:create_color_variables('red', get(s:palette, 'color09') + ['LightRed']) " import / try/catch - call s:create_color_variables('pink', get(s:palette, 'color10') + ['LightGreen']) " statement, type - call s:create_color_variables('purple', get(s:palette, 'color11') + ['LightYellow']) " if / conditional - call s:create_color_variables('accent', get(s:palette, 'color12') + ['LightBlue']) - call s:create_color_variables('orange', get(s:palette, 'color13') + ['LightMagenta']) " number - call s:create_color_variables('blue', get(s:palette, 'color14') + ['LightCyan']) " other keyword - call s:create_color_variables('highlight', get(s:palette, 'color15') + ['White']) - - " Note: special case for FoldColumn group. I want to get rid of this case. - call s:create_color_variables('transparent', [get(s:palette, 'color00')[0], 'none', 'none']) - - " EXTENDED COLORS: - " From here on, all colors are optional and must have default values (3rd parameter of the - " `get` command) that point to the above basic colors in case the target theme doesn't - " provide the extended colors. The default values should be reasonably sensible. - " The terminal color must be provided also. - - call s:create_color_variables('aqua', get(s:palette, 'color16', get(s:palette, 'color14')) + ['LightCyan']) - call s:create_color_variables('green', get(s:palette, 'color17', get(s:palette, 'color13')) + ['LightMagenta']) - call s:create_color_variables('wine', get(s:palette, 'color18', get(s:palette, 'color11')) + ['LightYellow']) - - " LineNumber: when set number - call s:create_color_variables('linenumber_fg', get(s:palette, 'linenumber_fg', get(s:palette, 'color08')) + ['DarkGray']) - call s:create_color_variables('linenumber_bg', get(s:palette, 'linenumber_bg', get(s:palette, 'color00')) + ['Black']) - - " Vertical Split: when there are more than 1 window side by side, ex: - call s:create_color_variables('vertsplit_fg', get(s:palette, 'vertsplit_fg', get(s:palette, 'color15')) + ['White']) - call s:create_color_variables('vertsplit_bg', get(s:palette, 'vertsplit_bg', get(s:palette, 'color00')) + ['Black']) - - " Statusline: when set status=2 - call s:create_color_variables('statusline_active_fg', get(s:palette, 'statusline_active_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('statusline_active_bg', get(s:palette, 'statusline_active_bg', get(s:palette, 'color15')) + ['White']) - call s:create_color_variables('statusline_inactive_fg', get(s:palette, 'statusline_inactive_fg', get(s:palette, 'color07')) + ['LightGray']) - call s:create_color_variables('statusline_inactive_bg', get(s:palette, 'statusline_inactive_bg', get(s:palette, 'color08')) + ['DarkGray']) - - - " Cursor: in normal mode - call s:create_color_variables('cursor_fg', get(s:palette, 'cursor_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('cursor_bg', get(s:palette, 'cursor_bg', get(s:palette, 'color07')) + ['LightGray']) - - call s:create_color_variables('cursorline', get(s:palette, 'cursorline', get(s:palette, 'color00')) + ['Black']) - - " CursorColumn: when set cursorcolumn - call s:create_color_variables('cursorcolumn', get(s:palette, 'cursorcolumn', get(s:palette, 'color00')) + ['Black']) - - " CursorLine Number: when set cursorline number - call s:create_color_variables('cursorlinenr_fg', get(s:palette, 'cursorlinenr_fg', get(s:palette, 'color13')) + ['LightMagenta']) - call s:create_color_variables('cursorlinenr_bg', get(s:palette, 'cursorlinenr_bg', get(s:palette, 'color00')) + ['Black']) - - " Popup Menu: when for autocomplete - call s:create_color_variables('popupmenu_fg', get(s:palette, 'popupmenu_fg', get(s:palette, 'color07')) + ['LightGray']) - call s:create_color_variables('popupmenu_bg', get(s:palette, 'popupmenu_bg', get(s:palette, 'color08')) + ['DarkGray']) - - " Search: ex: when * on a word - call s:create_color_variables('search_fg', get(s:palette, 'search_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('search_bg', get(s:palette, 'search_bg', get(s:palette, 'color15')) + ['Yellow']) - - " Todo: ex: TODO - call s:create_color_variables('todo_fg', get(s:palette, 'todo_fg', get(s:palette, 'color05')) + ['LightYellow']) - call s:create_color_variables('todo_bg', get(s:palette, 'todo_bg', get(s:palette, 'color00')) + ['Black']) - - " Error: ex: turn spell on and have invalid words - call s:create_color_variables('error_fg', get(s:palette, 'error_fg', get(s:palette, 'color01')) + ['DarkRed']) - call s:create_color_variables('error_bg', get(s:palette, 'error_bg', get(s:palette, 'color00')) + ['Black']) - - " Match Parenthesis: selecting an opening/closing pair and the other one will be highlighted - call s:create_color_variables('matchparen_fg', get(s:palette, 'matchparen_fg', get(s:palette, 'color00')) + ['LightMagenta']) - call s:create_color_variables('matchparen_bg', get(s:palette, 'matchparen_bg', get(s:palette, 'color05')) + ['Black']) - - " Visual: - call s:create_color_variables('visual_fg', get(s:palette, 'visual_fg', get(s:palette, 'color08')) + ['Black']) - call s:create_color_variables('visual_bg', get(s:palette, 'visual_bg', get(s:palette, 'color07')) + ['White']) - - " Folded: - call s:create_color_variables('folded_fg', get(s:palette, 'folded_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('folded_bg', get(s:palette, 'folded_bg', get(s:palette, 'color05')) + ['DarkYellow']) - - " WildMenu: Autocomplete command, ex: :color - call s:create_color_variables('wildmenu_fg', get(s:palette, 'wildmenu_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('wildmenu_bg', get(s:palette, 'wildmenu_bg', get(s:palette, 'color06')) + ['LightGray']) - - " Spelling: when spell on and there are spelling problems like this for example: papercolor. a vim color scheme - call s:create_color_variables('spellbad', get(s:palette, 'spellbad', get(s:palette, 'color04')) + ['DarkRed']) - call s:create_color_variables('spellcap', get(s:palette, 'spellcap', get(s:palette, 'color05')) + ['DarkMagenta']) - call s:create_color_variables('spellrare', get(s:palette, 'spellrare', get(s:palette, 'color06')) + ['DarkYellow']) - call s:create_color_variables('spelllocal', get(s:palette, 'spelllocal', get(s:palette, 'color01')) + ['DarkBlue']) - - " Diff: - call s:create_color_variables('diffadd_fg', get(s:palette, 'diffadd_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('diffadd_bg', get(s:palette, 'diffadd_bg', get(s:palette, 'color02')) + ['DarkGreen']) - - call s:create_color_variables('diffdelete_fg', get(s:palette, 'diffdelete_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('diffdelete_bg', get(s:palette, 'diffdelete_bg', get(s:palette, 'color04')) + ['DarkRed']) - - call s:create_color_variables('difftext_fg', get(s:palette, 'difftext_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('difftext_bg', get(s:palette, 'difftext_bg', get(s:palette, 'color06')) + ['DarkYellow']) - - call s:create_color_variables('diffchange_fg', get(s:palette, 'diffchange_fg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('diffchange_bg', get(s:palette, 'diffchange_bg', get(s:palette, 'color14')) + ['LightYellow']) - - " Tabline: when having tabs, ex: :tabnew - call s:create_color_variables('tabline_bg', get(s:palette, 'tabline_bg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('tabline_active_fg', get(s:palette, 'tabline_active_fg', get(s:palette, 'color07')) + ['LightGray']) - call s:create_color_variables('tabline_active_bg', get(s:palette, 'tabline_active_bg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('tabline_inactive_fg', get(s:palette, 'tabline_inactive_fg', get(s:palette, 'color07')) + ['Black']) - call s:create_color_variables('tabline_inactive_bg', get(s:palette, 'tabline_inactive_bg', get(s:palette, 'color08')) + ['DarkMagenta']) - - " Plugin: BufTabLine https://github.com/ap/vim-buftabline - call s:create_color_variables('buftabline_bg', get(s:palette, 'buftabline_bg', get(s:palette, 'color00')) + ['Black']) - call s:create_color_variables('buftabline_current_fg', get(s:palette, 'buftabline_current_fg', get(s:palette, 'color07')) + ['LightGray']) - call s:create_color_variables('buftabline_current_bg', get(s:palette, 'buftabline_current_bg', get(s:palette, 'color05')) + ['DarkMagenta']) - call s:create_color_variables('buftabline_active_fg', get(s:palette, 'buftabline_active_fg', get(s:palette, 'color07')) + ['LightGray']) - call s:create_color_variables('buftabline_active_bg', get(s:palette, 'buftabline_active_bg', get(s:palette, 'color12')) + ['LightBlue']) - call s:create_color_variables('buftabline_inactive_fg', get(s:palette, 'buftabline_inactive_fg', get(s:palette, 'color07')) + ['LightGray']) - call s:create_color_variables('buftabline_inactive_bg', get(s:palette, 'buftabline_inactive_bg', get(s:palette, 'color00')) + ['Black']) - - " Neovim terminal colors https://neovim.io/doc/user/nvim_terminal_emulator.html#nvim-terminal-emulator-configuration - " TODO: Fix this - let g:terminal_color_0=get(s:palette, 'color00')[0] - let g:terminal_color_1=get(s:palette, 'color01')[0] - let g:terminal_color_2=get(s:palette, 'color02')[0] - let g:terminal_color_3=get(s:palette, 'color03')[0] - let g:terminal_color_4=get(s:palette, 'color04')[0] - let g:terminal_color_5=get(s:palette, 'color05')[0] - let g:terminal_color_6=get(s:palette, 'color06')[0] - let g:terminal_color_7=get(s:palette, 'color07')[0] - let g:terminal_color_8=get(s:palette, 'color08')[0] - let g:terminal_color_9=get(s:palette, 'color09')[0] - let g:terminal_color_10=get(s:palette, 'color10')[0] - let g:terminal_color_11=get(s:palette, 'color11')[0] - let g:terminal_color_12=get(s:palette, 'color12')[0] - let g:terminal_color_13=get(s:palette, 'color13')[0] - let g:terminal_color_14=get(s:palette, 'color14')[0] - let g:terminal_color_15=get(s:palette, 'color15')[0] - -endfun -" }}} - -" SET SYNTAX HIGHLIGHTING: {{{ - -fun! s:set_syntax_highlighting() - - if s:TRANSPARENT_BACKGROUND - exec 'hi Normal' . s:fg_foreground - " Switching between dark & light variant through `set background` - " NOTE: Handle background switching right after `Normal` group because of - " God-know-why reason. Not doing this way had caused issue before - if s:is_dark " DARK VARIANT - set background=dark - else " LIGHT VARIANT - set background=light - endif - - exec 'hi NonText' . s:fg_nontext - exec 'hi LineNr' . s:fg_linenumber_fg - exec 'hi Conceal' . s:fg_linenumber_fg - exec 'hi VertSplit' . s:fg_vertsplit_fg . s:ft_none - exec 'hi FoldColumn' . s:fg_folded_fg . s:bg_transparent . s:ft_none - else - exec 'hi Normal' . s:fg_foreground . s:bg_background - " Switching between dark & light variant through `set background` - if s:is_dark " DARK VARIANT - set background=dark - else " LIGHT VARIANT - set background=light - endif - - exec 'hi NonText' . s:fg_nontext . s:bg_background - exec 'hi LineNr' . s:fg_linenumber_fg . s:bg_linenumber_bg - exec 'hi Conceal' . s:fg_linenumber_fg . s:bg_linenumber_bg - exec 'hi VertSplit' . s:fg_vertsplit_bg . s:bg_vertsplit_fg - exec 'hi FoldColumn' . s:fg_folded_fg . s:bg_background . s:ft_none - endif - - exec 'hi Cursor' . s:fg_cursor_fg . s:bg_cursor_bg - exec 'hi SpecialKey' . s:fg_nontext - exec 'hi Search' . s:fg_search_fg . s:bg_search_bg - exec 'hi StatusLine' . s:fg_statusline_active_bg . s:bg_statusline_active_fg - exec 'hi StatusLineNC' . s:fg_statusline_inactive_bg . s:bg_statusline_inactive_fg - exec 'hi Visual' . s:fg_visual_fg . s:bg_visual_bg - exec 'hi Directory' . s:fg_blue - exec 'hi ModeMsg' . s:fg_olive - exec 'hi MoreMsg' . s:fg_olive - exec 'hi Question' . s:fg_olive - exec 'hi WarningMsg' . s:fg_pink - exec 'hi MatchParen' . s:fg_matchparen_fg . s:bg_matchparen_bg - exec 'hi Folded' . s:fg_folded_fg . s:bg_folded_bg - exec 'hi WildMenu' . s:fg_wildmenu_fg . s:bg_wildmenu_bg . s:ft_bold - - if version >= 700 - exec 'hi CursorLine' . s:bg_cursorline . s:ft_none - if s:mode == s:MODE_16_COLOR - exec 'hi CursorLineNr' . s:fg_cursorlinenr_fg . s:bg_cursorlinenr_bg - else - exec 'hi CursorLineNr' . s:fg_cursorlinenr_fg . s:bg_cursorlinenr_bg . s:ft_none - endif - exec 'hi CursorColumn' . s:bg_cursorcolumn . s:ft_none - exec 'hi PMenu' . s:fg_popupmenu_fg . s:bg_popupmenu_bg . s:ft_none - exec 'hi PMenuSel' . s:fg_popupmenu_fg . s:bg_popupmenu_bg . s:ft_reverse - if s:TRANSPARENT_BACKGROUND - exec 'hi SignColumn' . s:fg_green . s:ft_none - else - exec 'hi SignColumn' . s:fg_green . s:bg_background . s:ft_none - endif - end - if version >= 703 - exec 'hi ColorColumn' . s:bg_cursorcolumn . s:ft_none - end - - exec 'hi TabLine' . s:fg_tabline_inactive_fg . s:bg_tabline_inactive_bg . s:ft_none - exec 'hi TabLineFill' . s:fg_tabline_bg . s:bg_tabline_bg . s:ft_none - exec 'hi TabLineSel' . s:fg_tabline_active_fg . s:bg_tabline_active_bg . s:ft_none - - exec 'hi BufTabLineCurrent' . s:fg_buftabline_current_fg . s:bg_buftabline_current_bg . s:ft_none - exec 'hi BufTabLineActive' . s:fg_buftabline_active_fg . s:bg_buftabline_active_bg . s:ft_none - exec 'hi BufTabLineHidden' . s:fg_buftabline_inactive_fg . s:bg_buftabline_inactive_bg . s:ft_none - exec 'hi BufTabLineFill' . s:bg_buftabline_bg . s:ft_none - - " Standard Group Highlighting: - exec 'hi Comment' . s:fg_comment - - exec 'hi Constant' . s:fg_orange - exec 'hi String' . s:fg_olive - exec 'hi Character' . s:fg_olive - exec 'hi Number' . s:fg_orange - exec 'hi Boolean' . s:fg_green . s:ft_bold - exec 'hi Float' . s:fg_orange - - exec 'hi Identifier' . s:fg_navy - exec 'hi Function' . s:fg_foreground - - exec 'hi Statement' . s:fg_pink . s:ft_none - exec 'hi Conditional' . s:fg_purple . s:ft_bold - exec 'hi Repeat' . s:fg_purple . s:ft_bold - exec 'hi Label' . s:fg_blue - exec 'hi Operator' . s:fg_aqua . s:ft_none - exec 'hi Keyword' . s:fg_blue - exec 'hi Exception' . s:fg_red - - exec 'hi PreProc' . s:fg_blue - exec 'hi Include' . s:fg_red - exec 'hi Define' . s:fg_blue - exec 'hi Macro' . s:fg_blue - exec 'hi PreCondit' . s:fg_aqua - - exec 'hi Type' . s:fg_pink . s:ft_bold - exec 'hi StorageClass' . s:fg_navy . s:ft_bold - exec 'hi Structure' . s:fg_blue . s:ft_bold - exec 'hi Typedef' . s:fg_pink . s:ft_bold - - exec 'hi Special' . s:fg_foreground - exec 'hi SpecialChar' . s:fg_foreground - exec 'hi Tag' . s:fg_green - exec 'hi Delimiter' . s:fg_aqua - exec 'hi SpecialComment' . s:fg_comment . s:ft_bold - exec 'hi Debug' . s:fg_orange - - exec 'hi Error' . s:fg_error_fg . s:bg_error_bg - exec 'hi Todo' . s:fg_todo_fg . s:bg_todo_bg . s:ft_bold - - exec 'hi Title' . s:fg_comment - exec 'hi Global' . s:fg_blue - - - " Extension {{{ - " VimL Highlighting - exec 'hi vimCommand' . s:fg_pink - exec 'hi vimVar' . s:fg_navy - exec 'hi vimFuncKey' . s:fg_pink - exec 'hi vimFunction' . s:fg_blue . s:ft_bold - exec 'hi vimNotFunc' . s:fg_pink - exec 'hi vimMap' . s:fg_red - exec 'hi vimAutoEvent' . s:fg_aqua . s:ft_bold - exec 'hi vimMapModKey' . s:fg_aqua - exec 'hi vimFuncName' . s:fg_purple - exec 'hi vimIsCommand' . s:fg_foreground - exec 'hi vimFuncVar' . s:fg_aqua - exec 'hi vimLet' . s:fg_red - exec 'hi vimContinue' . s:fg_aqua - exec 'hi vimMapRhsExtend' . s:fg_foreground - exec 'hi vimCommentTitle' . s:fg_comment . s:ft_bold - exec 'hi vimBracket' . s:fg_aqua - exec 'hi vimParenSep' . s:fg_aqua - exec 'hi vimNotation' . s:fg_aqua - exec 'hi vimOper' . s:fg_foreground - exec 'hi vimOperParen' . s:fg_foreground - exec 'hi vimSynType' . s:fg_purple - exec 'hi vimSynReg' . s:fg_pink . s:ft_none - exec 'hi vimSynKeyRegion' . s:fg_green - exec 'hi vimSynRegOpt' . s:fg_blue - exec 'hi vimSynMtchOpt' . s:fg_blue - exec 'hi vimSynContains' . s:fg_pink - exec 'hi vimGroupName' . s:fg_foreground - exec 'hi vimGroupList' . s:fg_foreground - exec 'hi vimHiGroup' . s:fg_foreground - exec 'hi vimGroup' . s:fg_navy . s:ft_bold - exec 'hi vimOnlyOption' . s:fg_blue - - " Makefile Highlighting - exec 'hi makeIdent' . s:fg_blue - exec 'hi makeSpecTarget' . s:fg_olive - exec 'hi makeTarget' . s:fg_red - exec 'hi makeStatement' . s:fg_aqua . s:ft_bold - exec 'hi makeCommands' . s:fg_foreground - exec 'hi makeSpecial' . s:fg_orange . s:ft_bold - - " CMake Highlighting - exec 'hi cmakeStatement' . s:fg_pink - exec 'hi cmakeArguments' . s:fg_foreground - exec 'hi cmakeVariableValue' . s:fg_blue - exec 'hi cmakeOperators' . s:fg_red - - " C Highlighting - exec 'hi cType' . s:fg_pink . s:ft_bold - exec 'hi cFormat' . s:fg_olive - exec 'hi cStorageClass' . s:fg_navy . s:ft_bold - - exec 'hi cBoolean' . s:fg_green - exec 'hi cCharacter' . s:fg_olive - exec 'hi cConstant' . s:fg_green . s:ft_bold - exec 'hi cConditional' . s:fg_purple . s:ft_bold - exec 'hi cSpecial' . s:fg_olive . s:ft_bold - exec 'hi cDefine' . s:fg_blue - exec 'hi cNumber' . s:fg_orange - exec 'hi cPreCondit' . s:fg_aqua - exec 'hi cRepeat' . s:fg_purple . s:ft_bold - exec 'hi cLabel' . s:fg_aqua - " exec 'hi cAnsiFunction' . s:fg_aqua . s:ft_bold - " exec 'hi cAnsiName' . s:fg_pink - exec 'hi cDelimiter' . s:fg_blue - " exec 'hi cBraces' . s:fg_foreground - " exec 'hi cIdentifier' . s:fg_blue . s:bg_pink - " exec 'hi cSemiColon' . s:bg_blue - exec 'hi cOperator' . s:fg_aqua - " exec 'hi cStatement' . s:fg_pink - " exec 'hi cTodo' . s:fg_comment . s:ft_bold - " exec 'hi cStructure' . s:fg_blue . s:ft_bold - exec 'hi cCustomParen' . s:fg_foreground - " exec 'hi cCustomFunc' . s:fg_foreground - " exec 'hi cUserFunction' . s:fg_blue . s:ft_bold - exec 'hi cOctalZero' . s:fg_purple . s:ft_bold - if s:Language_Options('c.highlight_builtins') == 1 - exec 'hi cFunction' . s:fg_blue - else - exec 'hi cFunction' . s:fg_foreground - endif - - " CPP highlighting - exec 'hi cppBoolean' . s:fg_navy - exec 'hi cppSTLnamespace' . s:fg_purple - exec 'hi cppSTLexception' . s:fg_pink - exec 'hi cppSTLfunctional' . s:fg_foreground . s:ft_bold - exec 'hi cppSTLiterator' . s:fg_foreground . s:ft_bold - exec 'hi cppExceptions' . s:fg_red - exec 'hi cppStatement' . s:fg_blue - exec 'hi cppStorageClass' . s:fg_navy . s:ft_bold - exec 'hi cppAccess' . s:fg_blue - if s:Language_Options('cpp.highlight_standard_library') == 1 - exec 'hi cppSTLconstant' . s:fg_green . s:ft_bold - exec 'hi cppSTLtype' . s:fg_pink . s:ft_bold - exec 'hi cppSTLfunction' . s:fg_blue - exec 'hi cppSTLios' . s:fg_olive . s:ft_bold - else - exec 'hi cppSTLconstant' . s:fg_foreground - exec 'hi cppSTLtype' . s:fg_foreground - exec 'hi cppSTLfunction' . s:fg_foreground - exec 'hi cppSTLios' . s:fg_foreground - endif - " exec 'hi cppSTL' . s:fg_blue - - - " Lex highlighting - exec 'hi lexCFunctions' . s:fg_foreground - exec 'hi lexAbbrv' . s:fg_purple - exec 'hi lexAbbrvRegExp' . s:fg_aqua - exec 'hi lexAbbrvComment' . s:fg_comment - exec 'hi lexBrace' . s:fg_navy - exec 'hi lexPat' . s:fg_aqua - exec 'hi lexPatComment' . s:fg_comment - exec 'hi lexPatTag' . s:fg_orange - " exec 'hi lexPatBlock' . s:fg_foreground . s:ft_bold - exec 'hi lexSlashQuote' . s:fg_foreground - exec 'hi lexSep' . s:fg_foreground - exec 'hi lexStartState' . s:fg_orange - exec 'hi lexPatTagZone' . s:fg_olive . s:ft_bold - exec 'hi lexMorePat' . s:fg_olive . s:ft_bold - exec 'hi lexOptions' . s:fg_olive . s:ft_bold - exec 'hi lexPatString' . s:fg_olive - - " Yacc highlighting - exec 'hi yaccNonterminal' . s:fg_navy - exec 'hi yaccDelim' . s:fg_orange - exec 'hi yaccInitKey' . s:fg_aqua - exec 'hi yaccInit' . s:fg_navy - exec 'hi yaccKey' . s:fg_purple - exec 'hi yaccVar' . s:fg_aqua - - " NASM highlighting - exec 'hi nasmStdInstruction' . s:fg_navy - exec 'hi nasmGen08Register' . s:fg_aqua - exec 'hi nasmGen16Register' . s:fg_aqua - exec 'hi nasmGen32Register' . s:fg_aqua - exec 'hi nasmGen64Register' . s:fg_aqua - exec 'hi nasmHexNumber' . s:fg_purple - exec 'hi nasmStorage' . s:fg_aqua . s:ft_bold - exec 'hi nasmLabel' . s:fg_pink - exec 'hi nasmDirective' . s:fg_blue . s:ft_bold - exec 'hi nasmLocalLabel' . s:fg_orange - - " GAS highlighting - exec 'hi gasSymbol' . s:fg_pink - exec 'hi gasDirective' . s:fg_blue . s:ft_bold - exec 'hi gasOpcode_386_Base' . s:fg_navy - exec 'hi gasDecimalNumber' . s:fg_purple - exec 'hi gasSymbolRef' . s:fg_pink - exec 'hi gasRegisterX86' . s:fg_blue - exec 'hi gasOpcode_P6_Base' . s:fg_navy - exec 'hi gasDirectiveStore' . s:fg_foreground . s:ft_bold - - " MIPS highlighting - exec 'hi mipsInstruction' . s:fg_pink - exec 'hi mipsRegister' . s:fg_navy - exec 'hi mipsLabel' . s:fg_aqua . s:ft_bold - exec 'hi mipsDirective' . s:fg_purple . s:ft_bold - - " Shell/Bash highlighting - exec 'hi bashStatement' . s:fg_foreground . s:ft_bold - exec 'hi shDerefVar' . s:fg_aqua . s:ft_bold - exec 'hi shDerefSimple' . s:fg_aqua - exec 'hi shFunction' . s:fg_orange . s:ft_bold - exec 'hi shStatement' . s:fg_foreground - exec 'hi shLoop' . s:fg_purple . s:ft_bold - exec 'hi shQuote' . s:fg_olive - exec 'hi shCaseEsac' . s:fg_aqua . s:ft_bold - exec 'hi shSnglCase' . s:fg_purple . s:ft_none - exec 'hi shFunctionOne' . s:fg_navy - exec 'hi shCase' . s:fg_navy - exec 'hi shSetList' . s:fg_navy - " @see Dockerfile Highlighting section for more sh* - - " HTML Highlighting - exec 'hi htmlTitle' . s:fg_green . s:ft_bold - exec 'hi htmlH1' . s:fg_green . s:ft_bold - exec 'hi htmlH2' . s:fg_aqua . s:ft_bold - exec 'hi htmlH3' . s:fg_purple . s:ft_bold - exec 'hi htmlH4' . s:fg_orange . s:ft_bold - exec 'hi htmlTag' . s:fg_comment - exec 'hi htmlTagName' . s:fg_wine - exec 'hi htmlArg' . s:fg_pink - exec 'hi htmlEndTag' . s:fg_comment - exec 'hi htmlString' . s:fg_blue - exec 'hi htmlScriptTag' . s:fg_comment - exec 'hi htmlBold' . s:fg_foreground . s:ft_bold - exec 'hi htmlItalic' . s:fg_comment . s:ft_bold - exec 'hi htmlBoldItalic' . s:fg_navy . s:ft_bold - " exec 'hi htmlLink' . s:fg_blue . s:ft_bold - exec 'hi htmlTagN' . s:fg_wine . s:ft_bold - exec 'hi htmlSpecialTagName' . s:fg_wine - exec 'hi htmlComment' . s:fg_comment - exec 'hi htmlCommentPart' . s:fg_comment - - " CSS Highlighting - exec 'hi cssIdentifier' . s:fg_pink - exec 'hi cssPositioningProp' . s:fg_foreground - exec 'hi cssNoise' . s:fg_foreground - exec 'hi cssBoxProp' . s:fg_foreground - exec 'hi cssTableAttr' . s:fg_purple - exec 'hi cssPositioningAttr' . s:fg_navy - exec 'hi cssValueLength' . s:fg_orange - exec 'hi cssFunctionName' . s:fg_blue - exec 'hi cssUnitDecorators' . s:fg_aqua - exec 'hi cssColor' . s:fg_blue . s:ft_bold - exec 'hi cssBraces' . s:fg_pink - exec 'hi cssBackgroundProp' . s:fg_foreground - exec 'hi cssTextProp' . s:fg_foreground - exec 'hi cssDimensionProp' . s:fg_foreground - exec 'hi cssClassName' . s:fg_pink - - " Markdown Highlighting - exec 'hi markdownHeadingRule' . s:fg_pink . s:ft_bold - exec 'hi markdownH1' . s:fg_pink . s:ft_bold - exec 'hi markdownH2' . s:fg_orange . s:ft_bold - exec 'hi markdownBlockquote' . s:fg_pink - exec 'hi markdownCodeBlock' . s:fg_olive - exec 'hi markdownCode' . s:fg_olive - exec 'hi markdownLink' . s:fg_blue . s:ft_bold - exec 'hi markdownUrl' . s:fg_blue - exec 'hi markdownLinkText' . s:fg_pink - exec 'hi markdownLinkTextDelimiter' . s:fg_purple - exec 'hi markdownLinkDelimiter' . s:fg_purple - exec 'hi markdownCodeDelimiter' . s:fg_blue - - exec 'hi mkdCode' . s:fg_olive - exec 'hi mkdLink' . s:fg_blue . s:ft_bold - exec 'hi mkdURL' . s:fg_comment - exec 'hi mkdString' . s:fg_foreground - exec 'hi mkdBlockQuote' . s:fg_foreground . s:bg_popupmenu_bg - exec 'hi mkdLinkTitle' . s:fg_pink - exec 'hi mkdDelimiter' . s:fg_aqua - exec 'hi mkdRule' . s:fg_pink - - " reStructuredText Highlighting - exec 'hi rstSections' . s:fg_pink . s:ft_bold - exec 'hi rstDelimiter' . s:fg_pink . s:ft_bold - exec 'hi rstExplicitMarkup' . s:fg_pink . s:ft_bold - exec 'hi rstDirective' . s:fg_blue - exec 'hi rstHyperlinkTarget' . s:fg_green - exec 'hi rstExDirective' . s:fg_foreground - exec 'hi rstInlineLiteral' . s:fg_olive - exec 'hi rstInterpretedTextOrHyperlinkReference' . s:fg_blue - - " Python Highlighting - exec 'hi pythonImport' . s:fg_pink . s:ft_bold - exec 'hi pythonExceptions' . s:fg_red - exec 'hi pythonException' . s:fg_purple . s:ft_bold - exec 'hi pythonInclude' . s:fg_red - exec 'hi pythonStatement' . s:fg_pink - exec 'hi pythonConditional' . s:fg_purple . s:ft_bold - exec 'hi pythonRepeat' . s:fg_purple . s:ft_bold - exec 'hi pythonFunction' . s:fg_aqua . s:ft_bold - exec 'hi pythonPreCondit' . s:fg_purple - exec 'hi pythonExClass' . s:fg_orange - exec 'hi pythonOperator' . s:fg_purple . s:ft_bold - exec 'hi pythonBuiltin' . s:fg_foreground - exec 'hi pythonDecorator' . s:fg_orange - - exec 'hi pythonString' . s:fg_olive - exec 'hi pythonEscape' . s:fg_olive . s:ft_bold - exec 'hi pythonStrFormatting' . s:fg_olive . s:ft_bold - - exec 'hi pythonBoolean' . s:fg_green . s:ft_bold - exec 'hi pythonExClass' . s:fg_red - exec 'hi pythonBytesEscape' . s:fg_olive . s:ft_bold - exec 'hi pythonDottedName' . s:fg_purple - exec 'hi pythonStrFormat' . s:fg_foreground - - if s:Language_Options('python.highlight_builtins') == 1 - exec 'hi pythonBuiltinFunc' . s:fg_blue - exec 'hi pythonBuiltinObj' . s:fg_red - else - exec 'hi pythonBuiltinFunc' . s:fg_foreground - exec 'hi pythonBuiltinObj' . s:fg_foreground - endif - - " Java Highlighting - exec 'hi javaExternal' . s:fg_pink - exec 'hi javaAnnotation' . s:fg_orange - exec 'hi javaTypedef' . s:fg_aqua - exec 'hi javaClassDecl' . s:fg_aqua . s:ft_bold - exec 'hi javaScopeDecl' . s:fg_blue . s:ft_bold - exec 'hi javaStorageClass' . s:fg_navy . s:ft_bold - exec 'hi javaBoolean' . s:fg_green . s:ft_bold - exec 'hi javaConstant' . s:fg_blue - exec 'hi javaCommentTitle' . s:fg_wine - exec 'hi javaDocTags' . s:fg_aqua - exec 'hi javaDocComment' . s:fg_comment - exec 'hi javaDocParam' . s:fg_foreground - exec 'hi javaStatement' . s:fg_pink - - " JavaScript Highlighting - exec 'hi javaScriptBraces' . s:fg_blue - exec 'hi javaScriptParens' . s:fg_blue - exec 'hi javaScriptIdentifier' . s:fg_pink - exec 'hi javaScriptFunction' . s:fg_blue . s:ft_bold - exec 'hi javaScriptConditional' . s:fg_purple . s:ft_bold - exec 'hi javaScriptRepeat' . s:fg_purple . s:ft_bold - exec 'hi javaScriptBoolean' . s:fg_green . s:ft_bold - exec 'hi javaScriptNumber' . s:fg_orange - exec 'hi javaScriptMember' . s:fg_navy - exec 'hi javaScriptReserved' . s:fg_navy - exec 'hi javascriptNull' . s:fg_comment . s:ft_bold - exec 'hi javascriptGlobal' . s:fg_foreground - exec 'hi javascriptStatement' . s:fg_pink - exec 'hi javaScriptMessage' . s:fg_foreground - exec 'hi javaScriptMember' . s:fg_foreground - - " @target https://github.com/pangloss/vim-javascript - exec 'hi jsFuncParens' . s:fg_blue - exec 'hi jsFuncBraces' . s:fg_blue - exec 'hi jsParens' . s:fg_blue - exec 'hi jsBraces' . s:fg_blue - exec 'hi jsNoise' . s:fg_blue - - " Json Highlighting - " @target https://github.com/elzr/vim-json - exec 'hi jsonKeyword' . s:fg_blue - exec 'hi jsonString' . s:fg_olive - exec 'hi jsonQuote' . s:fg_comment - exec 'hi jsonNoise' . s:fg_foreground - exec 'hi jsonKeywordMatch' . s:fg_foreground - exec 'hi jsonBraces' . s:fg_foreground - exec 'hi jsonNumber' . s:fg_orange - exec 'hi jsonNull' . s:fg_purple . s:ft_bold - exec 'hi jsonBoolean' . s:fg_green . s:ft_bold - exec 'hi jsonCommentError' . s:fg_pink . s:bg_background - - " Go Highlighting - exec 'hi goDirective' . s:fg_red - exec 'hi goDeclaration' . s:fg_blue . s:ft_bold - exec 'hi goStatement' . s:fg_pink - exec 'hi goConditional' . s:fg_purple . s:ft_bold - exec 'hi goConstants' . s:fg_orange - exec 'hi goFunction' . s:fg_orange - " exec 'hi goTodo' . s:fg_comment . s:ft_bold - exec 'hi goDeclType' . s:fg_blue - exec 'hi goBuiltins' . s:fg_purple - - " Systemtap Highlighting - " exec 'hi stapBlock' . s:fg_comment . s:ft_none - exec 'hi stapComment' . s:fg_comment . s:ft_none - exec 'hi stapProbe' . s:fg_aqua . s:ft_bold - exec 'hi stapStat' . s:fg_navy . s:ft_bold - exec 'hi stapFunc' . s:fg_foreground - exec 'hi stapString' . s:fg_olive - exec 'hi stapTarget' . s:fg_navy - exec 'hi stapStatement' . s:fg_pink - exec 'hi stapType' . s:fg_pink . s:ft_bold - exec 'hi stapSharpBang' . s:fg_comment - exec 'hi stapDeclaration' . s:fg_pink - exec 'hi stapCMacro' . s:fg_blue - - " DTrace Highlighting - exec 'hi dtraceProbe' . s:fg_blue - exec 'hi dtracePredicate' . s:fg_purple . s:ft_bold - exec 'hi dtraceComment' . s:fg_comment - exec 'hi dtraceFunction' . s:fg_foreground - exec 'hi dtraceAggregatingFunction' . s:fg_blue . s:ft_bold - exec 'hi dtraceStatement' . s:fg_navy . s:ft_bold - exec 'hi dtraceIdentifier' . s:fg_pink - exec 'hi dtraceOption' . s:fg_pink - exec 'hi dtraceConstant' . s:fg_orange - exec 'hi dtraceType' . s:fg_pink . s:ft_bold - - " PlantUML Highlighting - exec 'hi plantumlPreProc' . s:fg_orange . s:ft_bold - exec 'hi plantumlDirectedOrVerticalArrowRL' . s:fg_pink - exec 'hi plantumlDirectedOrVerticalArrowLR' . s:fg_pink - exec 'hi plantumlString' . s:fg_olive - exec 'hi plantumlActivityThing' . s:fg_purple - exec 'hi plantumlText' . s:fg_navy - exec 'hi plantumlClassPublic' . s:fg_olive . s:ft_bold - exec 'hi plantumlClassPrivate' . s:fg_red - exec 'hi plantumlColonLine' . s:fg_orange - exec 'hi plantumlClass' . s:fg_navy - exec 'hi plantumlHorizontalArrow' . s:fg_pink - exec 'hi plantumlTypeKeyword' . s:fg_blue . s:ft_bold - exec 'hi plantumlKeyword' . s:fg_pink . s:ft_bold - - exec 'hi plantumlType' . s:fg_blue . s:ft_bold - exec 'hi plantumlBlock' . s:fg_pink . s:ft_bold - exec 'hi plantumlPreposition' . s:fg_orange - exec 'hi plantumlLayout' . s:fg_blue . s:ft_bold - exec 'hi plantumlNote' . s:fg_orange - exec 'hi plantumlLifecycle' . s:fg_aqua - exec 'hi plantumlParticipant' . s:fg_foreground . s:ft_bold - - - " Haskell Highlighting - exec 'hi haskellType' . s:fg_aqua . s:ft_bold - exec 'hi haskellIdentifier' . s:fg_orange . s:ft_bold - exec 'hi haskellOperators' . s:fg_pink - exec 'hi haskellWhere' . s:fg_foreground . s:ft_bold - exec 'hi haskellDelimiter' . s:fg_aqua - exec 'hi haskellImportKeywords' . s:fg_pink - exec 'hi haskellStatement' . s:fg_purple . s:ft_bold - - - " SQL/MySQL Highlighting - exec 'hi sqlStatement' . s:fg_pink . s:ft_bold - exec 'hi sqlType' . s:fg_blue . s:ft_bold - exec 'hi sqlKeyword' . s:fg_pink - exec 'hi sqlOperator' . s:fg_aqua - exec 'hi sqlSpecial' . s:fg_green . s:ft_bold - - exec 'hi mysqlVariable' . s:fg_olive . s:ft_bold - exec 'hi mysqlType' . s:fg_blue . s:ft_bold - exec 'hi mysqlKeyword' . s:fg_pink - exec 'hi mysqlOperator' . s:fg_aqua - exec 'hi mysqlSpecial' . s:fg_green . s:ft_bold - - - " Octave/MATLAB Highlighting - exec 'hi octaveVariable' . s:fg_foreground - exec 'hi octaveDelimiter' . s:fg_pink - exec 'hi octaveQueryVar' . s:fg_foreground - exec 'hi octaveSemicolon' . s:fg_purple - exec 'hi octaveFunction' . s:fg_navy - exec 'hi octaveSetVar' . s:fg_blue - exec 'hi octaveUserVar' . s:fg_foreground - exec 'hi octaveArithmeticOperator' . s:fg_aqua - exec 'hi octaveBeginKeyword' . s:fg_purple . s:ft_bold - exec 'hi octaveElseKeyword' . s:fg_purple . s:ft_bold - exec 'hi octaveEndKeyword' . s:fg_purple . s:ft_bold - exec 'hi octaveStatement' . s:fg_pink - - " Ruby Highlighting - exec 'hi rubyModule' . s:fg_navy . s:ft_bold - exec 'hi rubyClass' . s:fg_pink . s:ft_bold - exec 'hi rubyPseudoVariable' . s:fg_comment . s:ft_bold - exec 'hi rubyKeyword' . s:fg_pink - exec 'hi rubyInstanceVariable' . s:fg_purple - exec 'hi rubyFunction' . s:fg_foreground . s:ft_bold - exec 'hi rubyDefine' . s:fg_pink - exec 'hi rubySymbol' . s:fg_aqua - exec 'hi rubyConstant' . s:fg_blue - exec 'hi rubyAccess' . s:fg_navy - exec 'hi rubyAttribute' . s:fg_green - exec 'hi rubyInclude' . s:fg_red - exec 'hi rubyLocalVariableOrMethod' . s:fg_orange - exec 'hi rubyCurlyBlock' . s:fg_foreground - exec 'hi rubyCurlyBlockDelimiter' . s:fg_aqua - exec 'hi rubyArrayDelimiter' . s:fg_aqua - exec 'hi rubyStringDelimiter' . s:fg_olive - exec 'hi rubyInterpolationDelimiter' . s:fg_orange - exec 'hi rubyConditional' . s:fg_purple . s:ft_bold - exec 'hi rubyRepeat' . s:fg_purple . s:ft_bold - exec 'hi rubyControl' . s:fg_purple . s:ft_bold - exec 'hi rubyException' . s:fg_purple . s:ft_bold - exec 'hi rubyExceptional' . s:fg_purple . s:ft_bold - exec 'hi rubyBoolean' . s:fg_green . s:ft_bold - - " Fortran Highlighting - exec 'hi fortranUnitHeader' . s:fg_foreground . s:ft_bold - exec 'hi fortranType' . s:fg_pink . s:ft_bold - exec 'hi fortranStructure' . s:fg_blue . s:ft_bold - exec 'hi fortranStorageClass' . s:fg_navy . s:ft_bold - exec 'hi fortranStorageClassR' . s:fg_navy . s:ft_bold - exec 'hi fortranKeyword' . s:fg_pink - exec 'hi fortranReadWrite' . s:fg_blue - exec 'hi fortranIO' . s:fg_navy - - " R Highlighting - exec 'hi rType' . s:fg_blue - exec 'hi rArrow' . s:fg_pink - exec 'hi rDollar' . s:fg_blue - - " XXD Highlighting - exec 'hi xxdAddress' . s:fg_navy - exec 'hi xxdSep' . s:fg_pink - exec 'hi xxdAscii' . s:fg_pink - exec 'hi xxdDot' . s:fg_aqua - - " PHP Highlighting - exec 'hi phpIdentifier' . s:fg_foreground - exec 'hi phpVarSelector' . s:fg_pink - exec 'hi phpKeyword' . s:fg_blue - exec 'hi phpRepeat' . s:fg_purple . s:ft_bold - exec 'hi phpConditional' . s:fg_purple . s:ft_bold - exec 'hi phpStatement' . s:fg_pink - exec 'hi phpAssignByRef' . s:fg_aqua . s:ft_bold - exec 'hi phpSpecialFunction' . s:fg_blue - exec 'hi phpFunctions' . s:fg_blue - exec 'hi phpComparison' . s:fg_aqua - exec 'hi phpBackslashSequences' . s:fg_olive . s:ft_bold - exec 'hi phpMemberSelector' . s:fg_blue - exec 'hi phpStorageClass' . s:fg_purple . s:ft_bold - exec 'hi phpDefine' . s:fg_navy - exec 'hi phpIntVar' . s:fg_navy . s:ft_bold - - " Perl Highlighting - exec 'hi perlFiledescRead' . s:fg_green - exec 'hi perlMatchStartEnd' . s:fg_pink - exec 'hi perlStatementFlow' . s:fg_pink - exec 'hi perlStatementStorage' . s:fg_pink - exec 'hi perlFunction' . s:fg_pink . s:ft_bold - exec 'hi perlMethod' . s:fg_foreground - exec 'hi perlStatementFiledesc' . s:fg_orange - exec 'hi perlVarPlain' . s:fg_navy - exec 'hi perlSharpBang' . s:fg_comment - exec 'hi perlStatementInclude' . s:fg_aqua . s:ft_bold - exec 'hi perlStatementScalar' . s:fg_purple - exec 'hi perlSubName' . s:fg_aqua . s:ft_bold - exec 'hi perlSpecialString' . s:fg_olive . s:ft_bold - - " Pascal Highlighting - exec 'hi pascalType' . s:fg_pink . s:ft_bold - exec 'hi pascalStatement' . s:fg_blue . s:ft_bold - exec 'hi pascalPredefined' . s:fg_pink - exec 'hi pascalFunction' . s:fg_foreground - exec 'hi pascalStruct' . s:fg_navy . s:ft_bold - exec 'hi pascalOperator' . s:fg_aqua . s:ft_bold - exec 'hi pascalPreProc' . s:fg_green - exec 'hi pascalAcces' . s:fg_navy . s:ft_bold - - " Lua Highlighting - exec 'hi luaFunc' . s:fg_foreground - exec 'hi luaIn' . s:fg_blue . s:ft_bold - exec 'hi luaFunction' . s:fg_pink - exec 'hi luaStatement' . s:fg_blue - exec 'hi luaRepeat' . s:fg_blue . s:ft_bold - exec 'hi luaCondStart' . s:fg_purple . s:ft_bold - exec 'hi luaTable' . s:fg_aqua . s:ft_bold - exec 'hi luaConstant' . s:fg_green . s:ft_bold - exec 'hi luaElse' . s:fg_purple . s:ft_bold - exec 'hi luaCondElseif' . s:fg_purple . s:ft_bold - exec 'hi luaCond' . s:fg_purple . s:ft_bold - exec 'hi luaCondEnd' . s:fg_purple - - " Clojure highlighting: - exec 'hi clojureConstant' . s:fg_blue - exec 'hi clojureBoolean' . s:fg_orange - exec 'hi clojureCharacter' . s:fg_olive - exec 'hi clojureKeyword' . s:fg_pink - exec 'hi clojureNumber' . s:fg_orange - exec 'hi clojureString' . s:fg_olive - exec 'hi clojureRegexp' . s:fg_purple - exec 'hi clojureRegexpEscape' . s:fg_pink - exec 'hi clojureParen' . s:fg_aqua - exec 'hi clojureVariable' . s:fg_olive - exec 'hi clojureCond' . s:fg_blue - exec 'hi clojureDefine' . s:fg_blue . s:ft_bold - exec 'hi clojureException' . s:fg_red - exec 'hi clojureFunc' . s:fg_navy - exec 'hi clojureMacro' . s:fg_blue - exec 'hi clojureRepeat' . s:fg_blue - exec 'hi clojureSpecial' . s:fg_blue . s:ft_bold - exec 'hi clojureQuote' . s:fg_blue - exec 'hi clojureUnquote' . s:fg_blue - exec 'hi clojureMeta' . s:fg_blue - exec 'hi clojureDeref' . s:fg_blue - exec 'hi clojureAnonArg' . s:fg_blue - exec 'hi clojureRepeat' . s:fg_blue - exec 'hi clojureDispatch' . s:fg_aqua - - " Dockerfile Highlighting - " @target https://github.com/docker/docker/tree/master/contrib/syntax/vim - exec 'hi dockerfileKeyword' . s:fg_blue - exec 'hi shDerefVar' . s:fg_purple . s:ft_bold - exec 'hi shOperator' . s:fg_aqua - exec 'hi shOption' . s:fg_navy - exec 'hi shLine' . s:fg_foreground - exec 'hi shWrapLineOperator' . s:fg_pink - - " NGINX Highlighting - " @target https://github.com/evanmiller/nginx-vim-syntax - exec 'hi ngxDirectiveBlock' . s:fg_pink . s:ft_bold - exec 'hi ngxDirective' . s:fg_blue . s:ft_none - exec 'hi ngxDirectiveImportant' . s:fg_blue . s:ft_bold - exec 'hi ngxString' . s:fg_olive - exec 'hi ngxVariableString' . s:fg_purple - exec 'hi ngxVariable' . s:fg_purple . s:ft_none - - " Yaml Highlighting - exec 'hi yamlBlockMappingKey' . s:fg_blue - exec 'hi yamlKeyValueDelimiter' . s:fg_pink - exec 'hi yamlBlockCollectionItemStart' . s:fg_pink - - " Qt QML Highlighting - exec 'hi qmlObjectLiteralType' . s:fg_pink - exec 'hi qmlReserved' . s:fg_purple - exec 'hi qmlBindingProperty' . s:fg_navy - exec 'hi qmlType' . s:fg_navy - - " Dosini Highlighting - exec 'hi dosiniHeader' . s:fg_pink - exec 'hi dosiniLabel' . s:fg_blue - - " Mail highlighting - exec 'hi mailHeaderKey' . s:fg_blue - exec 'hi mailHeaderEmail' . s:fg_purple - exec 'hi mailSubject' . s:fg_pink - exec 'hi mailHeader' . s:fg_comment - exec 'hi mailURL' . s:fg_aqua - exec 'hi mailEmail' . s:fg_purple - exec 'hi mailQuoted1' . s:fg_olive - exec 'hi mailQuoted2' . s:fg_navy - - " XML Highlighting - exec 'hi xmlProcessingDelim' . s:fg_pink - exec 'hi xmlString' . s:fg_olive - exec 'hi xmlEqual' . s:fg_orange - exec 'hi xmlAttrib' . s:fg_navy - exec 'hi xmlAttribPunct' . s:fg_pink - exec 'hi xmlTag' . s:fg_blue - exec 'hi xmlTagName' . s:fg_blue - exec 'hi xmlEndTag' . s:fg_blue - exec 'hi xmlNamespace' . s:fg_orange - - " Exlixir Highlighting - " @target https://github.com/elixir-lang/vim-elixir - exec 'hi elixirAlias' . s:fg_blue . s:ft_bold - exec 'hi elixirAtom' . s:fg_navy - exec 'hi elixirVariable' . s:fg_navy - exec 'hi elixirUnusedVariable' . s:fg_foreground . s:ft_bold - exec 'hi elixirInclude' . s:fg_purple - exec 'hi elixirStringDelimiter' . s:fg_olive - exec 'hi elixirKeyword' . s:fg_purple . s:ft_bold - exec 'hi elixirFunctionDeclaration' . s:fg_aqua . s:ft_bold - exec 'hi elixirBlockDefinition' . s:fg_pink - exec 'hi elixirDefine' . s:fg_pink - exec 'hi elixirStructDefine' . s:fg_pink - exec 'hi elixirPrivateDefine' . s:fg_pink - exec 'hi elixirModuleDefine' . s:fg_pink - exec 'hi elixirProtocolDefine' . s:fg_pink - exec 'hi elixirImplDefine' . s:fg_pink - exec 'hi elixirModuleDeclaration' . s:fg_aqua . s:ft_bold - exec 'hi elixirDocString' . s:fg_olive - exec 'hi elixirDocTest' . s:fg_green . s:ft_bold - - " Erlang Highlighting - exec 'hi erlangBIF' . s:fg_purple . s:ft_bold - exec 'hi erlangBracket' . s:fg_pink - exec 'hi erlangLocalFuncCall' . s:fg_foreground - exec 'hi erlangVariable' . s:fg_foreground - exec 'hi erlangAtom' . s:fg_navy - exec 'hi erlangAttribute' . s:fg_blue . s:ft_bold - exec 'hi erlangRecordDef' . s:fg_blue . s:ft_bold - exec 'hi erlangRecord' . s:fg_blue - exec 'hi erlangRightArrow' . s:fg_blue . s:ft_bold - exec 'hi erlangStringModifier' . s:fg_olive . s:ft_bold - exec 'hi erlangInclude' . s:fg_blue . s:ft_bold - exec 'hi erlangKeyword' . s:fg_pink - exec 'hi erlangGlobalFuncCall' . s:fg_foreground - - " Cucumber Highlighting - exec 'hi cucumberFeature' . s:fg_blue . s:ft_bold - exec 'hi cucumberBackground' . s:fg_pink . s:ft_bold - exec 'hi cucumberScenario' . s:fg_pink . s:ft_bold - exec 'hi cucumberGiven' . s:fg_orange - exec 'hi cucumberGivenAnd' . s:fg_blue - exec 'hi cucumberThen' . s:fg_orange - exec 'hi cucumberThenAnd' . s:fg_blue - exec 'hi cucumberWhen' . s:fg_purple . s:ft_bold - exec 'hi cucumberScenarioOutline' . s:fg_pink . s:ft_bold - exec 'hi cucumberExamples' . s:fg_aqua - exec 'hi cucumberTags' . s:fg_aqua - exec 'hi cucumberPlaceholder' . s:fg_aqua - - " Ada Highlighting - exec 'hi adaInc' . s:fg_aqua . s:ft_bold - exec 'hi adaSpecial' . s:fg_aqua . s:ft_bold - exec 'hi adaKeyword' . s:fg_pink - exec 'hi adaBegin' . s:fg_pink - exec 'hi adaEnd' . s:fg_pink - exec 'hi adaTypedef' . s:fg_navy . s:ft_bold - exec 'hi adaAssignment' . s:fg_aqua . s:ft_bold - exec 'hi adaAttribute' . s:fg_green - - " COBOL Highlighting - exec 'hi cobolMarker' . s:fg_comment . s:bg_cursorline - exec 'hi cobolLine' . s:fg_foreground - exec 'hi cobolReserved' . s:fg_blue - exec 'hi cobolDivision' . s:fg_pink . s:ft_bold - exec 'hi cobolDivisionName' . s:fg_pink . s:ft_bold - exec 'hi cobolSection' . s:fg_navy . s:ft_bold - exec 'hi cobolSectionName' . s:fg_navy . s:ft_bold - exec 'hi cobolParagraph' . s:fg_purple - exec 'hi cobolParagraphName' . s:fg_purple - exec 'hi cobolDeclA' . s:fg_purple - exec 'hi cobolDecl' . s:fg_green - exec 'hi cobolCALLs' . s:fg_aqua . s:ft_bold - exec 'hi cobolEXECs' . s:fg_aqua . s:ft_bold - - " GNU sed highlighting - exec 'hi sedST' . s:fg_purple . s:ft_bold - exec 'hi sedFlag' . s:fg_purple . s:ft_bold - exec 'hi sedRegexp47' . s:fg_pink - exec 'hi sedRegexpMeta' . s:fg_blue . s:ft_bold - exec 'hi sedReplacement47' . s:fg_olive - exec 'hi sedReplaceMeta' . s:fg_orange . s:ft_bold - exec 'hi sedAddress' . s:fg_pink - exec 'hi sedFunction' . s:fg_aqua . s:ft_bold - exec 'hi sedBranch' . s:fg_green . s:ft_bold - exec 'hi sedLabel' . s:fg_green . s:ft_bold - - " }}} - - " Plugin: Netrw - exec 'hi netrwVersion' . s:fg_red - exec 'hi netrwList' . s:fg_pink - exec 'hi netrwHidePat' . s:fg_olive - exec 'hi netrwQuickHelp' . s:fg_blue - exec 'hi netrwHelpCmd' . s:fg_blue - exec 'hi netrwDir' . s:fg_aqua . s:ft_bold - exec 'hi netrwClassify' . s:fg_pink - exec 'hi netrwExe' . s:fg_green - exec 'hi netrwSuffixes' . s:fg_comment - exec 'hi netrwTreeBar' . s:fg_linenumber_fg - - " Plugin: NERDTree - exec 'hi NERDTreeUp' . s:fg_comment - exec 'hi NERDTreeHelpCommand' . s:fg_pink - exec 'hi NERDTreeHelpTitle' . s:fg_blue . s:ft_bold - exec 'hi NERDTreeHelpKey' . s:fg_pink - exec 'hi NERDTreeHelp' . s:fg_foreground - exec 'hi NERDTreeToggleOff' . s:fg_red - exec 'hi NERDTreeToggleOn' . s:fg_green - exec 'hi NERDTreeDir' . s:fg_blue . s:ft_bold - exec 'hi NERDTreeDirSlash' . s:fg_pink - exec 'hi NERDTreeFile' . s:fg_foreground - exec 'hi NERDTreeExecFile' . s:fg_green - exec 'hi NERDTreeOpenable' . s:fg_pink . s:ft_bold - exec 'hi NERDTreeClosable' . s:fg_pink - - " Plugin: Tagbar - exec 'hi TagbarHelpTitle' . s:fg_blue . s:ft_bold - exec 'hi TagbarHelp' . s:fg_foreground - exec 'hi TagbarKind' . s:fg_pink - exec 'hi TagbarSignature' . s:fg_aqua - - " Plugin: Vimdiff - exec 'hi DiffAdd' . s:fg_diffadd_fg . s:bg_diffadd_bg . s:ft_none - exec 'hi DiffChange' . s:fg_diffchange_fg . s:bg_diffchange_bg . s:ft_none - exec 'hi DiffDelete' . s:fg_diffdelete_fg . s:bg_diffdelete_bg . s:ft_none - exec 'hi DiffText' . s:fg_difftext_fg . s:bg_difftext_bg . s:ft_none - - " Plugin: AGit - exec 'hi agitHead' . s:fg_green . s:ft_bold - exec 'hi agitHeader' . s:fg_olive - exec 'hi agitStatAdded' . s:fg_diffadd_fg - exec 'hi agitStatRemoved' . s:fg_diffdelete_fg - exec 'hi agitDiffAdd' . s:fg_diffadd_fg - exec 'hi agitDiffRemove' . s:fg_diffdelete_fg - exec 'hi agitDiffHeader' . s:fg_pink - exec 'hi agitDiff' . s:fg_foreground - exec 'hi agitDiffIndex' . s:fg_purple - exec 'hi agitDiffFileName' . s:fg_aqua - exec 'hi agitLog' . s:fg_foreground - exec 'hi agitAuthorMark' . s:fg_olive - exec 'hi agitDateMark' . s:fg_comment - exec 'hi agitHeaderLabel' . s:fg_aqua - exec 'hi agitDate' . s:fg_aqua - exec 'hi agitTree' . s:fg_pink - exec 'hi agitRef' . s:fg_blue . s:ft_bold - exec 'hi agitRemote' . s:fg_purple . s:ft_bold - exec 'hi agitTag' . s:fg_orange . s:ft_bold - - " Plugin: Spell Checking - exec 'hi SpellBad' . s:fg_foreground . s:bg_spellbad - exec 'hi SpellCap' . s:fg_foreground . s:bg_spellcap - exec 'hi SpellRare' . s:fg_foreground . s:bg_spellrare - exec 'hi SpellLocal' . s:fg_foreground . s:bg_spelllocal - - " Plugin: Indent Guides - exec 'hi IndentGuidesOdd' . s:bg_background - exec 'hi IndentGuidesEven' . s:bg_cursorline - - " Plugin: Startify - exec 'hi StartifyFile' . s:fg_blue . s:ft_bold - exec 'hi StartifyNumber' . s:fg_orange - exec 'hi StartifyHeader' . s:fg_comment - exec 'hi StartifySection' . s:fg_pink - exec 'hi StartifyPath' . s:fg_foreground - exec 'hi StartifySlash' . s:fg_navy - exec 'hi StartifyBracket' . s:fg_aqua - exec 'hi StartifySpecial' . s:fg_aqua - - " Git commit message - exec 'hi gitcommitSummary' . s:fg_blue - exec 'hi gitcommitHeader' . s:fg_green . s:ft_bold - exec 'hi gitcommitSelectedType' . s:fg_blue - exec 'hi gitcommitSelectedFile' . s:fg_pink - exec 'hi gitcommitUntrackedFile' . s:fg_diffdelete_fg - exec 'hi gitcommitBranch' . s:fg_aqua . s:ft_bold - - exec 'hi diffFile' . s:fg_aqua . s:ft_bold - exec 'hi diffIndexLine' . s:fg_purple - exec 'hi diffAdded' . s:fg_diffadd_fg - exec 'hi diffRemoved' . s:fg_diffdelete_fg - exec 'hi diffLine' . s:fg_orange . s:ft_bold - -endfun -" }}} - -" =========================== TESTING ===================================== -" Run unit testing :call g:PaperColor_Test() - -" UNIT TESTING: {{{ - -fun! s:test_report(test, verbose) - if a:test[1] != '' - echo a:test[0] - echo '==> failed. ' . a:test[1] - return 1 - - elseif a:verbose == 1 - echo a:test[0] - echo '==> passed.' - return 0 - - endif -endfun - -fun! s:palettes_should_have_color00_to_color15() - let l:premise = "All color palettes should have color00 to color15, each has 2 components" - let l:error = '' - - for [name, theme] in items(s:themes) - - for l:variant in ['light', 'dark'] - if has_key(theme, l:variant) - let l:palette = theme[l:variant].palette - - for l:color in ['color00', 'color01', 'color02', 'color03', - \ 'color04', 'color05', 'color06', 'color07', - \ 'color08', 'color09', 'color10', 'color11', - \ 'color12', 'color13', 'color14', 'color15' ] - if !has_key(l:palette, l:color) - let l:error .= "s:themes['" . name . "']." . l:variant . ".palette doesn't have " . l:color - break - else - let l:value = l:palette[l:color] - if len(l:value) != 2 - let l:error .= "s:themes['" . name . "']." . l:variant . ".palette." . l:color . " doesn't have required value" - break - endif - endif - endfor - - if l:error != '' - return [l:premise, l:error] - endif - endif - endfor - - endfor - - return [l:premise, l:error] -endfun -" ------------------------------------------------------------------ - -fun! s:colors_should_have_correct_format() - let l:premise = "All colors should have correct format like this ['#abcdef', '123'] or []" - let l:error = '' - - for [name, theme] in items(s:themes) - - for l:variant in ['light', 'dark'] - if has_key(theme, l:variant) - let l:palette = theme[l:variant].palette - - let l:msg_prefix = "\ns:themes['" . name . "']." . l:variant . ".palette." - for [l:color, l:value] in items(l:palette) - - let l:value = l:palette[l:color] - if len(l:value) != 2 && len(l:value) != 0 - let l:error .= msg_prefix . l:color . " doesn't have length 2 or 0" - continue - endif - - if len(l:value) == 2 - if l:value[0] == '' && l:value[1] == '' - let l:error .= msg_prefix . l:color . " doesn't have at least 1 non-empty value" - continue - endif - - if stridx(l:value[0], ' ') != -1 - let l:error .= msg_prefix . l:color . " has space in the first value" - continue - endif - - if stridx(l:value[1], ' ') != -1 - let l:error .= msg_prefix . l:color . " has space in the second value" - continue - endif - - if l:value[0] != '' && l:value[0][0] != '#' - let l:error .= msg_prefix . l:color . " doesn't have '#' at the beginning of the first value" - continue - endif - endif - - endfor - - " if l:error != '' - " return [l:premise, l:error] - " endif - - endif - endfor - - endfor - - return [l:premise, l:error] -endfun -" ------------------------------------------------------------------ - -fun! s:expected_256_only_colors_should_be_consistent() - let l:premise = 'Palletes that are marked for TEST_256_COLOR_CONSISTENCY should have consitent values of HEX and 256 for each color' - let l:error = '' - - for [name, theme] in items(s:themes) - - for l:variant in ['light', 'dark'] - if has_key(theme, l:variant) - - if has_key(theme[l:variant], 'TEST_256_COLOR_CONSISTENCY') && - \ theme[l:variant].TEST_256_COLOR_CONSISTENCY == 1 - let l:palette = theme[l:variant].palette - - for [l:color, l:value] in items(l:palette) - if len(l:value) == 2 - let l:value_hex = l:value[0] - let l:value_256 = l:value[1] - let l:expected_hex = s:to_HEX[l:value_256] - if l:value_hex != l:expected_hex - let l:error .= "\ns:themes['" . name . "']." . l:variant . ".palette " . - \ "Expected: '" . l:color ."' : ['" . l:expected_hex . "', '". l:value_256 . "']" - endif - endif - endfor " end looping through colors - - endif " had TEST_256_COLOR_CONSISTENCY - - endif " had variant - endfor " end looping through variants - - endfor " end looping through themes - - return [l:premise, l:error] -endfun -" ------------------------------------------------------------------ - -" TODO: later -" fun! s:test_converter() -" let l:premise = 'Just test converter' -" let l:error = '' - -" echo s:to_HEX['134'] . ' ' . s:to_256(s:to_HEX['134']) . ' expected 134' -" echo s:to_HEX['135'] . ' ' . s:to_256(s:to_HEX['135']) . ' expected 135' -" echo s:to_HEX['136'] . ' ' . s:to_256(s:to_HEX['136']) . ' expected 136' -" echo s:to_HEX['234'] . ' ' . s:to_256(s:to_HEX['234']) . ' expected 234' -" echo s:to_HEX['235'] . ' ' . s:to_256(s:to_HEX['235']) . ' expected 235' -" echo s:to_HEX['236'] . ' ' . s:to_256(s:to_HEX['236']) . ' expected 236' - -" return [l:premise, l:error] -" endfun -" ------------------------------------------------------------------ - -fun! g:PaperColor_Test() - let l:verbose = 1 " 0: only error - let l:test_functions = [ - \ function('s:palettes_should_have_color00_to_color15'), - \ function('s:colors_should_have_correct_format'), - \ function('s:expected_256_only_colors_should_be_consistent'), - \ ] - - if l:verbose == 1 - echo '----- PaperColor-Theme ------' - echo '-------- TEST BEGIN ---------' - endif - - let l:has_failed = 0 - - let l:counter = 0 - for l:Test in l:test_functions - let l:has_failed = l:has_failed || s:test_report(l:Test(), l:verbose) - if l:has_failed == 1 - echo ' ' - echo '[FAILED]' - echo "Failed at test function: " l:Test - echo ' ' - echo '-----------------------------' - echo '' 1.0 * l:counter / len(l:test_functions) * 100 - echon '% passed' - break - endif - let l:counter += 1 - endfor - - if l:verbose == 1 - if l:has_failed == 0 - echo '[SUCCEEDED]' - endif - echo '-------- TEST END -----------' - endif - - return l:has_failed -endfun - -" }}} - -" INTERMEDIATE FILES GENERATOR: {{{ - -fun! s:writeToFile(message, file) - echo a:file - new - setlocal buftype=nofile bufhidden=hide noswapfile nobuflisted - put =a:message - execute 'w ' a:file - q -endfun - -let s:script_path = fnamemodify(resolve(expand(':p')), ':h') - -fun! g:PaperColor_GenerateSpecs() - call s:generate_color_palettes() -endfun - -fun! s:generate_color_palettes() - let l:content = '' - let l:indent1 = ' ' - let l:indent2 = ' ' - for [l:name, l:theme] in items(s:themes) - - let l:content .= l:name . ":\n" - for l:variant in ['light', 'dark'] - if has_key(l:theme, l:variant) - - let l:content .= l:indent1 . l:variant . ":\n" - let l:palette = l:theme[l:variant].palette - - for [l:color, l:value] in items(l:palette) - let l:value_hex = l:value[0] - " let l:value_256 = l:value[1] - let l:content .= l:indent2 . l:color . ": " . l:value_hex . "\n" - endfor " end looping through colors - - endif - endfor " end looping through variants - - endfor " end looping through themes - " echo l:content - call s:writeToFile(l:content, "palettes.yml") -endfun - - - -" }}} - -" ============================ MAIN ======================================= - -" MAIN: {{{ - -hi clear -syntax reset -let g:colors_name = "PaperColor" - -call s:adapt_to_environment() -call s:set_color_variables() -call s:set_syntax_highlighting() - -" }}} - -" ========================================================================= -" Cheers! -" vim: fdm=marker ff=unix diff --git a/vim/colors/angr.vim b/vim/colors/angr.vim deleted file mode 100644 index 603677b..0000000 --- a/vim/colors/angr.vim +++ /dev/null @@ -1,155 +0,0 @@ -" Plugin: https://github.com/zacanger/angr.vim -" Description: angr.vim theme -" Maintainer: zacanger - -" Heavily based on Janah and Ego - -set background=dark -hi clear - -if exists('syntax_on') - syntax reset -endif - -let g:colors_name = 'angr' - -hi Normal guifg=#e5e5e5 ctermfg=253 guibg=#262626 gui=NONE cterm=NONE - -" Misc {{{1 -hi Boolean guifg=#af97df ctermfg=98 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Character guifg=#9d7ff2 ctermfg=141 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Comment guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE -hi Conditional guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Constant guifg=#87dfdf ctermfg=116 ctermbg=NONE gui=NONE cterm=NONE -hi Cursor guifg=#eeeeee ctermfg=15 ctermbg=247 gui=NONE guibg=#8DA1A1 -hi CursorIM guifg=#eeeeee ctermfg=15 ctermbg=247 gui=bold guibg=#8da1a1 cterm=NONE -hi Debug guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Define guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Delimiter guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Directory guifg=#ffaf87 ctermfg=216 ctermbg=NONE gui=NONE cterm=NONE -hi Exception guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Float guifg=#87dfdf ctermfg=116 ctermbg=NONE gui=NONE cterm=NONE -hi Function guifg=#82c057 ctermfg=107 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Identifier guifg=#ffaf87 ctermfg=216 ctermbg=NONE gui=NONE cterm=NONE -hi Ignore guifg=#55747c ctermfg=66 -hi Include guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Keyword guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Label guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Macro guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi MatchParen guifg=#df005f ctermfg=161 ctermbg=NONE gui=bold cterm=bold -hi NonText guifg=#ff00af ctermfg=199 ctermbg=NONE gui=bold cterm=bold -hi Number guifg=#87dfdf ctermfg=116 ctermbg=NONE gui=NONE cterm=NONE -hi Operator guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi PreCondit guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi PreProc guifg=#ffdfaf ctermfg=223 ctermbg=NONE gui=NONE cterm=NONE -hi Question guifg=#c98de6 ctermfg=102 ctermbg=NONE gui=bold guibg=bg cterm=NONE -hi Repeat guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Scrollbar guibg=bg -hi Special guifg=#dfafaf ctermfg=181 ctermbg=NONE gui=NONE cterm=NONE -hi SpecialChar guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi SpecialComment guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi SpecialKey guifg=#3a3a3a ctermfg=237 ctermbg=NONE gui=NONE cterm=NONE -hi Statement guifg=#afdf87 ctermfg=150 ctermbg=NONE gui=NONE cterm=NONE -hi StorageClass guifg=#95d5f1 ctermfg=117 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi String guifg=#87afdf ctermfg=110 ctermbg=NONE gui=NONE cterm=NONE -hi Structure guifg=#95d5f1 ctermfg=117 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Tag guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Title guifg=#9d7ff2 ctermfg=141 ctermbg=NONE gui=bold guibg=bg cterm=NONE -hi Todo guifg=#ffdfaf ctermfg=223 ctermbg=NONE gui=NONE cterm=NONE guibg=bg -hi Type guifg=#87dfaf ctermfg=115 ctermbg=NONE gui=NONE cterm=NONE -hi Typedef guifg=#95d5f1 ctermfg=117 ctermbg=NONE gui=NONE guibg=bg cterm=NONE -hi Underlined guifg=#c98de6 ctermfg=192 ctermbg=NONE gui=underline guibg=bg cterm=NONE -hi VertSplit guifg=#3a3a3a ctermfg=237 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE -hi WildMenu guifg=#101010 ctermfg=0 guibg=#f6da7b ctermbg=222 gui=bold cterm=NONE - -" Cursor lines {{{1 -hi CursorColumn ctermfg=NONE guibg=#303030 ctermbg=236 gui=NONE cterm=NONE -hi CursorLine ctermfg=NONE guibg=#303030 ctermbg=236 gui=NONE cterm=NONE - -" Tabline {{{1 -hi TabLine guifg=#808080 ctermfg=244 guibg=#303030 ctermbg=236 gui=NONE cterm=NONE -hi TabLineFill guifg=#dfdfaf ctermfg=187 guibg=#303030 ctermbg=236 gui=NONE cterm=NONE -hi TabLineSel guifg=#e4e4e4 ctermfg=254 guibg=#303030 ctermbg=236 gui=bold cterm=bold - -" Statusline {{{1 -hi StatusLine guifg=#e4e4e4 ctermfg=254 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE -hi StatusLineNC guifg=#808080 ctermfg=244 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE - -" Number column {{{1 -hi CursorLineNr guifg=#878787 ctermfg=102 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE -hi LineNr guifg=#878787 ctermfg=102 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE - -" Color column {{{1 -hi ColorColumn ctermfg=NONE guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE - -" Diff & Signs {{{1 -hi DiffAdd guifg=#87ff5f ctermfg=119 ctermbg=NONE gui=NONE cterm=NONE -hi DiffChange guifg=#ffff5f ctermfg=227 ctermbg=NONE gui=NONE cterm=NONE -hi DiffDelete guifg=#df5f5f ctermfg=167 ctermbg=NONE gui=NONE cterm=NONE -hi DiffText guifg=#ff5f5f ctermfg=203 guibg=#5f0000 ctermbg=52 gui=bold cterm=bold -hi SignColumn ctermfg=NONE guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE - -" Folds {{{1 -hi FoldColumn ctermfg=102 ctermbg=237 cterm=NONE guifg=#878787 guibg=#3a3a3a gui=NONE -hi Folded ctermfg=102 ctermbg=237 cterm=NONE guifg=#878787 guibg=#3a3a3a gui=NONE - -" Search {{{1 -hi IncSearch guifg=#c0c0c0 ctermfg=7 guibg=#005fff ctermbg=27 gui=NONE cterm=NONE -hi Search guifg=#c0c0c0 ctermfg=7 guibg=#df005f ctermbg=161 gui=NONE cterm=NONE - -" Messages {{{1 -hi Error guifg=#eeeeee ctermfg=255 guibg=#df005f ctermbg=161 gui=NONE cterm=NONE -hi ErrorMsg guifg=#eeeeee ctermfg=255 guibg=#df005f ctermbg=161 gui=NONE cterm=NONE -hi ModeMsg guifg=#afff87 ctermfg=156 ctermbg=NONE gui=bold cterm=bold -hi MoreMsg guifg=#c0c0c0 ctermfg=7 guibg=#005fdf ctermbg=26 gui=NONE cterm=NONE -hi WarningMsg guifg=#c0c0c0 ctermfg=7 guibg=#005fdf ctermbg=26 gui=NONE cterm=NONE - -" Visual {{{1 -hi Visual guifg=#c0c0c0 ctermfg=7 guibg=#005f87 ctermbg=24 gui=reverse cterm=NONE -hi VisualNOS guifg=#c0c0c0 ctermfg=7 guibg=#5f5f87 ctermbg=60 gui=reverse cterm=NONE - -" Pmenu {{{1 -hi Pmenu guifg=#e4e4e4 ctermfg=254 guibg=#262626 ctermbg=235 gui=NONE cterm=NONE -hi PmenuSbar ctermfg=NONE guibg=#444444 ctermbg=238 gui=NONE cterm=NONE -hi PmenuSel guifg=#df5f5f ctermfg=167 guibg=#444444 ctermbg=238 gui=bold cterm=bold -hi PmenuThumb ctermfg=NONE guibg=#df5f5f ctermbg=167 gui=NONE cterm=NONE - -" Spell {{{1 -hi SpellBad guifg=#c0c0c0 ctermfg=7 guibg=#df5f5f ctermbg=167 gui=NONE cterm=NONE -hi SpellCap guifg=#c0c0c0 ctermfg=7 guibg=#005fdf ctermbg=26 gui=NONE cterm=NONE -hi SpellLocal guifg=#c0c0c0 ctermfg=7 guibg=#8700af ctermbg=91 gui=NONE cterm=NONE -hi SpellRare guifg=#c0c0c0 ctermfg=7 guibg=#00875f ctermbg=29 gui=NONE cterm=NONE - -" Quickfix {{{1 -hi qfLineNr ctermfg=238 ctermbg=NONE cterm=NONE guifg=#444444 guibg=NONE gui=NONE -hi qfSeparator ctermfg=243 ctermbg=NONE cterm=NONE guifg=#767676 guibg=NONE gui=NONE - -" Plugin: vim-easymotion {{{1 -hi EasyMotionTarget guifg=#ffff5f ctermfg=227 ctermbg=NONE gui=bold cterm=bold -hi EasyMotionTarget2First guifg=#df005f ctermfg=161 ctermbg=NONE gui=NONE cterm=NONE -hi EasyMotionTarget2Second guifg=#ffff5f ctermfg=227 ctermbg=NONE gui=NONE cterm=NONE - -" Plugin: vim-signify {{{1 -hi SignifySignAdd guifg=#87ff5f ctermfg=119 guibg=#3a3a3a ctermbg=237 gui=bold cterm=bold -hi SignifySignChange guifg=#ffff5f ctermfg=227 guibg=#3a3a3a ctermbg=237 gui=bold cterm=bold -hi SignifySignDelete guifg=#df5f5f ctermfg=167 guibg=#3a3a3a ctermbg=237 gui=bold cterm=bold - -" Plugin: vim-startify {{{1 -hi StartifyBracket guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE -hi StartifyFile guifg=#eeeeee ctermfg=255 ctermbg=NONE gui=NONE cterm=NONE -hi StartifyFooter guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE -hi StartifyHeader guifg=#87df87 ctermfg=114 ctermbg=NONE gui=NONE cterm=NONE -hi StartifyNumber guifg=#ffaf5f ctermfg=215 ctermbg=NONE gui=NONE cterm=NONE -hi StartifyPath guifg=#8a8a8a ctermfg=245 ctermbg=NONE gui=NONE cterm=NONE -hi StartifySection guifg=#dfafaf ctermfg=181 ctermbg=NONE gui=NONE cterm=NONE -hi StartifySelect guifg=#5fdfff ctermfg=81 ctermbg=NONE gui=NONE cterm=NONE -hi StartifySlash guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE -hi StartifySpecial guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE - -" Neovim {{{1 -if has('nvim') - hi EndOfBuffer ctermfg=235 guifg=#262626 ctermbg=NONE gui=NONE cterm=NONE - hi TermCursor ctermfg=NONE guibg=#ff00af ctermbg=199 gui=NONE cterm=NONE - hi TermCursorNC ctermfg=NONE ctermbg=NONE gui=NONE cterm=NONE -endif - diff --git a/vim/colors/breezy.vim b/vim/colors/breezy.vim index e793f70..b94e785 100644 --- a/vim/colors/breezy.vim +++ b/vim/colors/breezy.vim @@ -5,11 +5,29 @@ endif let g:colors_name = 'breezy' -if(&background == "dark") - hi Normal guibg=#000000 guifg=#cfcfc2 gui=NONE -else - hi Normal guibg=#232629 guifg=#cfcfc2 gui=NONE -endif +" Python syntax +syn keyword pythonClassVar self cls super +syn keyword pythonStatement break continue del return pass yield global assert lambda with +syn keyword pythonStatement raise nextgroup=pythonExClass skipwhite +syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite +syn keyword pythonClassVar self cls +syn keyword pythonRepeat for while +syn keyword pythonConditional if elif else +syn keyword pythonException try except finally +" The standard pyrex.vim unconditionally removes the pythonInclude group, so +" we provide a dummy group here to avoid crashing pyrex.vim. +syn keyword pythonInclude import +syn keyword pythonImport import +syn match pythonRaiseFromStatement '\' +syn match pythonImport '^\s*\zsfrom\>' + + +syn keyword pythonStatement print +syn keyword pythonStatement exec +syn keyword pythonImport as + +" Background Font color +hi Normal guibg=#31363b guifg=#d2dae2 gui=NONE hi LineNr guibg=#31363b guifg=#7a7c7d gui=NONE hi FoldColumn guibg=#31363b guifg=#7a7c7d gui=NONE @@ -23,14 +41,14 @@ hi Constant guibg=NONE guifg=#f67400 gui=NONE hi Boolean guibg=NONE guifg=#27aeae gui=NONE hi Debug guibg=NONE guifg=#a5a6a8 gui=bold hi Error guibg=#4d1f24 guifg=#95da4c gui=bold -hi Identifier guibg=NONE guifg=#8e44ad gui=NONE +hi Identifier guibg=NONE guifg=#9b44ad gui=NONE hi Ignore guibg=NONE guifg=NONE gui=NONE hi Operator guibg=NONE guifg=NONE gui=bold -hi PreProc guibg=NONE guifg=#27ae60 gui=NONE +hi PreProc guibg=NONE guifg=#27ae85 gui=NONE hi Special guibg=NONE guifg=#3daee9 gui=NONE hi SpecialComment guibg=NONE guifg=#a5a6a8 gui=NONE hi Statement guibg=NONE guifg=#fdbc4b gui=bold -hi String guibg=NONE guifg=#f44f4f gui=NONE +hi String guibg=NONE guifg=#27ae60 gui=NONE hi Todo guibg=#451e1a guifg=#ca9219 gui=NONE hi Type guibg=NONE guifg=#2980b9 gui=NONE hi Underlined guibg=NONE guifg=#27ae60 gui=underline @@ -49,19 +67,19 @@ hi Question guibg=NONE guifg=#fdbc4b gui=bold hi WarningMsg guibg=NONE guifg=#ffffff gui=NONE hi TabLine guibg=#31363b guifg=#7a7c7d gui=NONE -hi TabLineFill guibg=#31363b guifg=NONE gui=NONE +hi TabLineFill guibg=#31363b guifg=#31363b gui=NONE hi TabLineSel guibg=#2d5c76 guifg=NONE gui=NONE hi Cursor guibg=NONE guifg=NONE gui=reverse hi CursorColumn guibg=#2a2e32 guifg=NONE gui=NONE hi CursorLineNr guibg=#31363b guifg=#a5a6a8 gui=NONE -hi CursorLine guibg=#2a2e32 guifg=NONE gui=NONE +hi CursorLine guibg=#2a2e32 guifg=NONE gui=NONE cterm=NONE hi helpLeadBlank guibg=NONE guifg=NONE gui=NONE hi helpNormal guibg=NONE guifg=NONE gui=NONE -hi StatusLine guibg=#2d5c76 guifg=NONE gui=NONE -hi StatusLineNC guibg=#31363b guifg=#7a7c7d gui=NONE +hi StatusLine guibg=#7a7c7d guifg=#2a2e32 gui=NONE +hi StatusLineNC guibg=#7a7c7d guifg=#2a2e32 gui=NONE hi Visual guibg=#2d5c76 guifg=NONE gui=NONE hi VisualNOS guibg=NONE guifg=NONE gui=underline @@ -174,19 +192,12 @@ hi link markdownListMarker Statement hi link markdownBlockquote Special hi link markdownRule Special -" python --------------------------------------------------------------------- -hi pythonBuiltin guibg=NONE guifg=#7f8c8d gui=NONE +" python hi link pythonImport PreProc hi link pythonFunction Normal hi link pythonExceptions PreProc +hi link pythonClassVar Type -" custom: -hi pythonMagic guibg=NONE guifg=#8e44ad gui=NONE -hi link pythonDef Operator -hi link pythonDocstring Comment -hi link pythonSpecial Boolean -hi link pythonDecorator Type -hi link pythonAs PreProc " c / cpp -------------------------------------------------------------------- diff --git a/vim/colors/bubblegum-256-light.vim b/vim/colors/bubblegum-256-light.vim deleted file mode 100644 index 38a4352..0000000 --- a/vim/colors/bubblegum-256-light.vim +++ /dev/null @@ -1,160 +0,0 @@ -" Bubblegum 256 Light -" Author: baskerville -" URL: github.com/baskerville/bubblegum -" Created: 2011 -" Version: 0.3 - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let g:colors_name="bubblegum-256-light" - - -" Main -hi Normal ctermfg=241 ctermbg=231 cterm=none guifg=#626262 guibg=#FFFFFF gui=none -hi Comment ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none - -" Constant -hi Constant ctermfg=130 ctermbg=231 cterm=none guifg=#AF5F00 guibg=#FFFFFF gui=none -hi String ctermfg=136 ctermbg=231 cterm=none guifg=#AF8700 guibg=#FFFFFF gui=none -hi Character ctermfg=136 ctermbg=231 cterm=none guifg=#AF8700 guibg=#FFFFFF gui=none -hi Number ctermfg=131 ctermbg=231 cterm=none guifg=#AF5F5F guibg=#FFFFFF gui=none -hi Boolean ctermfg=136 ctermbg=231 cterm=none guifg=#AF8700 guibg=#FFFFFF gui=none -hi Float ctermfg=131 ctermbg=231 cterm=none guifg=#AF5F5F guibg=#FFFFFF gui=none - -" Variable Name -hi Identifier ctermfg=133 ctermbg=231 cterm=none guifg=#AF5FAF guibg=#FFFFFF gui=none -hi Function ctermfg=133 ctermbg=231 cterm=none guifg=#AF5FAF guibg=#FFFFFF gui=none - -" Statement -hi Statement ctermfg=32 ctermbg=231 cterm=none guifg=#0087D7 guibg=#FFFFFF gui=none -hi Conditional ctermfg=32 ctermbg=231 cterm=none guifg=#0087D7 guibg=#FFFFFF gui=none -hi Repeat ctermfg=32 ctermbg=231 cterm=none guifg=#0087D7 guibg=#FFFFFF gui=none -hi Label ctermfg=32 ctermbg=231 cterm=none guifg=#0087D7 guibg=#FFFFFF gui=none -hi Operator ctermfg=32 ctermbg=231 cterm=none guifg=#0087D7 guibg=#FFFFFF gui=none -hi Keyword ctermfg=32 ctermbg=231 cterm=none guifg=#0087D7 guibg=#FFFFFF gui=none -hi Exception ctermfg=32 ctermbg=231 cterm=none guifg=#0087D7 guibg=#FFFFFF gui=none - -" Preprocessor -hi PreProc ctermfg=28 ctermbg=231 cterm=none guifg=#008700 guibg=#FFFFFF gui=none -hi Include ctermfg=28 ctermbg=231 cterm=none guifg=#008700 guibg=#FFFFFF gui=none -hi Define ctermfg=28 ctermbg=231 cterm=none guifg=#008700 guibg=#FFFFFF gui=none -hi Macro ctermfg=28 ctermbg=231 cterm=none guifg=#008700 guibg=#FFFFFF gui=none -hi PreCondit ctermfg=28 ctermbg=231 cterm=none guifg=#008700 guibg=#FFFFFF gui=none - -" Type -hi Type ctermfg=61 ctermbg=231 cterm=none guifg=#5F5FAF guibg=#FFFFFF gui=none -hi StorageClass ctermfg=61 ctermbg=231 cterm=none guifg=#5F5FAF guibg=#FFFFFF gui=none -hi Structure ctermfg=61 ctermbg=231 cterm=none guifg=#5F5FAF guibg=#FFFFFF gui=none -hi Typedef ctermfg=61 ctermbg=231 cterm=none guifg=#5F5FAF guibg=#FFFFFF gui=none - -" Special -hi Special ctermfg=167 ctermbg=231 cterm=none guifg=#D75F5F guibg=#FFFFFF gui=none -hi SpecialChar ctermfg=167 ctermbg=231 cterm=none guifg=#D75F5F guibg=#FFFFFF gui=none -hi Tag ctermfg=167 ctermbg=231 cterm=none guifg=#D75F5F guibg=#FFFFFF gui=none -hi Delimiter ctermfg=167 ctermbg=231 cterm=none guifg=#D75F5F guibg=#FFFFFF gui=none -hi SpecialComment ctermfg=167 ctermbg=231 cterm=none guifg=#D75F5F guibg=#FFFFFF gui=none -hi Debug ctermfg=167 ctermbg=231 cterm=none guifg=#D75F5F guibg=#FFFFFF gui=none -hi Underlined ctermfg=241 ctermbg=231 cterm=underline guifg=#626262 guibg=#FFFFFF gui=underline -hi Ignore ctermfg=231 ctermbg=231 cterm=none guifg=#FFFFFF guibg=#FFFFFF gui=none -hi Error ctermfg=231 ctermbg=160 cterm=none guifg=#FFFFFF guibg=#D70000 gui=none -hi Todo ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none - -" Window -hi StatusLine ctermfg=241 ctermbg=254 cterm=none guifg=#626262 guibg=#E4E4E4 gui=none -hi StatusLineNC ctermfg=246 ctermbg=254 cterm=none guifg=#949494 guibg=#E4E4E4 gui=none -hi TabLine ctermfg=241 ctermbg=254 cterm=none guifg=#626262 guibg=#E4E4E4 gui=none -hi TabLineSel ctermfg=238 ctermbg=188 cterm=none guifg=#444444 guibg=#D7D7D7 gui=none -hi TabLineFill ctermbg=254 cterm=none guibg=#E4E4E4 gui=none -hi VertSplit ctermfg=254 ctermbg=254 cterm=none guifg=#E4E4E4 guibg=#E4E4E4 gui=none - -" Menu -hi Pmenu ctermfg=241 ctermbg=254 cterm=none guifg=#626262 guibg=#E4E4E4 gui=none -hi PmenuSel ctermfg=235 ctermbg=145 cterm=none guifg=#262626 guibg=#AFAFAF gui=none -hi PmenuSbar ctermbg=250 cterm=none guibg=#BCBCBC gui=none -hi PmenuThumb ctermbg=102 cterm=none guibg=#878787 gui=none -hi WildMenu ctermfg=231 ctermbg=98 cterm=none guifg=#FFFFFF guibg=#875FD7 gui=none - -" Selection -hi Visual ctermfg=231 ctermbg=24 cterm=none guifg=#FFFFFF guibg=#005F87 gui=none -hi VisualNOS ctermfg=231 ctermbg=23 cterm=none guifg=#FFFFFF guibg=#005F5F gui=none - -" Message -hi ErrorMsg ctermfg=197 ctermbg=231 cterm=none guifg=#FF005F guibg=#FFFFFF gui=none -hi WarningMsg ctermfg=134 ctermbg=231 cterm=none guifg=#AF5FD7 guibg=#FFFFFF gui=none -hi MoreMsg ctermfg=35 ctermbg=231 cterm=none guifg=#00AF5F guibg=#FFFFFF gui=none -hi ModeMsg ctermfg=130 ctermbg=231 cterm=bold guifg=#AF5F00 guibg=#FFFFFF gui=bold -hi Question ctermfg=38 ctermbg=231 cterm=none guifg=#00AFD7 guibg=#FFFFFF gui=none - -" Mark -hi Folded ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none -hi FoldColumn ctermfg=29 ctermbg=254 cterm=none guifg=#00875F guibg=#E4E4E4 gui=none -hi SignColumn ctermfg=130 ctermbg=254 cterm=none guifg=#AF5F00 guibg=#E4E4E4 gui=none -hi ColorColumn ctermbg=254 cterm=none guibg=#E4E4E4 gui=none -hi LineNr ctermfg=246 ctermbg=254 cterm=none guifg=#949494 guibg=#E4E4E4 gui=none -hi MatchParen ctermfg=231 ctermbg=166 cterm=none guifg=#FFFFFF guibg=#D75F00 gui=none - -" Cursor -hi CursorColumn ctermbg=254 cterm=none guibg=#E4E4E4 gui=none -hi CursorLine ctermbg=254 cterm=none guibg=#E4E4E4 gui=none -hi CursorLineNr ctermfg=241 ctermbg=254 cterm=none guifg=#626262 guibg=#E4E4E4 gui=none - -" Search -hi Search ctermfg=231 ctermbg=136 cterm=none guifg=#FFFFFF guibg=#AF8700 gui=none -hi IncSearch ctermfg=231 ctermbg=204 cterm=none guifg=#FFFFFF guibg=#FF5F87 gui=none - -" Diff Mode -hi DiffAdd ctermfg=255 ctermbg=70 cterm=none guifg=#EEEEEE guibg=#5FAF00 gui=none -hi DiffChange ctermfg=255 ctermbg=88 cterm=none guifg=#EEEEEE guibg=#870000 gui=none -hi DiffText ctermfg=255 ctermbg=162 cterm=bold guifg=#EEEEEE guibg=#D70087 gui=bold -hi DiffDelete ctermfg=255 ctermbg=241 cterm=none guifg=#EEEEEE guibg=#626262 gui=none - -" Spell -hi SpellBad ctermfg=197 ctermbg=231 cterm=underline guifg=#FF005F guibg=#FFFFFF gui=underline -hi SpellCap ctermfg=167 ctermbg=231 cterm=underline guifg=#D75F5F guibg=#FFFFFF gui=underline -hi SpellRare ctermfg=95 ctermbg=231 cterm=underline guifg=#875F5F guibg=#FFFFFF gui=underline -hi SpellLocal ctermfg=94 ctermbg=231 cterm=underline guifg=#875F00 guibg=#FFFFFF gui=underline - -" Misc -hi SpecialKey ctermfg=74 ctermbg=231 cterm=none guifg=#5FAFD7 guibg=#FFFFFF gui=none -hi NonText ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none -hi Directory ctermfg=104 ctermbg=231 cterm=none guifg=#8787D7 guibg=#FFFFFF gui=none -hi Title ctermfg=30 cterm=none guifg=#008787 gui=none -hi Conceal ctermfg=103 ctermbg=231 cterm=none guifg=#8787AF guibg=#FFFFFF gui=none -hi Noise ctermfg=243 ctermbg=231 cterm=none guifg=#767676 guibg=#FFFFFF gui=none -hi helpHyperTextJump ctermfg=31 ctermbg=231 cterm=none guifg=#0087AF guibg=#FFFFFF gui=none -hi perlSharpBang ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none -hi rubySharpBang ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none -hi jsFuncCall ctermfg=30 ctermbg=231 cterm=none guifg=#008787 guibg=#FFFFFF gui=none - -" Html -hi javaScriptNumber ctermfg=136 ctermbg=231 cterm=none guifg=#AF8700 guibg=#FFFFFF gui=none -hi htmlTag ctermfg=26 ctermbg=231 cterm=none guifg=#005FD7 guibg=#FFFFFF gui=none -hi htmlEndTag ctermfg=26 ctermbg=231 cterm=none guifg=#005FD7 guibg=#FFFFFF gui=none -hi htmlTagName ctermfg=169 ctermbg=231 cterm=none guifg=#D75FAF guibg=#FFFFFF gui=none -hi htmlString ctermfg=136 ctermbg=231 cterm=none guifg=#AF8700 guibg=#FFFFFF gui=none - -" Vim -hi vimFold ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none -hi vimCommentTitle ctermfg=241 ctermbg=231 cterm=none guifg=#626262 guibg=#FFFFFF gui=none - -" Diff File -hi diffFile ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none -hi diffLine ctermfg=241 ctermbg=231 cterm=none guifg=#626262 guibg=#FFFFFF gui=none -hi diffAdded ctermfg=28 ctermbg=231 cterm=none guifg=#008700 guibg=#FFFFFF gui=none -hi diffRemoved ctermfg=169 ctermbg=231 cterm=none guifg=#D75FAF guibg=#FFFFFF gui=none -hi diffChanged ctermfg=136 ctermbg=231 cterm=none guifg=#AF8700 guibg=#FFFFFF gui=none -hi diffSubname ctermfg=239 ctermbg=231 cterm=none guifg=#4E4E4E guibg=#FFFFFF gui=none -hi diffOldLine ctermfg=69 ctermbg=231 cterm=none guifg=#5F87FF guibg=#FFFFFF gui=none - -" Mail -hi mailSubject ctermfg=30 ctermbg=231 cterm=none guifg=#008787 guibg=#FFFFFF gui=none -hi mailSignature ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none - -" Markdown -hi markdownCode ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none -hi markdownCodeBlock ctermfg=246 ctermbg=231 cterm=none guifg=#949494 guibg=#FFFFFF gui=none -hi markdownItalic ctermfg=239 ctermbg=231 cterm=none guifg=#4E4E4E guibg=#FFFFFF gui=none diff --git a/vim/colors/carbonized-light.vim b/vim/colors/carbonized-light.vim deleted file mode 100644 index a81fd83..0000000 --- a/vim/colors/carbonized-light.vim +++ /dev/null @@ -1,326 +0,0 @@ -" vi:syntax=vim - -" This enables the coresponding base16-shell script to run so that -" :colorscheme works in terminals supported by base16-shell scripts -" User must set this variable in .vimrc -" let g:base16_shell_path=base16-builder/output/shell/ -if !has('gui_running') - if exists("g:base16_shell_path") - execute "silent !/bin/sh ".g:base16_shell_path."/base16-default-light.sh" - endif -endif - -" GUI color definitions -let s:gui00 = "fff8eb" -let s:gui01 = "e6dfd3" -let s:gui02 = "bfbdb8" -let s:gui03 = "aba9a4" -let s:gui04 = "807f7d" -let s:gui05 = "6b6a69" -let s:gui06 = "454545" -let s:gui07 = "2b2b2b" -let s:gui08 = "bf5062" -let s:gui09 = "d47546" -let s:gui0A = "ab9838" -let s:gui0B = "609456" -let s:gui0C = "3e9486" -let s:gui0D = "6393ab" -let s:gui0E = "8572ab" -let s:gui0F = "bf80aa" - -" Terminal color definitions -let s:cterm00 = "00" -let s:cterm03 = "08" -let s:cterm05 = "07" -let s:cterm07 = "15" -let s:cterm08 = "01" -let s:cterm0A = "03" -let s:cterm0B = "02" -let s:cterm0C = "06" -let s:cterm0D = "04" -let s:cterm0E = "05" -if exists('base16colorspace') && base16colorspace == "256" - let s:cterm01 = "18" - let s:cterm02 = "19" - let s:cterm04 = "20" - let s:cterm06 = "21" - let s:cterm09 = "16" - let s:cterm0F = "17" -else - let s:cterm01 = "10" - let s:cterm02 = "11" - let s:cterm04 = "12" - let s:cterm06 = "13" - let s:cterm09 = "09" - let s:cterm0F = "14" -endif - -" Neovim terminal colours -if has("nvim") - let g:terminal_color_0 = "#fff8eb" - let g:terminal_color_1 = "#bf5062" - let g:terminal_color_2 = "#609456" - let g:terminal_color_3 = "#ab9838" - let g:terminal_color_4 = "#6393ab" - let g:terminal_color_5 = "#8572ab" - let g:terminal_color_6 = "#3e9486" - let g:terminal_color_7 = "#6b6a69" - let g:terminal_color_8 = "#aba9a4" - let g:terminal_color_9 = "#d47546" - let g:terminal_color_10 = "#e6dfd3" - let g:terminal_color_11 = "#bfbdb8" - let g:terminal_color_12 = "#807f7d" - let g:terminal_color_13 = "#454545" - let g:terminal_color_14 = "#bf80aa" - let g:terminal_color_15 = "#2b2b2b" - let g:terminal_color_background = g:terminal_color_0 - let g:terminal_color_foreground = g:terminal_color_7 - if &background == "light" - let g:terminal_color_background = g:terminal_color_7 - let g:terminal_color_foreground = g:terminal_color_2 - endif -endif - -" Theme setup -hi clear -syntax reset -let g:colors_name = "base16-default-light" - -" Highlighting function -fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) - if a:guifg != "" - exec "hi " . a:group . " guifg=#" . a:guifg - endif - if a:guibg != "" - exec "hi " . a:group . " guibg=#" . a:guibg - endif - if a:ctermfg != "" - exec "hi " . a:group . " ctermfg=" . a:ctermfg - endif - if a:ctermbg != "" - exec "hi " . a:group . " ctermbg=" . a:ctermbg - endif - if a:attr != "" - exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr - endif - if a:guisp != "" - exec "hi " . a:group . " guisp=#" . a:guisp - endif -endfun - -" Vim editor colors -call hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") -call hi("Bold", "", "", "", "", "bold", "") -call hi("Debug", s:gui08, "", s:cterm08, "", "", "") -call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") -call hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") -call hi("Exception", s:gui08, "", s:cterm08, "", "", "") -call hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") -call hi("Folded", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") -call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "none", "") -call hi("Macro", s:gui08, "", s:cterm08, "", "", "") -call hi("MatchParen", "", s:gui04, "", s:cterm04, "", "") -call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Search", s:gui00, s:gui0A, s:cterm00, s:cterm0A, "", "") -call hi("SpecialKey", s:gui04, "", s:cterm04, "", "", "") -call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") -call hi("Underlined", s:gui08, "", s:cterm08, "", "", "") -call hi("Visual", "", s:gui01, "", s:cterm01, "", "") -call hi("VisualNOS", s:gui04, "", s:cterm04, "", "", "") -call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") -call hi("WildMenu", s:gui00, s:gui06, s:cterm00, "", "", "") -call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") -call hi("Cursor", s:gui00, s:gui09, s:cterm00, s:cterm09, "", "") -call hi("NonText", s:gui04, "", s:cterm04, "", "", "") -call hi("LineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") -call hi("SignColumn", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") -call hi("statusline", s:gui00, s:gui09, s:cterm00, s:cterm09, "none", "") -call hi("StatusLineNC", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("VertSplit", s:gui04, s:gui04, s:cterm04, s:cterm04, "none", "") -call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") -call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") -call hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") -call hi("TabLine", s:gui04, s:gui01, s:cterm04, s:cterm01, "none", "") -call hi("TabLineFill", s:gui04, s:gui01, s:cterm04, s:cterm01, "none", "") -call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") - -" Standard syntax highlighting -call hi("Boolean", s:gui09, "", s:cterm09, "", "", "") -call hi("Character", s:gui09, "", s:cterm09, "", "", "") -call hi("Comment", s:gui04, "", s:cterm04, "", "", "") -call hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") -call hi("Constant", s:gui09, "", s:cterm09, "", "", "") -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") -call hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("Float", s:gui09, "", s:cterm09, "", "", "") -call hi("Function", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Identifier", s:gui09, "", s:cterm09, "", "bold", "") -call hi("Include", s:gui0D, "", s:cterm0D, "", "", "") -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") -call hi("Label", s:gui0A, "", s:cterm0A, "", "", "") -call hi("Number", s:gui09, "", s:cterm09, "", "", "") -call hi("Operator", s:gui05, "", s:cterm05, "", "none", "") -call hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") -call hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") -call hi("Special", s:gui0C, "", s:cterm0C, "", "", "") -call hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") -call hi("Statement", s:gui08, "", s:cterm08, "", "", "") -call hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("String", s:gui0B, "", s:cterm0B, "", "", "") -call hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") -call hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") -call hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") -call hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") - -" C highlighting -call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") -call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") - -" C# highlighting -call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") -call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csType", s:gui08, "", s:cterm08, "", "", "") -call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") -call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") - -" CSS highlighting -call hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") -call hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") -call hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") - -" Diff highlighting -call hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("DiffChange", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "") -call hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") -call hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") -call hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") -call hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") -call hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") - -" Git highlighting -call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") -call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") -call hi("gitcommitComment", s:gui04, "", s:cterm04, "", "", "") -call hi("gitcommitUntracked", s:gui04, "", s:cterm04, "", "", "") -call hi("gitcommitDiscarded", s:gui04, "", s:cterm04, "", "", "") -call hi("gitcommitSelected", s:gui04, "", s:cterm04, "", "", "") -call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") -call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") -call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") -call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") -call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") -call hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") - -" GitGutter highlighting -call hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") - -" HTML highlighting -call hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") -call hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") -call hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") -call hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") - -" JavaScript highlighting -call hi("javaScript", s:gui05, "", s:cterm05, "", "", "") -call hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") -call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") -" pangloss/vim-javascript highlighting -call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") -call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") -call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") -call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") -call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") -call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") - -" Mail highlighting -call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") -call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") -call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") -call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") -call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") -call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") - -" Markdown highlighting -call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") -call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") -call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") - -" NERDTree highlighting -call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") -call hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") - -" PHP highlighting -call hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") -call hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") -call hi("phpParent", s:gui05, "", s:cterm05, "", "", "") - -" Python highlighting -call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") -call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") -call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") - -" Ruby highlighting -call hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") -call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") -call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") -call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") -call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") -call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") - -" SASS highlighting -call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") -call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") -call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") -call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") - -" Signify highlighting -call hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") - -" Spelling highlighting -call hi("SpellBad", "", s:gui00, "", s:cterm00, "undercurl", s:gui08) -call hi("SpellLocal", "", s:gui00, "", s:cterm00, "undercurl", s:gui0C) -call hi("SpellCap", "", s:gui00, "", s:cterm00, "undercurl", s:gui0D) -call hi("SpellRare", "", s:gui00, "", s:cterm00, "undercurl", s:gui0E) - -" Remove functions -delf hi - -" Remove color variables -unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F -unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F diff --git a/vim/colors/despacio.vim b/vim/colors/despacio.vim deleted file mode 100644 index af60265..0000000 --- a/vim/colors/despacio.vim +++ /dev/null @@ -1,363 +0,0 @@ -" ________ _______ ________ ________ ________ ________ ___ ________ -" |\ ___ \|\ ___ \ |\ ____\|\ __ \|\ __ \|\ ____\|\ \|\ __ \ -" \ \ \_|\ \ \ __/|\ \ \___|\ \ \|\ \ \ \|\ \ \ \___|\ \ \ \ \|\ \ -" \ \ \ \\ \ \ \_|/_\ \_____ \ \ ____\ \ __ \ \ \ \ \ \ \ \\\ \ -" \ \ \_\\ \ \ \_|\ \|____|\ \ \ \___|\ \ \ \ \ \ \____\ \ \ \ \\\ \ -" \ \_______\ \_______\____\_\ \ \__\ \ \__\ \__\ \_______\ \__\ \_______\ -" \|_______|\|_______|\_________\|__| \|__|\|__|\|_______|\|__|\|_______| -" \|_________| - - -" A Terminal Vim colorscheme -" Author: Alessandro Yorba -" Script URL: https://github.com/AlessandroYorba/Despacio - -" Copyright (c) 2017 Alessandro Yorba -" -" Permission is hereby granted, free of charge, to any person obtaining a copy -" of this software and associated documentation files (the "Software"), to deal -" in the Software without restriction, including without limitation the rights -" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -" copies of the Software, and to permit persons to whom the Software is -" furnished to do so, subject to the following conditions: -" -" The above copyright notice and this permission notice shall be included in -" all copies or substantial portions of the Software. -" -" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -" THE SOFTWARE. - -"================================================================================= -" BASIC COLORS: -"================================================================================= -" Foreground #e4e4e4 | Selection #5f8787 | -" Background #303030 | Selected Text #eeeeee | -" CursorColor #dfdfaf | | -" Bold #ffffff | | -" Links #d75f00 | | -"================================================================================= -" ANSI COLORS DESPACIO: -"================================================================================= -"---------------------------------------|----------------------------------------- -" NORMAL Hex xterm | "BRIGHT Hex xterm | -"---------------------------------------|----------------------------------------- -" Black #303030 0 | brBlack #767676 8 | -" Red #d75f5f 1 | brRed #d75f5f 9 | -" Green #af875f 2 | brGreen #af875f 10 | -" Yellow #ffdfaf 3 | brYellow #ffdfaf 11 | -" Blue #5f8787 4 | brBlue #5f8787 12 | -" Magenta #ffffdf 5 | brMagenta #ffffdf 13 | -" Cyan #d75f00 6 | brCyan #d75f00 14 | -" White #e4e4e4 7 | brWhite #eeeeee 15 | -"---------------------------------------|----------------------------------------- - -"================================================================================= -" SETUP: -"================================================================================= - -set background=dark - -highlight clear -if exists("syntax_on") - syntax reset -endif - -"================================================================================ -" SET DEFAULT PARAMETERS: -"================================================================================ - -let g:colors_name="despacio" - - -if !exists("g:despacio_Sunset") - let g:despacio_Sunset = 0 -endif - -if !exists("g:despacio_Twilight") - let g:despacio_Twilight = 0 -endif - -if !exists("g:despacio_Midnight") - let g:despacio_Midnight = 0 -endif - -if !exists("g:despacio_Pitch") - let g:despacio_Pitch = 0 -endif - -if !exists("g:despacio_Clear_Skies") - let g:despacio_Clear_Skies = 0 -endif - -if !exists("g:despacio_Campfire") - let g:despacio_Campfire = 0 -endif - -"================================================================================ -" CAMPFIRE: -"================================================================================ -if g:despacio_Campfire - let despacio_Hour = strftime("%H") - "Day: 7am - 5pm - if 7 <= despacio_Hour && despacio_Hour < 17 - let g:despacio_Sunset = 0 - let g:despacio_Twilight = 0 - let g:despacio_Midnight = 0 - let g:despacio_Pitch = 0 - "Sunset: 5pm - 7pm - elseif 17 <= despacio_Hour && despacio_Hour < 19 - let g:despacio_Sunset = 1 - let g:despacio_Twilight = 0 - let g:despacio_Midnight = 0 - let g:despacio_Pitch = 0 - "Twilight: 7pm - 9pm - elseif 19 <= despacio_Hour && despacio_Hour < 21 - let g:despacio_Sunset = 0 - let g:despacio_Twilight = 1 - let g:despacio_Midnight = 0 - let g:despacio_Pitch = 0 - "Midnight: 9pm - 12am - elseif 21 <= despacio_Hour && despacio_Hour < 24 - let g:despacio_Sunset = 0 - let g:despacio_Twilight = 0 - let g:despacio_Midnight = 1 - let g:despacio_Pitch = 0 - "Pitch: 12am - 7am - else - let g:despacio_Sunset = 0 - let g:despacio_Twilight = 0 - let g:despacio_Midnight = 0 - let g:despacio_Pitch = 1 - endif -endif - -"================================================================================ -" COMMON SETTINGS: -"================================================================================ - -highlight! Constant guifg=#d75f00 guibg=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE -highlight! htmlArg guifg=#d75f00 guibg=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE - -highlight! Special guifg=#ffaf87 guibg=NONE gui=NONE ctermfg=216 ctermbg=NONE cterm=NONE -highlight! Directory guifg=#ffaf87 guibg=NONE gui=NONE ctermfg=216 ctermbg=NONE cterm=NONE - -highlight! Underlined guifg=#5f8787 guibg=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE -highlight! ErrorMsg guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE - -highlight! String guifg=#ffffdf guibg=NONE gui=NONE ctermfg=230 ctermbg=NONE cterm=NONE -highlight! ModeMsg guifg=#ffffdf guibg=NONE gui=NONE ctermfg=230 ctermbg=NONE cterm=NONE - -highlight! PreProc guifg=#ff875f guibg=NONE gui=NONE ctermfg=209 ctermbg=NONE cterm=NONE -highlight! htmlItalic guifg=#ff875f guibg=NONE gui=NONE ctermfg=209 ctermbg=NONE cterm=NONE -highlight! WarningMsg guifg=#ff875f guibg=NONE gui=NONE ctermfg=209 ctermbg=NONE cterm=NONE -highlight! Title guifg=#ff875f guibg=NONE gui=NONE ctermfg=209 ctermbg=NONE cterm=NONE -highlight! Type guifg=#ff875f guibg=NONE gui=NONE ctermfg=209 ctermbg=NONE cterm=NONE -highlight! cssClassName guifg=#ff875f guibg=NONE gui=NONE ctermfg=209 ctermbg=NONE cterm=NONE -highlight! cssIdentifier guifg=#ff875f guibg=NONE gui=NONE ctermfg=209 ctermbg=NONE cterm=NONE -highlight! Todo guifg=#ff875f guibg=NONE gui=reverse ctermfg=209 ctermbg=NONE cterm=reverse - -highlight! Statement guifg=#af875f guibg=NONE gui=NONE ctermfg=137 ctermbg=NONE cterm=NONE -highlight! MoreMsg guifg=#af875f guibg=NONE gui=NONE ctermfg=137 ctermbg=NONE cterm=NONE -highlight! Question guifg=#af875f guibg=NONE gui=NONE ctermfg=137 ctermbg=NONE cterm=NONE -highlight! SpecialComment guifg=#af875f guibg=NONE gui=reverse ctermfg=137 ctermbg=NONE cterm=reverse - -highlight! Function guifg=#ffdfaf guibg=NONE gui=NONE ctermfg=223 ctermbg=NONE cterm=NONE -highlight! htmlStatement guifg=#ffdfaf guibg=NONE gui=NONE ctermfg=223 ctermbg=NONE cterm=NONE -highlight! Identifier guifg=#ffdfaf guibg=NONE gui=NONE ctermfg=223 ctermbg=NONE cterm=NONE -highlight! cssTagName guifg=#ffdfaf guibg=NONE gui=NONE ctermfg=223 ctermbg=NONE cterm=NONE - -highlight! Label guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE -highlight! Operator guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE -highlight! StorageClass guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE - -highlight! Visual guifg=#eeeeee guibg=#5f8787 gui=NONE ctermfg=255 ctermbg=237 cterm=NONE -highlight! MatchParen guifg=#eeeeee guibg=#5f8787 gui=NONE ctermfg=255 ctermbg=66 cterm=NONE -highlight! WildMenu guifg=#eeeeee guibg=#5f8787 gui=NONE ctermfg=255 ctermbg=66 cterm=NONE - -highlight! CursorLineNr guifg=#af875f guibg=NONE gui=reverse ctermfg=137 ctermbg=NONE cterm=reverse -highlight! VimCommentTitle guifg=#af875f guibg=NONE gui=reverse ctermfg=137 ctermbg=NONE cterm=reverse - -highlight! Error guifg=#d75f5f guibg=#121212 gui=reverse ctermfg=167 ctermbg=233 cterm=reverse -highlight! FoldColumn guifg=#87afaf guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE -highlight! SignColumn guifg=#87af87 guibg=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE -highlight! Folded guifg=#dfdfaf guibg=NONE gui=NONE ctermfg=187 ctermbg=NONE cterm=NONE -highlight! Search guifg=#eeeeee guibg=#af5f00 gui=NONE ctermfg=255 ctermbg=130 cterm=NONE - -highlight! SpellBad guifg=#d75f5f guibg=NONE gui=undercurl ctermfg=167 ctermbg=NONE cterm=undercurl -highlight! SpellLocal guifg=#5f875f guibg=NONE gui=undercurl ctermfg=65 ctermbg=NONE cterm=undercurl -highlight! SpellCap guifg=#87afff guibg=NONE gui=undercurl ctermfg=111 ctermbg=NONE cterm=undercurl -highlight! SpellRare guifg=#ff8700 guibg=NONE gui=undercurl ctermfg=208 ctermbg=NONE cterm=undercurl - -highlight! DiffAdd guifg=#ffdfaf guibg=NONE gui=reverse ctermfg=223 ctermbg=NONE cterm=reverse -highlight! DiffText guifg=#dfaf87 guibg=NONE gui=reverse ctermfg=180 ctermbg=NONE cterm=reverse -highlight! DiffChange guifg=#af875f guibg=NONE gui=reverse ctermfg=137 ctermbg=NONE cterm=reverse -highlight! DiffDelete guifg=#af5f5f guibg=NONE gui=reverse ctermfg=131 ctermbg=NONE cterm=reverse - -"================================================================================ -" DAY: -"================================================================================ -if 1 - highlight! Normal guifg=#e4e4e4 guibg=#303030 gui=NONE ctermfg=250 ctermbg=236 cterm=NONE - highlight! TabLineFill guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE - - highlight! CursorLine guifg=NONE guibg=#3a3a3a gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE - highlight! CursorColumn guifg=NONE guibg=#3a3a3a gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE - highlight! ColorColumn guifg=NONE guibg=#3a3a3a gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE - - highlight! StatusLine guifg=#eeeeee guibg=#262626 gui=NONE ctermfg=240 ctermbg=237 cterm=NONE - highlight! TabLineSel guifg=#eeeeee guibg=#262626 gui=NONE ctermfg=255 ctermbg=237 cterm=NONE - highlight! PmenuSel guifg=#eeeeee guibg=#262626 gui=NONE ctermfg=255 ctermbg=237 cterm=NONE - - highlight! StatusLineNC guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=237 cterm=NONE - highlight! VertSplit guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=237 cterm=NONE - highlight! TabLine guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=237 cterm=NONE - highlight! Pmenu guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=237 cterm=NONE - highlight! LineNr guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=237 cterm=NONE - - highlight! NonText guifg=#444444 guibg=NONE gui=NONE ctermfg=238 ctermbg=NONE cterm=NONE - highlight! SpecialKey guifg=#444444 guibg=NONE gui=NONE ctermfg=238 ctermbg=NONE cterm=NONE - - highlight! PmenuSbar guifg=#262626 guibg=#262626 gui=NONE ctermfg=235 ctermbg=235 cterm=NONE - highlight! PmenuThumb guifg=#262626 guibg=#262626 gui=NONE ctermfg=235 ctermbg=235 cterm=NONE - - highlight! Comment guifg=#767676 guibg=NONE gui=NONE ctermfg=243 ctermbg=NONE cterm=NONE - highlight! Folded guifg=#767676 guibg=NONE gui=NONE ctermfg=243 ctermbg=NONE cterm=NONE -endif - -"================================================================================ -" SUNSET: -"================================================================================ -if g:despacio_Sunset - highlight! Normal guifg=#dfdfdf guibg=#262626 gui=NONE ctermfg=188 ctermbg=235 cterm=NONE - highlight! TabLineFill guifg=NONE guibg=#1c1c1c gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE - - highlight! CursorLine guifg=NONE guibg=#303030 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE - highlight! CursorColumn guifg=NONE guibg=#303030 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE - highlight! ColorColumn guifg=NONE guibg=#303030 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE - - highlight! StatusLine guifg=#eeeeee guibg=#1c1c1c gui=NONE ctermfg=255 ctermbg=234 cterm=NONE - highlight! TabLineSel guifg=#eeeeee guibg=#1c1c1c gui=NONE ctermfg=255 ctermbg=234 cterm=NONE - highlight! PmenuSel guifg=#eeeeee guibg=#1c1c1c gui=NONE ctermfg=255 ctermbg=234 cterm=NONE - - highlight! StatusLineNC guifg=#6c6c6c guibg=#1c1c1c gui=NONE ctermfg=242 ctermbg=234 cterm=NONE - highlight! VertSplit guifg=#6c6c6c guibg=#1c1c1c gui=NONE ctermfg=242 ctermbg=234 cterm=NONE - highlight! TabLine guifg=#6c6c6c guibg=#1c1c1c gui=NONE ctermfg=242 ctermbg=234 cterm=NONE - highlight! Pmenu guifg=#6c6c6c guibg=#1c1c1c gui=NONE ctermfg=242 ctermbg=234 cterm=NONE - highlight! LineNr guifg=#6c6c6c guibg=#1c1c1c gui=NONE ctermfg=242 ctermbg=234 cterm=NONE - - highlight! PmenuSbar guifg=#1c1c1c guibg=#1c1c1c gui=NONE ctermfg=234 ctermbg=234 cterm=NONE - highlight! PmenuThumb guifg=#1c1c1c guibg=#1c1c1c gui=NONE ctermfg=234 ctermbg=234 cterm=NONE - - highlight! NonText guifg=#3a3a3a guibg=NONE gui=NONE ctermfg=237 ctermbg=NONE cterm=NONE - highlight! SpecialKey guifg=#3a3a3a guibg=NONE gui=NONE ctermfg=237 ctermbg=NONE cterm=NONE - - highlight! Comment guifg=#6c6c6c guibg=NONE gui=NONE ctermfg=242 ctermbg=NONE cterm=NONE - highlight! Folded guifg=#6c6c6c guibg=NONE gui=NONE ctermfg=242 ctermbg=NONE cterm=NONE -endif - -"================================================================================ -" TWILIGHT: -"================================================================================ -if g:despacio_Twilight - highlight! Normal guifg=#dfdfdf guibg=#1c1c1c gui=NONE ctermfg=188 ctermbg=234 cterm=NONE - highlight! TabLineFill guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=NONE - - highlight! CursorLine guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE - highlight! CursorColumn guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE - highlight! ColorColumn guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE - - highlight! StatusLine guifg=#eeeeee guibg=#121212 gui=NONE ctermfg=255 ctermbg=233 cterm=NONE - highlight! TabLineSel guifg=#eeeeee guibg=#121212 gui=NONE ctermfg=255 ctermbg=233 cterm=NONE - highlight! PmenuSel guifg=#eeeeee guibg=#121212 gui=NONE ctermfg=255 ctermbg=233 cterm=NONE - - highlight! StatusLineNC guifg=#626262 guibg=#121212 gui=NONE ctermfg=241 ctermbg=233 cterm=NONE - highlight! VertSplit guifg=#626262 guibg=#121212 gui=NONE ctermfg=241 ctermbg=233 cterm=NONE - highlight! TabLine guifg=#626262 guibg=#121212 gui=NONE ctermfg=241 ctermbg=233 cterm=NONE - highlight! Pmenu guifg=#626262 guibg=#121212 gui=NONE ctermfg=241 ctermbg=233 cterm=NONE - highlight! LineNr guifg=#626262 guibg=#121212 gui=NONE ctermfg=241 ctermbg=233 cterm=NONE - - highlight! PmenuSbar guifg=#121212 guibg=#121212 gui=NONE ctermfg=233 ctermbg=233 cterm=NONE - highlight! PmenuThumb guifg=#121212 guibg=#121212 gui=NONE ctermfg=233 ctermbg=233 cterm=NONE - - highlight! NonText guifg=#303030 guibg=NONE gui=NONE ctermfg=236 ctermbg=NONE cterm=NONE - highlight! SpecialKey guifg=#303030 guibg=NONE gui=NONE ctermfg=236 ctermbg=NONE cterm=NONE - - highlight! Comment guifg=#626262 guibg=NONE gui=NONE ctermfg=241 ctermbg=NONE cterm=NONE - highlight! Folded guifg=#626262 guibg=NONE gui=NONE ctermfg=241 ctermbg=NONE cterm=NONE -endif - -"================================================================================ -" MIDNIGHT: -"================================================================================ -if g:despacio_Midnight - highlight! Normal guifg=#dfdfdf guibg=#121212 gui=NONE ctermfg=188 ctermbg=233 cterm=NONE - highlight! TabLineFill guifg=NONE guibg=#1c1c1c gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE - - highlight! CursorLine guifg=NONE guibg=#080808 gui=NONE ctermfg=NONE ctermbg=232 cterm=NONE - highlight! CursorColumn guifg=NONE guibg=#080808 gui=NONE ctermfg=NONE ctermbg=232 cterm=NONE - highlight! ColorColumn guifg=NONE guibg=#080808 gui=NONE ctermfg=NONE ctermbg=232 cterm=NONE - - highlight! StatusLine guifg=#eeeeee guibg=#1c1c1c gui=none ctermfg=255 ctermbg=234 cterm=none - highlight! TabLineSel guifg=#eeeeee guibg=#1c1c1c gui=none ctermfg=255 ctermbg=234 cterm=none - highlight! PmenuSel guifg=#eeeeee guibg=#1c1c1c gui=none ctermfg=255 ctermbg=234 cterm=none - - highlight! StatusLineNC guifg=#585858 guibg=#1c1c1c gui=none ctermfg=240 ctermbg=234 cterm=none - highlight! VertSplit guifg=#585858 guibg=#1c1c1c gui=none ctermfg=240 ctermbg=234 cterm=none - highlight! TabLine guifg=#585858 guibg=#1c1c1c gui=none ctermfg=240 ctermbg=234 cterm=none - highlight! Pmenu guifg=#585858 guibg=#1c1c1c gui=none ctermfg=240 ctermbg=234 cterm=none - highlight! LineNr guifg=#585858 guibg=#1c1c1c gui=none ctermfg=240 ctermbg=234 cterm=none - - highlight! PmenuSbar guifg=#1c1c1c guibg=#1c1c1c gui=NONE ctermfg=234 ctermbg=234 cterm=NONE - highlight! PmenuThumb guifg=#1c1c1c guibg=#1c1c1c gui=NONE ctermfg=234 ctermbg=234 cterm=NONE - - highlight! NonText guifg=#262626 guibg=NONE gui=NONE ctermfg=235 ctermbg=NONE cterm=NONE - highlight! SpecialKey guifg=#262626 guibg=NONE gui=NONE ctermfg=235 ctermbg=NONE cterm=NONE - - highlight! Comment guifg=#585858 guibg=NONE gui=NONE ctermfg=240 ctermbg=NONE cterm=NONE - highlight! Folded guifg=#585858 guibg=NONE gui=NONE ctermfg=240 ctermbg=NONE cterm=NONE -endif - -"================================================================================ -" PITCH: -"================================================================================ -if g:despacio_Pitch - highlight! Normal guifg=#dfdfdf guibg=#080808 gui=NONE ctermfg=188 ctermbg=232 cterm=NONE - highlight! TabLineFill guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE - - highlight! CursorLine guifg=NONE guibg=#000000 gui=NONE ctermfg=NONE ctermbg=16 cterm=NONE - highlight! CursorColumn guifg=NONE guibg=#000000 gui=NONE ctermfg=NONE ctermbg=16 cterm=NONE - highlight! ColorColumn guifg=NONE guibg=#000000 gui=NONE ctermfg=NONE ctermbg=16 cterm=NONE - - highlight! StatusLine guifg=#eeeeee guibg=#121212 gui=NONE ctermfg=255 ctermbg=233 cterm=NONE - highlight! TabLineSel guifg=#eeeeee guibg=#121212 gui=NONE ctermfg=255 ctermbg=233 cterm=NONE - highlight! PmenuSel guifg=#eeeeee guibg=#121212 gui=NONE ctermfg=255 ctermbg=233 cterm=NONE - - highlight! StatusLineNC guifg=#4e4e4e guibg=#121212 gui=NONE ctermfg=239 ctermbg=233 cterm=NONE - highlight! VertSplit guifg=#4e4e4e guibg=#121212 gui=NONE ctermfg=239 ctermbg=233 cterm=NONE - highlight! TabLine guifg=#4e4e4e guibg=#121212 gui=NONE ctermfg=239 ctermbg=233 cterm=NONE - highlight! Pmenu guifg=#4e4e4e guibg=#121212 gui=NONE ctermfg=239 ctermbg=233 cterm=NONE - highlight! LineNr guifg=#4e4e4e guibg=#121212 gui=NONE ctermfg=239 ctermbg=233 cterm=NONE - - highlight! PmenuSbar guifg=#121212 guibg=#121212 gui=NONE ctermfg=233 ctermbg=233 cterm=NONE - highlight! PmenuThumb guifg=#121212 guibg=#121212 gui=NONE ctermfg=233 ctermbg=233 cterm=NONE - - highlight! NonText guifg=#1c1c1c guibg=NONE gui=NONE ctermfg=234 ctermbg=NONE cterm=NONE - highlight! SpecialKey guifg=#1c1c1c guibg=NONE gui=NONE ctermfg=234 ctermbg=NONE cterm=NONE - - highlight! Comment guifg=#4e4e4e guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE - highlight! Folded guifg=#4e4e4e guibg=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE -endif - -"================================================================================ -" CLEAR SKIES: -"================================================================================ -if g:despacio_Clear_Skies - highlight! CursorLine guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE - highlight! CursorColumn guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE -endif - diff --git a/vim/colors/forgotten-light.vim b/vim/colors/forgotten-light.vim deleted file mode 100644 index c79cfe4..0000000 --- a/vim/colors/forgotten-light.vim +++ /dev/null @@ -1,244 +0,0 @@ -" forgotten-light, a vim colourscheme by nightsense -" -" generated with a theme template adapted from -" base16-vim (https://github.com/chriskempson/base16-vim) -" by Chris Kempson (http://chriskempson.com) - - -"=== SET COLOUR VARIABLES ===================================================== - -" GUI colours -let s:g0 = 'f0f8ff' -let s:g1 = 'dde6f0' -let s:g2 = 'a3acb5' -let s:g3 = '8b959e' -let s:g4 = '77808a' -let s:g5 = '616b75' -let s:g6 = '2c333b' -let s:g7 = '1d242b' -let s:g8 = 'f55050' -let s:g9 = 'e06a26' -let s:gA = 'd4ac35' -let s:gB = '219e21' -let s:gC = '1b9e9e' -let s:gD = '468dd4' -let s:gE = 'a26fbf' -let s:gF = 'd46a84' - -" terminal colours -let s:t0 = '00' -let s:t3 = '08' -let s:t5 = '07' -let s:t7 = '15' -let s:t8 = '01' -let s:tA = '03' -let s:tB = '02' -let s:tC = '06' -let s:tD = '04' -let s:tE = '05' -let s:t1 = '10' -let s:t2 = '11' -let s:t4 = '12' -let s:t6 = '13' -let s:t9 = '09' -let s:tF = '14' - -" neovim colours -if has('nvim') - let g:terminal_color_0 = '#f0f8ff' - let g:terminal_color_1 = '#f55050' - let g:terminal_color_2 = '#219e21' - let g:terminal_color_3 = '#d4ac35' - let g:terminal_color_4 = '#468dd4' - let g:terminal_color_5 = '#a26fbf' - let g:terminal_color_6 = '#1b9e9e' - let g:terminal_color_7 = '#616b75' - let g:terminal_color_8 = '#8b959e' - let g:terminal_color_9 = '#e06a26' - let g:terminal_color_10 = '#dde6f0' - let g:terminal_color_11 = '#a3acb5' - let g:terminal_color_12 = '#77808a' - let g:terminal_color_13 = '#2c333b' - let g:terminal_color_14 = '#d46a84' - let g:terminal_color_15 = '#1d242b' -endif - - -"=== OTHER PREPARATION ======================================================== - -" run theme-setting script if using terminal vim -if filereadable(expand('~/.nightshell/forgotten-light')) - if !has('gui_running') - execute 'silent !/bin/sh $HOME/.nightshell/forgotten-light' - endif -endif - -" clear old theme -hi clear -syntax reset - -" set new theme -set background=light -augroup NightsenseThemeSet - autocmd! - autocmd CursorMoved * execute 'if !exists("colors_name") | - \ colorscheme forgotten-light | endif' -augroup END -let colors_name = 'forgotten-light' - -" highlighting function -fun! h(x, gf, gb, cf, cb, a, s) - if a:gf != '' | exe 'hi ' . a:x . ' guifg=#' . a:gf | endif - if a:gb != '' | exe 'hi ' . a:x . ' guibg=#' . a:gb | endif - if a:cf != '' | exe 'hi ' . a:x . ' ctermfg=' . a:cf | endif - if a:cb != '' | exe 'hi ' . a:x . ' ctermbg=' . a:cb | endif - if a:a != '' | exe 'hi ' . a:x . ' gui=' . a:a . ' cterm=' . a:a | endif - if a:s != '' | exe 'hi ' . a:x . ' guisp=#' . a:s | endif -endfun - - -"=== BASIC HIGHLIGHTING ======================================================= - -" cursor + status line + selected tab -cal h('Cursor' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' ) -cal h('StatusLine' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' ) -cal h('StatusLineTerm' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' ) -cal h('TabLineSel' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' ) -cal h('TermCursor' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' ) - -" line numbers -cal h('CursorLineNr' , s:g0 , s:g3 , s:t0 , s:t3 , 'none' , '' ) -cal h('LineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' ) - -" basic text -cal h('Bold' , '' , '' , '' , '' , 'bold' , '' ) -cal h('Directory' , s:g5 , '' , s:t5 , '' , 'bold' , '' ) -cal h('Italic' , '' , '' , '' , '' , 'italic' , '' ) -cal h('Normal' , s:g5 , s:g0 , s:t5 , s:t0 , 'none' , '' ) -cal h('Underlined' , s:g5 , '' , s:t5 , '' , 'underline' , '' ) - -" commented-out text -cal h('Comment' , s:g3 , '' , s:t3 , '' , 'none' , '' ) -cal h('Conceal' , s:g3 , '' , s:t3 , '' , 'none' , '' ) -cal h('EndOfBuffer' , s:g3 , '' , s:t3 , '' , 'none' , '' ) -cal h('Ignore' , s:g3 , '' , s:t3 , '' , 'none' , '' ) -cal h('NonText' , s:g3 , '' , s:t3 , '' , 'none' , '' ) - -" highlighted background -cal h('ColorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' ) -cal h('CursorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' ) -cal h('CursorLine' , '' , s:g1 , '' , s:t1 , 'none' , '' ) -cal h('QuickFixLine' , '' , s:g1 , '' , s:t1 , 'none' , '' ) -cal h('StatusLineNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' ) -cal h('StatusLineTermNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' ) -cal h('TabLineFill' , '' , s:g1 , '' , s:t1 , 'none' , '' ) -cal h('TermCursorNC' , '' , s:g1 , '' , s:t1 , 'none' , '' ) - -" muted text on highlighted background -cal h('DiffChange' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' ) -cal h('FoldColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' ) -cal h('Folded' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' ) -cal h('SignColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' ) -cal h('TabLine' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' ) -cal h('VisualNOS' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' ) - -" strongly highlighted background -cal h('MatchParen' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' ) -cal h('Pmenu' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' ) -cal h('Visual' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' ) - -" selected menu item -cal h('PmenuSel' , s:g0 , s:g5 , s:t0 , s:t5 , 'none' , '' ) -cal h('WildMenu' , s:g0 , s:g6 , s:t0 , s:t6 , 'none' , '' ) - -" solid lines -cal h('PmenuSbar' , s:g1 , s:g1 , s:t1 , s:t1 , 'none' , '' ) -cal h('PmenuThumb' , s:g4 , s:g4 , s:t4 , s:t4 , 'none' , '' ) -cal h('VertSplit' , s:g2 , s:g2 , s:t2 , s:t2 , 'none' , '' ) - - -"=== ALERT/SYNTAX HIGHLIGHTING ================================================ - -" RED for warning elements -cal h('DiffDelete' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' ) -cal h('Error' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' ) -cal h('ErrorMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' ) -cal h('SpellBad' , '' , '' , s:t0 , s:t8 , 'undercurl' , s:g8) -cal h('TooLong' , s:g8 , '' , s:t8 , '' , 'none' , '' ) -cal h('WarningMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' ) - -" ORANGE for preliminary elements -cal h('Define' , s:g9 , '' , s:t9 , '' , 'none' , '' ) -cal h('IncSearch' , s:g9 , s:g0 , s:t9 , s:t0 , 'reverse' , '' ) -cal h('Include' , s:g9 , '' , s:t9 , '' , 'none' , '' ) -cal h('Macro' , s:g9 , '' , s:t9 , '' , 'none' , '' ) -cal h('PreCondit' , s:g9 , '' , s:t9 , '' , 'none' , '' ) -cal h('PreProc' , s:g9 , '' , s:t9 , '' , 'none' , '' ) -cal h('SpellCap' , '' , '' , s:t0 , s:t9 , 'undercurl' , s:g9) -cal h('Title' , s:g9 , '' , s:t9 , '' , 'none' , '' ) - -" YELLOW for highlighted elements -cal h('DiffText' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' ) -cal h('Search' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' ) -cal h('Todo' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' ) - -" GREEN for action elements -cal h('Conditional' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('DiffAdd' , s:gB , s:g0 , s:tB , s:t0 , 'reverse' , '' ) -cal h('Exception' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('Keyword' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('Label' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('ModeMsg' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('MoreMsg' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('Operator' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('Question' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('Repeat' , s:gB , '' , s:tB , '' , 'none' , '' ) -cal h('Statement' , s:gB , '' , s:tB , '' , 'none' , '' ) - -" TEAL for object types -cal h('SpellLocal' , '' , '' , s:t0 , s:tC , 'undercurl' , s:gC) -cal h('StorageClass' , s:gC , '' , s:tC , '' , 'none' , '' ) -cal h('Structure' , s:gC , '' , s:tC , '' , 'none' , '' ) -cal h('Type' , s:gC , '' , s:tC , '' , 'none' , '' ) -cal h('Typedef' , s:gC , '' , s:tC , '' , 'none' , '' ) - -" BLUE for constants -cal h('Boolean' , s:gD , '' , s:tD , '' , 'none' , '' ) -cal h('Character' , s:gD , '' , s:tD , '' , 'none' , '' ) -cal h('Constant' , s:gD , '' , s:tD , '' , 'none' , '' ) -cal h('Float' , s:gD , '' , s:tD , '' , 'none' , '' ) -cal h('Number' , s:gD , '' , s:tD , '' , 'none' , '' ) -cal h('String' , s:gD , '' , s:tD , '' , 'none' , '' ) - -" PURPLE for special text -cal h('Debug' , s:gE , '' , s:tE , '' , 'none' , '' ) -cal h('Delimiter' , s:gE , '' , s:tE , '' , 'none' , '' ) -cal h('Special' , s:gE , '' , s:tE , '' , 'none' , '' ) -cal h('SpecialChar' , s:gE , '' , s:tE , '' , 'none' , '' ) -cal h('SpecialComment' , s:gE , '' , s:tE , '' , 'none' , '' ) -cal h('SpecialKey' , s:gE , '' , s:tE , '' , 'none' , '' ) -cal h('SpellRare' , '' , '' , s:t0 , s:tE , 'undercurl' , s:gE) -cal h('Tag' , s:gE , '' , s:tE , '' , 'none' , '' ) - -" PINK for object names -cal h('Function' , s:gF , '' , s:tF , '' , 'none' , '' ) -cal h('Identifier' , s:gF , '' , s:tF , '' , 'none' , '' ) - - -"=== OPTIONS ================================================================== - -" disable highlighted CursorLineNr -if exists('g:forgotten_light_CursorLineNr') -if g:forgotten_light_CursorLineNr == 'off' -cal h('CursorLineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' ) -endif -endif - -" disable LineNr background altogether -if exists('g:forgotten_light_LineNr') -if g:forgotten_light_LineNr == 'off' -cal h('CursorLineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' ) -cal h('LineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' ) -endif -endif - diff --git a/vim/colors/gruvbox.vim b/vim/colors/gruvbox.vim deleted file mode 100644 index b800133..0000000 --- a/vim/colors/gruvbox.vim +++ /dev/null @@ -1,1394 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: gruvbox.vim -" Description: Retro groove color scheme for Vim -" Author: morhetz -" Source: https://github.com/morhetz/gruvbox -" Last Modified: 12 Aug 2017 -" ----------------------------------------------------------------------------- - -" Supporting code ------------------------------------------------------------- -" Initialisation: {{{ - -if version > 580 - hi clear - if exists("syntax_on") - syntax reset - endif -endif - -let g:colors_name='gruvbox' - -if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256 - finish -endif - -" }}} -" Global Settings: {{{ - -if !exists('g:gruvbox_bold') - let g:gruvbox_bold=1 -endif -if !exists('g:gruvbox_italic') - if has('gui_running') || $TERM_ITALICS == 'true' - let g:gruvbox_italic=1 - else - let g:gruvbox_italic=0 - endif -endif -if !exists('g:gruvbox_undercurl') - let g:gruvbox_undercurl=1 -endif -if !exists('g:gruvbox_underline') - let g:gruvbox_underline=1 -endif -if !exists('g:gruvbox_inverse') - let g:gruvbox_inverse=1 -endif - -if !exists('g:gruvbox_guisp_fallback') || index(['fg', 'bg'], g:gruvbox_guisp_fallback) == -1 - let g:gruvbox_guisp_fallback='NONE' -endif - -if !exists('g:gruvbox_improved_strings') - let g:gruvbox_improved_strings=0 -endif - -if !exists('g:gruvbox_improved_warnings') - let g:gruvbox_improved_warnings=0 -endif - -if !exists('g:gruvbox_termcolors') - let g:gruvbox_termcolors=256 -endif - -if !exists('g:gruvbox_invert_indent_guides') - let g:gruvbox_invert_indent_guides=0 -endif - -if exists('g:gruvbox_contrast') - echo 'g:gruvbox_contrast is deprecated; use g:gruvbox_contrast_light and g:gruvbox_contrast_dark instead' -endif - -if !exists('g:gruvbox_contrast_dark') - let g:gruvbox_contrast_dark='medium' -endif - -if !exists('g:gruvbox_contrast_light') - let g:gruvbox_contrast_light='medium' -endif - -let s:is_dark=(&background == 'dark') - -" }}} -" Palette: {{{ - -" setup palette dictionary -let s:gb = {} - -" fill it with absolute colors -let s:gb.dark0_hard = ['#1d2021', 234] " 29-32-33 -let s:gb.dark0 = ['#282828', 235] " 40-40-40 -let s:gb.dark0_soft = ['#32302f', 236] " 50-48-47 -let s:gb.dark1 = ['#3c3836', 237] " 60-56-54 -let s:gb.dark2 = ['#504945', 239] " 80-73-69 -let s:gb.dark3 = ['#665c54', 241] " 102-92-84 -let s:gb.dark4 = ['#7c6f64', 243] " 124-111-100 -let s:gb.dark4_256 = ['#7c6f64', 243] " 124-111-100 - -let s:gb.gray_245 = ['#928374', 245] " 146-131-116 -let s:gb.gray_244 = ['#928374', 244] " 146-131-116 - -let s:gb.light0_hard = ['#f9f5d7', 230] " 249-245-215 -let s:gb.light0 = ['#fbf1c7', 229] " 253-244-193 -let s:gb.light0_soft = ['#f2e5bc', 228] " 242-229-188 -let s:gb.light1 = ['#ebdbb2', 223] " 235-219-178 -let s:gb.light2 = ['#d5c4a1', 250] " 213-196-161 -let s:gb.light3 = ['#bdae93', 248] " 189-174-147 -let s:gb.light4 = ['#a89984', 246] " 168-153-132 -let s:gb.light4_256 = ['#a89984', 246] " 168-153-132 - -let s:gb.bright_red = ['#fb4934', 167] " 251-73-52 -let s:gb.bright_green = ['#b8bb26', 142] " 184-187-38 -let s:gb.bright_yellow = ['#fabd2f', 214] " 250-189-47 -let s:gb.bright_blue = ['#83a598', 109] " 131-165-152 -let s:gb.bright_purple = ['#d3869b', 175] " 211-134-155 -let s:gb.bright_aqua = ['#8ec07c', 108] " 142-192-124 -let s:gb.bright_orange = ['#fe8019', 208] " 254-128-25 - -let s:gb.neutral_red = ['#cc241d', 124] " 204-36-29 -let s:gb.neutral_green = ['#98971a', 106] " 152-151-26 -let s:gb.neutral_yellow = ['#d79921', 172] " 215-153-33 -let s:gb.neutral_blue = ['#458588', 66] " 69-133-136 -let s:gb.neutral_purple = ['#b16286', 132] " 177-98-134 -let s:gb.neutral_aqua = ['#689d6a', 72] " 104-157-106 -let s:gb.neutral_orange = ['#d65d0e', 166] " 214-93-14 - -let s:gb.faded_red = ['#9d0006', 88] " 157-0-6 -let s:gb.faded_green = ['#79740e', 100] " 121-116-14 -let s:gb.faded_yellow = ['#b57614', 136] " 181-118-20 -let s:gb.faded_blue = ['#076678', 24] " 7-102-120 -let s:gb.faded_purple = ['#8f3f71', 96] " 143-63-113 -let s:gb.faded_aqua = ['#427b58', 66] " 66-123-88 -let s:gb.faded_orange = ['#af3a03', 130] " 175-58-3 - -" }}} -" Setup Emphasis: {{{ - -let s:bold = 'bold,' -if g:gruvbox_bold == 0 - let s:bold = '' -endif - -let s:italic = 'italic,' -if g:gruvbox_italic == 0 - let s:italic = '' -endif - -let s:underline = 'underline,' -if g:gruvbox_underline == 0 - let s:underline = '' -endif - -let s:undercurl = 'undercurl,' -if g:gruvbox_undercurl == 0 - let s:undercurl = '' -endif - -let s:inverse = 'inverse,' -if g:gruvbox_inverse == 0 - let s:inverse = '' -endif - -" }}} -" Setup Colors: {{{ - -let s:vim_bg = ['bg', 'bg'] -let s:vim_fg = ['fg', 'fg'] -let s:none = ['NONE', 'NONE'] - -" determine relative colors -if s:is_dark - let s:bg0 = s:gb.dark0 - if g:gruvbox_contrast_dark == 'soft' - let s:bg0 = s:gb.dark0_soft - elseif g:gruvbox_contrast_dark == 'hard' - let s:bg0 = s:gb.dark0_hard - endif - - let s:bg1 = s:gb.dark1 - let s:bg2 = s:gb.dark2 - let s:bg3 = s:gb.dark3 - let s:bg4 = s:gb.dark4 - - let s:gray = s:gb.gray_245 - - let s:fg0 = s:gb.light0 - let s:fg1 = s:gb.light1 - let s:fg2 = s:gb.light2 - let s:fg3 = s:gb.light3 - let s:fg4 = s:gb.light4 - - let s:fg4_256 = s:gb.light4_256 - - let s:red = s:gb.bright_red - let s:green = s:gb.bright_green - let s:yellow = s:gb.bright_yellow - let s:blue = s:gb.bright_blue - let s:purple = s:gb.bright_purple - let s:aqua = s:gb.bright_aqua - let s:orange = s:gb.bright_orange -else - let s:bg0 = s:gb.light0 - if g:gruvbox_contrast_light == 'soft' - let s:bg0 = s:gb.light0_soft - elseif g:gruvbox_contrast_light == 'hard' - let s:bg0 = s:gb.light0_hard - endif - - let s:bg1 = s:gb.light1 - let s:bg2 = s:gb.light2 - let s:bg3 = s:gb.light3 - let s:bg4 = s:gb.light4 - - let s:gray = s:gb.gray_244 - - let s:fg0 = s:gb.dark0 - let s:fg1 = s:gb.dark1 - let s:fg2 = s:gb.dark2 - let s:fg3 = s:gb.dark3 - let s:fg4 = s:gb.dark4 - - let s:fg4_256 = s:gb.dark4_256 - - let s:red = s:gb.faded_red - let s:green = s:gb.faded_green - let s:yellow = s:gb.faded_yellow - let s:blue = s:gb.faded_blue - let s:purple = s:gb.faded_purple - let s:aqua = s:gb.faded_aqua - let s:orange = s:gb.faded_orange -endif - -" reset to 16 colors fallback -if g:gruvbox_termcolors == 16 - let s:bg0[1] = 0 - let s:fg4[1] = 7 - let s:gray[1] = 8 - let s:red[1] = 9 - let s:green[1] = 10 - let s:yellow[1] = 11 - let s:blue[1] = 12 - let s:purple[1] = 13 - let s:aqua[1] = 14 - let s:fg1[1] = 15 -endif - -" save current relative colors back to palette dictionary -let s:gb.bg0 = s:bg0 -let s:gb.bg1 = s:bg1 -let s:gb.bg2 = s:bg2 -let s:gb.bg3 = s:bg3 -let s:gb.bg4 = s:bg4 - -let s:gb.gray = s:gray - -let s:gb.fg0 = s:fg0 -let s:gb.fg1 = s:fg1 -let s:gb.fg2 = s:fg2 -let s:gb.fg3 = s:fg3 -let s:gb.fg4 = s:fg4 - -let s:gb.fg4_256 = s:fg4_256 - -let s:gb.red = s:red -let s:gb.green = s:green -let s:gb.yellow = s:yellow -let s:gb.blue = s:blue -let s:gb.purple = s:purple -let s:gb.aqua = s:aqua -let s:gb.orange = s:orange - -" }}} -" Setup Terminal Colors For Neovim: {{{ - -if has('nvim') - let g:terminal_color_0 = s:bg0[0] - let g:terminal_color_8 = s:gray[0] - - let g:terminal_color_1 = s:gb.neutral_red[0] - let g:terminal_color_9 = s:red[0] - - let g:terminal_color_2 = s:gb.neutral_green[0] - let g:terminal_color_10 = s:green[0] - - let g:terminal_color_3 = s:gb.neutral_yellow[0] - let g:terminal_color_11 = s:yellow[0] - - let g:terminal_color_4 = s:gb.neutral_blue[0] - let g:terminal_color_12 = s:blue[0] - - let g:terminal_color_5 = s:gb.neutral_purple[0] - let g:terminal_color_13 = s:purple[0] - - let g:terminal_color_6 = s:gb.neutral_aqua[0] - let g:terminal_color_14 = s:aqua[0] - - let g:terminal_color_7 = s:fg4[0] - let g:terminal_color_15 = s:fg1[0] -endif - -" }}} -" Overload Setting: {{{ - -let s:hls_cursor = s:orange -if exists('g:gruvbox_hls_cursor') - let s:hls_cursor = get(s:gb, g:gruvbox_hls_cursor) -endif - -let s:number_column = s:none -if exists('g:gruvbox_number_column') - let s:number_column = get(s:gb, g:gruvbox_number_column) -endif - -let s:sign_column = s:bg1 - -if exists('g:gitgutter_override_sign_column_highlight') && - \ g:gitgutter_override_sign_column_highlight == 1 - let s:sign_column = s:number_column -else - let g:gitgutter_override_sign_column_highlight = 0 - - if exists('g:gruvbox_sign_column') - let s:sign_column = get(s:gb, g:gruvbox_sign_column) - endif -endif - -let s:color_column = s:bg1 -if exists('g:gruvbox_color_column') - let s:color_column = get(s:gb, g:gruvbox_color_column) -endif - -let s:vert_split = s:bg0 -if exists('g:gruvbox_vert_split') - let s:vert_split = get(s:gb, g:gruvbox_vert_split) -endif - -let s:invert_signs = '' -if exists('g:gruvbox_invert_signs') - if g:gruvbox_invert_signs == 1 - let s:invert_signs = s:inverse - endif -endif - -let s:invert_selection = s:inverse -if exists('g:gruvbox_invert_selection') - if g:gruvbox_invert_selection == 0 - let s:invert_selection = '' - endif -endif - -let s:invert_tabline = '' -if exists('g:gruvbox_invert_tabline') - if g:gruvbox_invert_tabline == 1 - let s:invert_tabline = s:inverse - endif -endif - -let s:italicize_comments = s:italic -if exists('g:gruvbox_italicize_comments') - if g:gruvbox_italicize_comments == 0 - let s:italicize_comments = '' - endif -endif - -let s:italicize_strings = '' -if exists('g:gruvbox_italicize_strings') - if g:gruvbox_italicize_strings == 1 - let s:italicize_strings = s:italic - endif -endif - -" }}} -" Highlighting Function: {{{ - -function! s:HL(group, fg, ...) - " Arguments: group, guifg, guibg, gui, guisp - - " foreground - let fg = a:fg - - " background - if a:0 >= 1 - let bg = a:1 - else - let bg = s:none - endif - - " emphasis - if a:0 >= 2 && strlen(a:2) - let emstr = a:2 - else - let emstr = 'NONE,' - endif - - " special fallback - if a:0 >= 3 - if g:gruvbox_guisp_fallback != 'NONE' - let fg = a:3 - endif - - " bg fallback mode should invert higlighting - if g:gruvbox_guisp_fallback == 'bg' - let emstr .= 'inverse,' - endif - endif - - let histring = [ 'hi', a:group, - \ 'guifg=' . fg[0], 'ctermfg=' . fg[1], - \ 'guibg=' . bg[0], 'ctermbg=' . bg[1], - \ 'gui=' . emstr[:-2], 'cterm=' . emstr[:-2] - \ ] - - " special - if a:0 >= 3 - call add(histring, 'guisp=' . a:3[0]) - endif - - execute join(histring, ' ') -endfunction - -" }}} -" Gruvbox Hi Groups: {{{ - -" memoize common hi groups -call s:HL('GruvboxFg0', s:fg0) -call s:HL('GruvboxFg1', s:fg1) -call s:HL('GruvboxFg2', s:fg2) -call s:HL('GruvboxFg3', s:fg3) -call s:HL('GruvboxFg4', s:fg4) -call s:HL('GruvboxGray', s:gray) -call s:HL('GruvboxBg0', s:bg0) -call s:HL('GruvboxBg1', s:bg1) -call s:HL('GruvboxBg2', s:bg2) -call s:HL('GruvboxBg3', s:bg3) -call s:HL('GruvboxBg4', s:bg4) - -call s:HL('GruvboxRed', s:red) -call s:HL('GruvboxRedBold', s:red, s:none, s:bold) -call s:HL('GruvboxGreen', s:green) -call s:HL('GruvboxGreenBold', s:green, s:none, s:bold) -call s:HL('GruvboxYellow', s:yellow) -call s:HL('GruvboxYellowBold', s:yellow, s:none, s:bold) -call s:HL('GruvboxBlue', s:blue) -call s:HL('GruvboxBlueBold', s:blue, s:none, s:bold) -call s:HL('GruvboxPurple', s:purple) -call s:HL('GruvboxPurpleBold', s:purple, s:none, s:bold) -call s:HL('GruvboxAqua', s:aqua) -call s:HL('GruvboxAquaBold', s:aqua, s:none, s:bold) -call s:HL('GruvboxOrange', s:orange) -call s:HL('GruvboxOrangeBold', s:orange, s:none, s:bold) - -call s:HL('GruvboxRedSign', s:red, s:sign_column, s:invert_signs) -call s:HL('GruvboxGreenSign', s:green, s:sign_column, s:invert_signs) -call s:HL('GruvboxYellowSign', s:yellow, s:sign_column, s:invert_signs) -call s:HL('GruvboxBlueSign', s:blue, s:sign_column, s:invert_signs) -call s:HL('GruvboxPurpleSign', s:purple, s:sign_column, s:invert_signs) -call s:HL('GruvboxAquaSign', s:aqua, s:sign_column, s:invert_signs) - -" }}} - -" Vanilla colorscheme --------------------------------------------------------- -" General UI: {{{ - -" Normal text -call s:HL('Normal', s:fg1, s:bg0) - -" Correct background (see issue #7): -" --- Problem with changing between dark and light on 256 color terminal -" --- https://github.com/morhetz/gruvbox/issues/7 -if s:is_dark - set background=dark -else - set background=light -endif - -if version >= 700 - " Screen line that the cursor is - call s:HL('CursorLine', s:none, s:bg1) - " Screen column that the cursor is - hi! link CursorColumn CursorLine - - " Tab pages line filler - call s:HL('TabLineFill', s:bg4, s:bg1, s:invert_tabline) - " Active tab page label - call s:HL('TabLineSel', s:green, s:bg1, s:invert_tabline) - " Not active tab page label - hi! link TabLine TabLineFill - - " Match paired bracket under the cursor - call s:HL('MatchParen', s:none, s:bg3, s:bold) -endif - -if version >= 703 - " Highlighted screen columns - call s:HL('ColorColumn', s:none, s:color_column) - - " Concealed element: \lambda → λ - call s:HL('Conceal', s:blue, s:none) - - " Line number of CursorLine - call s:HL('CursorLineNr', s:yellow, s:bg1) -endif - -hi! link NonText GruvboxBg2 -hi! link SpecialKey GruvboxBg2 - -call s:HL('Visual', s:none, s:bg3, s:invert_selection) -hi! link VisualNOS Visual - -call s:HL('Search', s:yellow, s:bg0, s:inverse) -call s:HL('IncSearch', s:hls_cursor, s:bg0, s:inverse) - -call s:HL('Underlined', s:blue, s:none, s:underline) - -call s:HL('StatusLine', s:bg2, s:fg1, s:inverse) -call s:HL('StatusLineNC', s:bg1, s:fg4, s:inverse) - -" The column separating vertically split windows -call s:HL('VertSplit', s:bg3, s:vert_split) - -" Current match in wildmenu completion -call s:HL('WildMenu', s:blue, s:bg2, s:bold) - -" Directory names, special names in listing -hi! link Directory GruvboxGreenBold - -" Titles for output from :set all, :autocmd, etc. -hi! link Title GruvboxGreenBold - -" Error messages on the command line -call s:HL('ErrorMsg', s:bg0, s:red, s:bold) -" More prompt: -- More -- -hi! link MoreMsg GruvboxYellowBold -" Current mode message: -- INSERT -- -hi! link ModeMsg GruvboxYellowBold -" 'Press enter' prompt and yes/no questions -hi! link Question GruvboxOrangeBold -" Warning messages -hi! link WarningMsg GruvboxRedBold - -" }}} -" Gutter: {{{ - -" Line number for :number and :# commands -call s:HL('LineNr', s:bg4, s:number_column) - -" Column where signs are displayed -call s:HL('SignColumn', s:none, s:sign_column) - -" Line used for closed folds -call s:HL('Folded', s:gray, s:bg1, s:italic) -" Column where folds are displayed -call s:HL('FoldColumn', s:gray, s:bg1) - -" }}} -" Cursor: {{{ - -" Character under cursor -call s:HL('Cursor', s:none, s:none, s:inverse) -" Visual mode cursor, selection -hi! link vCursor Cursor -" Input moder cursor -hi! link iCursor Cursor -" Language mapping cursor -hi! link lCursor Cursor - -" }}} -" Syntax Highlighting: {{{ - -if g:gruvbox_improved_strings == 0 - hi! link Special GruvboxOrange -else - call s:HL('Special', s:orange, s:bg1, s:italicize_strings) -endif - -call s:HL('Comment', s:gray, s:none, s:italicize_comments) -call s:HL('Todo', s:vim_fg, s:vim_bg, s:bold . s:italic) -call s:HL('Error', s:red, s:vim_bg, s:bold . s:inverse) - -" Generic statement -hi! link Statement GruvboxRed -" if, then, else, endif, swicth, etc. -hi! link Conditional GruvboxRed -" for, do, while, etc. -hi! link Repeat GruvboxRed -" case, default, etc. -hi! link Label GruvboxRed -" try, catch, throw -hi! link Exception GruvboxRed -" sizeof, "+", "*", etc. -hi! link Operator Normal -" Any other keyword -hi! link Keyword GruvboxRed - -" Variable name -hi! link Identifier GruvboxBlue -" Function name -hi! link Function GruvboxGreenBold - -" Generic preprocessor -hi! link PreProc GruvboxAqua -" Preprocessor #include -hi! link Include GruvboxAqua -" Preprocessor #define -hi! link Define GruvboxAqua -" Same as Define -hi! link Macro GruvboxAqua -" Preprocessor #if, #else, #endif, etc. -hi! link PreCondit GruvboxAqua - -" Generic constant -hi! link Constant GruvboxPurple -" Character constant: 'c', '/n' -hi! link Character GruvboxPurple -" String constant: "this is a string" -if g:gruvbox_improved_strings == 0 - call s:HL('String', s:green, s:none, s:italicize_strings) -else - call s:HL('String', s:fg1, s:bg1, s:italicize_strings) -endif -" Boolean constant: TRUE, false -hi! link Boolean GruvboxPurple -" Number constant: 234, 0xff -hi! link Number GruvboxPurple -" Floating point constant: 2.3e10 -hi! link Float GruvboxPurple - -" Generic type -hi! link Type GruvboxYellow -" static, register, volatile, etc -hi! link StorageClass GruvboxOrange -" struct, union, enum, etc. -hi! link Structure GruvboxAqua -" typedef -hi! link Typedef GruvboxYellow - -" }}} -" Completion Menu: {{{ - -if version >= 700 - " Popup menu: normal item - call s:HL('Pmenu', s:fg1, s:bg2) - " Popup menu: selected item - call s:HL('PmenuSel', s:bg2, s:blue, s:bold) - " Popup menu: scrollbar - call s:HL('PmenuSbar', s:none, s:bg2) - " Popup menu: scrollbar thumb - call s:HL('PmenuThumb', s:none, s:bg4) -endif - -" }}} -" Diffs: {{{ - -call s:HL('DiffDelete', s:red, s:bg0, s:inverse) -call s:HL('DiffAdd', s:green, s:bg0, s:inverse) -"call s:HL('DiffChange', s:bg0, s:blue) -"call s:HL('DiffText', s:bg0, s:yellow) - -" Alternative setting -call s:HL('DiffChange', s:aqua, s:bg0, s:inverse) -call s:HL('DiffText', s:yellow, s:bg0, s:inverse) - -" }}} -" Spelling: {{{ - -if has("spell") - " Not capitalised word, or compile warnings - if g:gruvbox_improved_warnings == 0 - call s:HL('SpellCap', s:none, s:none, s:undercurl, s:red) - else - call s:HL('SpellCap', s:green, s:none, s:bold . s:italic) - endif - " Not recognized word - call s:HL('SpellBad', s:none, s:none, s:undercurl, s:blue) - " Wrong spelling for selected region - call s:HL('SpellLocal', s:none, s:none, s:undercurl, s:aqua) - " Rare word - call s:HL('SpellRare', s:none, s:none, s:undercurl, s:purple) -endif - -" }}} - -" Plugin specific ------------------------------------------------------------- -" EasyMotion: {{{ - -hi! link EasyMotionTarget Search -hi! link EasyMotionShade Comment - -" }}} -" Sneak: {{{ - -autocmd ColorScheme gruvbox hi! link Sneak Search -autocmd ColorScheme gruvbox hi! link SneakLabel Search - -" }}} -" Indent Guides: {{{ - -if !exists('g:indent_guides_auto_colors') - let g:indent_guides_auto_colors = 0 -endif - -if g:indent_guides_auto_colors == 0 - if g:gruvbox_invert_indent_guides == 0 - call s:HL('IndentGuidesOdd', s:vim_bg, s:bg2) - call s:HL('IndentGuidesEven', s:vim_bg, s:bg1) - else - call s:HL('IndentGuidesOdd', s:vim_bg, s:bg2, s:inverse) - call s:HL('IndentGuidesEven', s:vim_bg, s:bg3, s:inverse) - endif -endif - -" }}} -" IndentLine: {{{ - -if !exists('g:indentLine_color_term') - let g:indentLine_color_term = s:bg2[1] -endif -if !exists('g:indentLine_color_gui') - let g:indentLine_color_gui = s:bg2[0] -endif - -" }}} -" Rainbow Parentheses: {{{ - -if !exists('g:rbpt_colorpairs') - let g:rbpt_colorpairs = - \ [ - \ ['blue', '#458588'], ['magenta', '#b16286'], - \ ['red', '#cc241d'], ['166', '#d65d0e'] - \ ] -endif - -let g:rainbow_guifgs = [ '#d65d0e', '#cc241d', '#b16286', '#458588' ] -let g:rainbow_ctermfgs = [ '166', 'red', 'magenta', 'blue' ] - -if !exists('g:rainbow_conf') - let g:rainbow_conf = {} -endif -if !has_key(g:rainbow_conf, 'guifgs') - let g:rainbow_conf['guifgs'] = g:rainbow_guifgs -endif -if !has_key(g:rainbow_conf, 'ctermfgs') - let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs -endif - -let g:niji_dark_colours = g:rbpt_colorpairs -let g:niji_light_colours = g:rbpt_colorpairs - -"}}} -" GitGutter: {{{ - -hi! link GitGutterAdd GruvboxGreenSign -hi! link GitGutterChange GruvboxAquaSign -hi! link GitGutterDelete GruvboxRedSign -hi! link GitGutterChangeDelete GruvboxAquaSign - -" }}} -" GitCommit: "{{{ - -hi! link gitcommitSelectedFile GruvboxGreen -hi! link gitcommitDiscardedFile GruvboxRed - -" }}} -" Signify: {{{ - -hi! link SignifySignAdd GruvboxGreenSign -hi! link SignifySignChange GruvboxAquaSign -hi! link SignifySignDelete GruvboxRedSign - -" }}} -" Syntastic: {{{ - -call s:HL('SyntasticError', s:none, s:none, s:undercurl, s:red) -call s:HL('SyntasticWarning', s:none, s:none, s:undercurl, s:yellow) - -hi! link SyntasticErrorSign GruvboxRedSign -hi! link SyntasticWarningSign GruvboxYellowSign - -" }}} -" Signature: {{{ -hi! link SignatureMarkText GruvboxBlueSign -hi! link SignatureMarkerText GruvboxPurpleSign - -" }}} -" ShowMarks: {{{ - -hi! link ShowMarksHLl GruvboxBlueSign -hi! link ShowMarksHLu GruvboxBlueSign -hi! link ShowMarksHLo GruvboxBlueSign -hi! link ShowMarksHLm GruvboxBlueSign - -" }}} -" CtrlP: {{{ - -hi! link CtrlPMatch GruvboxYellow -hi! link CtrlPNoEntries GruvboxRed -hi! link CtrlPPrtBase GruvboxBg2 -hi! link CtrlPPrtCursor GruvboxBlue -hi! link CtrlPLinePre GruvboxBg2 - -call s:HL('CtrlPMode1', s:blue, s:bg2, s:bold) -call s:HL('CtrlPMode2', s:bg0, s:blue, s:bold) -call s:HL('CtrlPStats', s:fg4, s:bg2, s:bold) - -" }}} -" Startify: {{{ - -hi! link StartifyBracket GruvboxFg3 -hi! link StartifyFile GruvboxFg1 -hi! link StartifyNumber GruvboxBlue -hi! link StartifyPath GruvboxGray -hi! link StartifySlash GruvboxGray -hi! link StartifySection GruvboxYellow -hi! link StartifySpecial GruvboxBg2 -hi! link StartifyHeader GruvboxOrange -hi! link StartifyFooter GruvboxBg2 - -" }}} -" Vimshell: {{{ - -let g:vimshell_escape_colors = [ - \ s:bg4[0], s:red[0], s:green[0], s:yellow[0], - \ s:blue[0], s:purple[0], s:aqua[0], s:fg4[0], - \ s:bg0[0], s:red[0], s:green[0], s:orange[0], - \ s:blue[0], s:purple[0], s:aqua[0], s:fg0[0] - \ ] - -" }}} -" BufTabLine: {{{ - -call s:HL('BufTabLineCurrent', s:bg0, s:fg4) -call s:HL('BufTabLineActive', s:fg4, s:bg2) -call s:HL('BufTabLineHidden', s:bg4, s:bg1) -call s:HL('BufTabLineFill', s:bg0, s:bg0) - -" }}} -" Asynchronous Lint Engine: {{{ - -call s:HL('ALEError', s:none, s:none, s:undercurl, s:red) -call s:HL('ALEWarning', s:none, s:none, s:undercurl, s:yellow) -call s:HL('ALEInfo', s:none, s:none, s:undercurl, s:blue) - -hi! link ALEErrorSign GruvboxRedSign -hi! link ALEWarningSign GruvboxYellowSign -hi! link ALEInfoSign GruvboxBlueSign - -" }}} -" Dirvish: {{{ - -hi! link DirvishPathTail GruvboxAqua -hi! link DirvishArg GruvboxYellow - -" }}} -" Netrw: {{{ - -hi! link netrwDir GruvboxAqua -hi! link netrwClassify GruvboxAqua -hi! link netrwLink GruvboxGray -hi! link netrwSymLink GruvboxFg1 -hi! link netrwExe GruvboxYellow -hi! link netrwComment GruvboxGray -hi! link netrwList GruvboxBlue -hi! link netrwHelpCmd GruvboxAqua -hi! link netrwCmdSep GruvboxFg3 -hi! link netrwVersion GruvboxGreen - -" }}} -" NERDTree: {{{ - -hi! link NERDTreeDir GruvboxAqua -hi! link NERDTreeDirSlash GruvboxAqua - -hi! link NERDTreeOpenable GruvboxOrange -hi! link NERDTreeClosable GruvboxOrange - -hi! link NERDTreeFile GruvboxFg1 -hi! link NERDTreeExecFile GruvboxYellow - -hi! link NERDTreeUp GruvboxGray -hi! link NERDTreeCWD GruvboxGreen -hi! link NERDTreeHelp GruvboxFg1 - -hi! link NERDTreeToggleOn GruvboxGreen -hi! link NERDTreeToggleOff GruvboxRed - -" }}} -" Vim Multiple Cursors: {{{ - -call s:HL('multiple_cursors_cursor', s:none, s:none, s:inverse) -call s:HL('multiple_cursors_visual', s:none, s:bg2) - -" }}} - -" Filetype specific ----------------------------------------------------------- -" Diff: {{{ - -hi! link diffAdded GruvboxGreen -hi! link diffRemoved GruvboxRed -hi! link diffChanged GruvboxAqua - -hi! link diffFile GruvboxOrange -hi! link diffNewFile GruvboxYellow - -hi! link diffLine GruvboxBlue - -" }}} -" Html: {{{ - -hi! link htmlTag GruvboxBlue -hi! link htmlEndTag GruvboxBlue - -hi! link htmlTagName GruvboxAquaBold -hi! link htmlArg GruvboxAqua - -hi! link htmlScriptTag GruvboxPurple -hi! link htmlTagN GruvboxFg1 -hi! link htmlSpecialTagName GruvboxAquaBold - -call s:HL('htmlLink', s:fg4, s:none, s:underline) - -hi! link htmlSpecialChar GruvboxOrange - -call s:HL('htmlBold', s:vim_fg, s:vim_bg, s:bold) -call s:HL('htmlBoldUnderline', s:vim_fg, s:vim_bg, s:bold . s:underline) -call s:HL('htmlBoldItalic', s:vim_fg, s:vim_bg, s:bold . s:italic) -call s:HL('htmlBoldUnderlineItalic', s:vim_fg, s:vim_bg, s:bold . s:underline . s:italic) - -call s:HL('htmlUnderline', s:vim_fg, s:vim_bg, s:underline) -call s:HL('htmlUnderlineItalic', s:vim_fg, s:vim_bg, s:underline . s:italic) -call s:HL('htmlItalic', s:vim_fg, s:vim_bg, s:italic) - -" }}} -" Xml: {{{ - -hi! link xmlTag GruvboxBlue -hi! link xmlEndTag GruvboxBlue -hi! link xmlTagName GruvboxBlue -hi! link xmlEqual GruvboxBlue -hi! link docbkKeyword GruvboxAquaBold - -hi! link xmlDocTypeDecl GruvboxGray -hi! link xmlDocTypeKeyword GruvboxPurple -hi! link xmlCdataStart GruvboxGray -hi! link xmlCdataCdata GruvboxPurple -hi! link dtdFunction GruvboxGray -hi! link dtdTagName GruvboxPurple - -hi! link xmlAttrib GruvboxAqua -hi! link xmlProcessingDelim GruvboxGray -hi! link dtdParamEntityPunct GruvboxGray -hi! link dtdParamEntityDPunct GruvboxGray -hi! link xmlAttribPunct GruvboxGray - -hi! link xmlEntity GruvboxOrange -hi! link xmlEntityPunct GruvboxOrange -" }}} -" Vim: {{{ - -call s:HL('vimCommentTitle', s:fg4_256, s:none, s:bold . s:italicize_comments) - -hi! link vimNotation GruvboxOrange -hi! link vimBracket GruvboxOrange -hi! link vimMapModKey GruvboxOrange -hi! link vimFuncSID GruvboxFg3 -hi! link vimSetSep GruvboxFg3 -hi! link vimSep GruvboxFg3 -hi! link vimContinue GruvboxFg3 - -" }}} -" Clojure: {{{ - -hi! link clojureKeyword GruvboxBlue -hi! link clojureCond GruvboxOrange -hi! link clojureSpecial GruvboxOrange -hi! link clojureDefine GruvboxOrange - -hi! link clojureFunc GruvboxYellow -hi! link clojureRepeat GruvboxYellow -hi! link clojureCharacter GruvboxAqua -hi! link clojureStringEscape GruvboxAqua -hi! link clojureException GruvboxRed - -hi! link clojureRegexp GruvboxAqua -hi! link clojureRegexpEscape GruvboxAqua -call s:HL('clojureRegexpCharClass', s:fg3, s:none, s:bold) -hi! link clojureRegexpMod clojureRegexpCharClass -hi! link clojureRegexpQuantifier clojureRegexpCharClass - -hi! link clojureParen GruvboxFg3 -hi! link clojureAnonArg GruvboxYellow -hi! link clojureVariable GruvboxBlue -hi! link clojureMacro GruvboxOrange - -hi! link clojureMeta GruvboxYellow -hi! link clojureDeref GruvboxYellow -hi! link clojureQuote GruvboxYellow -hi! link clojureUnquote GruvboxYellow - -" }}} -" C: {{{ - -hi! link cOperator GruvboxPurple -hi! link cStructure GruvboxOrange - -" }}} -" Python: {{{ - -hi! link pythonBuiltin GruvboxOrange -hi! link pythonBuiltinObj GruvboxOrange -hi! link pythonBuiltinFunc GruvboxOrange -hi! link pythonFunction GruvboxAqua -hi! link pythonDecorator GruvboxRed -hi! link pythonInclude GruvboxBlue -hi! link pythonImport GruvboxBlue -hi! link pythonRun GruvboxBlue -hi! link pythonCoding GruvboxBlue -hi! link pythonOperator GruvboxRed -hi! link pythonException GruvboxRed -hi! link pythonExceptions GruvboxPurple -hi! link pythonBoolean GruvboxPurple -hi! link pythonDot GruvboxFg3 -hi! link pythonConditional GruvboxRed -hi! link pythonRepeat GruvboxRed -hi! link pythonDottedName GruvboxGreenBold - -" }}} -" CSS: {{{ - -hi! link cssBraces GruvboxBlue -hi! link cssFunctionName GruvboxYellow -hi! link cssIdentifier GruvboxOrange -hi! link cssClassName GruvboxGreen -hi! link cssColor GruvboxBlue -hi! link cssSelectorOp GruvboxBlue -hi! link cssSelectorOp2 GruvboxBlue -hi! link cssImportant GruvboxGreen -hi! link cssVendor GruvboxFg1 - -hi! link cssTextProp GruvboxAqua -hi! link cssAnimationProp GruvboxAqua -hi! link cssUIProp GruvboxYellow -hi! link cssTransformProp GruvboxAqua -hi! link cssTransitionProp GruvboxAqua -hi! link cssPrintProp GruvboxAqua -hi! link cssPositioningProp GruvboxYellow -hi! link cssBoxProp GruvboxAqua -hi! link cssFontDescriptorProp GruvboxAqua -hi! link cssFlexibleBoxProp GruvboxAqua -hi! link cssBorderOutlineProp GruvboxAqua -hi! link cssBackgroundProp GruvboxAqua -hi! link cssMarginProp GruvboxAqua -hi! link cssListProp GruvboxAqua -hi! link cssTableProp GruvboxAqua -hi! link cssFontProp GruvboxAqua -hi! link cssPaddingProp GruvboxAqua -hi! link cssDimensionProp GruvboxAqua -hi! link cssRenderProp GruvboxAqua -hi! link cssColorProp GruvboxAqua -hi! link cssGeneratedContentProp GruvboxAqua - -" }}} -" JavaScript: {{{ - -hi! link javaScriptBraces GruvboxFg1 -hi! link javaScriptFunction GruvboxAqua -hi! link javaScriptIdentifier GruvboxRed -hi! link javaScriptMember GruvboxBlue -hi! link javaScriptNumber GruvboxPurple -hi! link javaScriptNull GruvboxPurple -hi! link javaScriptParens GruvboxFg3 - -" }}} -" YAJS: {{{ - -hi! link javascriptImport GruvboxAqua -hi! link javascriptExport GruvboxAqua -hi! link javascriptClassKeyword GruvboxAqua -hi! link javascriptClassExtends GruvboxAqua -hi! link javascriptDefault GruvboxAqua - -hi! link javascriptClassName GruvboxYellow -hi! link javascriptClassSuperName GruvboxYellow -hi! link javascriptGlobal GruvboxYellow - -hi! link javascriptEndColons GruvboxFg1 -hi! link javascriptFuncArg GruvboxFg1 -hi! link javascriptGlobalMethod GruvboxFg1 -hi! link javascriptNodeGlobal GruvboxFg1 -hi! link javascriptBOMWindowProp GruvboxFg1 -hi! link javascriptArrayMethod GruvboxFg1 -hi! link javascriptArrayStaticMethod GruvboxFg1 -hi! link javascriptCacheMethod GruvboxFg1 -hi! link javascriptDateMethod GruvboxFg1 -hi! link javascriptMathStaticMethod GruvboxFg1 - -" hi! link javascriptProp GruvboxFg1 -hi! link javascriptURLUtilsProp GruvboxFg1 -hi! link javascriptBOMNavigatorProp GruvboxFg1 -hi! link javascriptDOMDocMethod GruvboxFg1 -hi! link javascriptDOMDocProp GruvboxFg1 -hi! link javascriptBOMLocationMethod GruvboxFg1 -hi! link javascriptBOMWindowMethod GruvboxFg1 -hi! link javascriptStringMethod GruvboxFg1 - -hi! link javascriptVariable GruvboxOrange -" hi! link javascriptVariable GruvboxRed -" hi! link javascriptIdentifier GruvboxOrange -" hi! link javascriptClassSuper GruvboxOrange -hi! link javascriptIdentifier GruvboxOrange -hi! link javascriptClassSuper GruvboxOrange - -" hi! link javascriptFuncKeyword GruvboxOrange -" hi! link javascriptAsyncFunc GruvboxOrange -hi! link javascriptFuncKeyword GruvboxAqua -hi! link javascriptAsyncFunc GruvboxAqua -hi! link javascriptClassStatic GruvboxOrange - -hi! link javascriptOperator GruvboxRed -hi! link javascriptForOperator GruvboxRed -hi! link javascriptYield GruvboxRed -hi! link javascriptExceptions GruvboxRed -hi! link javascriptMessage GruvboxRed - -hi! link javascriptTemplateSB GruvboxAqua -hi! link javascriptTemplateSubstitution GruvboxFg1 - -" hi! link javascriptLabel GruvboxBlue -" hi! link javascriptObjectLabel GruvboxBlue -" hi! link javascriptPropertyName GruvboxBlue -hi! link javascriptLabel GruvboxFg1 -hi! link javascriptObjectLabel GruvboxFg1 -hi! link javascriptPropertyName GruvboxFg1 - -hi! link javascriptLogicSymbols GruvboxFg1 -hi! link javascriptArrowFunc GruvboxYellow - -hi! link javascriptDocParamName GruvboxFg4 -hi! link javascriptDocTags GruvboxFg4 -hi! link javascriptDocNotation GruvboxFg4 -hi! link javascriptDocParamType GruvboxFg4 -hi! link javascriptDocNamedParamType GruvboxFg4 - -hi! link javascriptBrackets GruvboxFg1 -hi! link javascriptDOMElemAttrs GruvboxFg1 -hi! link javascriptDOMEventMethod GruvboxFg1 -hi! link javascriptDOMNodeMethod GruvboxFg1 -hi! link javascriptDOMStorageMethod GruvboxFg1 -hi! link javascriptHeadersMethod GruvboxFg1 - -hi! link javascriptAsyncFuncKeyword GruvboxRed -hi! link javascriptAwaitFuncKeyword GruvboxRed - -" }}} -" PanglossJS: {{{ - -hi! link jsClassKeyword GruvboxAqua -hi! link jsExtendsKeyword GruvboxAqua -hi! link jsExportDefault GruvboxAqua -hi! link jsTemplateBraces GruvboxAqua -hi! link jsGlobalNodeObjects GruvboxFg1 -hi! link jsGlobalObjects GruvboxFg1 -hi! link jsFunction GruvboxAqua -hi! link jsFuncParens GruvboxFg3 -hi! link jsParens GruvboxFg3 -hi! link jsNull GruvboxPurple -hi! link jsUndefined GruvboxPurple -hi! link jsClassDefinition GruvboxYellow - -" }}} -" TypeScript: {{{ - -hi! link typeScriptReserved GruvboxAqua -hi! link typeScriptLabel GruvboxAqua -hi! link typeScriptFuncKeyword GruvboxAqua -hi! link typeScriptIdentifier GruvboxOrange -hi! link typeScriptBraces GruvboxFg1 -hi! link typeScriptEndColons GruvboxFg1 -hi! link typeScriptDOMObjects GruvboxFg1 -hi! link typeScriptAjaxMethods GruvboxFg1 -hi! link typeScriptLogicSymbols GruvboxFg1 -hi! link typeScriptDocSeeTag Comment -hi! link typeScriptDocParam Comment -hi! link typeScriptDocTags vimCommentTitle -hi! link typeScriptGlobalObjects GruvboxFg1 -hi! link typeScriptParens GruvboxFg3 -hi! link typeScriptOpSymbols GruvboxFg3 -hi! link typeScriptHtmlElemProperties GruvboxFg1 -hi! link typeScriptNull GruvboxPurple -hi! link typeScriptInterpolationDelimiter GruvboxAqua - -" }}} -" PureScript: {{{ - -hi! link purescriptModuleKeyword GruvboxAqua -hi! link purescriptModuleName GruvboxFg1 -hi! link purescriptWhere GruvboxAqua -hi! link purescriptDelimiter GruvboxFg4 -hi! link purescriptType GruvboxFg1 -hi! link purescriptImportKeyword GruvboxAqua -hi! link purescriptHidingKeyword GruvboxAqua -hi! link purescriptAsKeyword GruvboxAqua -hi! link purescriptStructure GruvboxAqua -hi! link purescriptOperator GruvboxBlue - -hi! link purescriptTypeVar GruvboxFg1 -hi! link purescriptConstructor GruvboxFg1 -hi! link purescriptFunction GruvboxFg1 -hi! link purescriptConditional GruvboxOrange -hi! link purescriptBacktick GruvboxOrange - -" }}} -" CoffeeScript: {{{ - -hi! link coffeeExtendedOp GruvboxFg3 -hi! link coffeeSpecialOp GruvboxFg3 -hi! link coffeeCurly GruvboxOrange -hi! link coffeeParen GruvboxFg3 -hi! link coffeeBracket GruvboxOrange - -" }}} -" Ruby: {{{ - -hi! link rubyStringDelimiter GruvboxGreen -hi! link rubyInterpolationDelimiter GruvboxAqua - -" }}} -" ObjectiveC: {{{ - -hi! link objcTypeModifier GruvboxRed -hi! link objcDirective GruvboxBlue - -" }}} -" Go: {{{ - -hi! link goDirective GruvboxAqua -hi! link goConstants GruvboxPurple -hi! link goDeclaration GruvboxRed -hi! link goDeclType GruvboxBlue -hi! link goBuiltins GruvboxOrange - -" }}} -" Lua: {{{ - -hi! link luaIn GruvboxRed -hi! link luaFunction GruvboxAqua -hi! link luaTable GruvboxOrange - -" }}} -" MoonScript: {{{ - -hi! link moonSpecialOp GruvboxFg3 -hi! link moonExtendedOp GruvboxFg3 -hi! link moonFunction GruvboxFg3 -hi! link moonObject GruvboxYellow - -" }}} -" Java: {{{ - -hi! link javaAnnotation GruvboxBlue -hi! link javaDocTags GruvboxAqua -hi! link javaCommentTitle vimCommentTitle -hi! link javaParen GruvboxFg3 -hi! link javaParen1 GruvboxFg3 -hi! link javaParen2 GruvboxFg3 -hi! link javaParen3 GruvboxFg3 -hi! link javaParen4 GruvboxFg3 -hi! link javaParen5 GruvboxFg3 -hi! link javaOperator GruvboxOrange - -hi! link javaVarArg GruvboxGreen - -" }}} -" Elixir: {{{ - -hi! link elixirDocString Comment - -hi! link elixirStringDelimiter GruvboxGreen -hi! link elixirInterpolationDelimiter GruvboxAqua - -hi! link elixirModuleDeclaration GruvboxYellow - -" }}} -" Scala: {{{ - -" NB: scala vim syntax file is kinda horrible -hi! link scalaNameDefinition GruvboxFg1 -hi! link scalaCaseFollowing GruvboxFg1 -hi! link scalaCapitalWord GruvboxFg1 -hi! link scalaTypeExtension GruvboxFg1 - -hi! link scalaKeyword GruvboxRed -hi! link scalaKeywordModifier GruvboxRed - -hi! link scalaSpecial GruvboxAqua -hi! link scalaOperator GruvboxFg1 - -hi! link scalaTypeDeclaration GruvboxYellow -hi! link scalaTypeTypePostDeclaration GruvboxYellow - -hi! link scalaInstanceDeclaration GruvboxFg1 -hi! link scalaInterpolation GruvboxAqua - -" }}} -" Markdown: {{{ - -call s:HL('markdownItalic', s:fg3, s:none, s:italic) - -hi! link markdownH1 GruvboxGreenBold -hi! link markdownH2 GruvboxGreenBold -hi! link markdownH3 GruvboxYellowBold -hi! link markdownH4 GruvboxYellowBold -hi! link markdownH5 GruvboxYellow -hi! link markdownH6 GruvboxYellow - -hi! link markdownCode GruvboxAqua -hi! link markdownCodeBlock GruvboxAqua -hi! link markdownCodeDelimiter GruvboxAqua - -hi! link markdownBlockquote GruvboxGray -hi! link markdownListMarker GruvboxGray -hi! link markdownOrderedListMarker GruvboxGray -hi! link markdownRule GruvboxGray -hi! link markdownHeadingRule GruvboxGray - -hi! link markdownUrlDelimiter GruvboxFg3 -hi! link markdownLinkDelimiter GruvboxFg3 -hi! link markdownLinkTextDelimiter GruvboxFg3 - -hi! link markdownHeadingDelimiter GruvboxOrange -hi! link markdownUrl GruvboxPurple -hi! link markdownUrlTitleDelimiter GruvboxGreen - -call s:HL('markdownLinkText', s:gray, s:none, s:underline) -hi! link markdownIdDeclaration markdownLinkText - -" }}} -" Haskell: {{{ - -" hi! link haskellType GruvboxYellow -" hi! link haskellOperators GruvboxOrange -" hi! link haskellConditional GruvboxAqua -" hi! link haskellLet GruvboxOrange -" -hi! link haskellType GruvboxFg1 -hi! link haskellIdentifier GruvboxFg1 -hi! link haskellSeparator GruvboxFg1 -hi! link haskellDelimiter GruvboxFg4 -hi! link haskellOperators GruvboxBlue -" -hi! link haskellBacktick GruvboxOrange -hi! link haskellStatement GruvboxOrange -hi! link haskellConditional GruvboxOrange - -hi! link haskellLet GruvboxAqua -hi! link haskellDefault GruvboxAqua -hi! link haskellWhere GruvboxAqua -hi! link haskellBottom GruvboxAqua -hi! link haskellBlockKeywords GruvboxAqua -hi! link haskellImportKeywords GruvboxAqua -hi! link haskellDeclKeyword GruvboxAqua -hi! link haskellDeriving GruvboxAqua -hi! link haskellAssocType GruvboxAqua - -hi! link haskellNumber GruvboxPurple -hi! link haskellPragma GruvboxPurple - -hi! link haskellString GruvboxGreen -hi! link haskellChar GruvboxGreen - -" }}} -" Json: {{{ - -hi! link jsonKeyword GruvboxGreen -hi! link jsonQuote GruvboxGreen -hi! link jsonBraces GruvboxFg1 -hi! link jsonString GruvboxFg1 - -" }}} - - -" Functions ------------------------------------------------------------------- -" Search Highlighting Cursor {{{ - -function! GruvboxHlsShowCursor() - call s:HL('Cursor', s:bg0, s:hls_cursor) -endfunction - -function! GruvboxHlsHideCursor() - call s:HL('Cursor', s:none, s:none, s:inverse) -endfunction - -" }}} - -" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker: - diff --git a/vim/colors/kalisi.vim b/vim/colors/kalisi.vim deleted file mode 100644 index 7de511d..0000000 --- a/vim/colors/kalisi.vim +++ /dev/null @@ -1,621 +0,0 @@ - -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" -" Name: kalisi -" Author: Arthur Jaron -" EMail: hifreeo@gmail.com -" Version: 0.8.0 -" Last Change: 2015.09.27 -" -" -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" - -" Settings -if !exists('g:kalisi_recolor_quickfixsigns') - let g:kalisi_recolor_quickfixsigns = 1 -endif - -" the default scheme is 'light' -if &background == "dark" - hi clear - let g:colors_name = "kalisi" - - hi Normal guifg=#d0d0d0 guibg=#404042 gui=none - - hi Comment guifg=#8a8a8a - hi CommentURL guifg=#6090c0 guibg=NONE gui=underline - hi CommentEmail guifg=#6090c0 guibg=NONE gui=underline - - hi Constant guifg=#ffaf00 gui=bold - hi String guifg=#ffc63f - hi Character guifg=#c85bff - hi Number guifg=#ffad3f - hi Boolean guifg=#94be54 - hi Float guifg=#fff650 - - " HTML Closing tags - " Vim variables - hi Identifier guifg=#29a3ac gui=none - " HTML Starting tags <...> - hi Function guifg=#7ad6ff gui=none - - hi Statement guifg=#94be54 gui=bold - hi Conditional guifg=#7aa6c2 gui=bold - hi Repeat guifg=#7aa6c2 guibg=NONE gui=bold - hi Label guifg=#409a50 gui=bold - " operator cpp: sizeof() - hi Operator guifg=#658aa5 guibg=NONE gui=none - "html: special keywords in jscript: window log - hi Keyword guifg=#adffdd gui=none - hi Exception guifg=#2080c0 guibg=NONE gui=bold - - hi PreProc guifg=#2288ee gui=bold - hi Include guifg=#2288ee gui=bold - hi Define guifg=#2288ee gui=bold - hi Macro guifg=#a68ad2 gui=none - hi PreCondit guifg=#7aa6c2 gui=none - - " vim: lots of links - " c: int char void - " html: class href id - hi Type guifg=#5d8fbe gui=none ctermfg=67 - hi StorageClass guifg=#55aa85 gui=italic - " c: struct - " py: self __name__ Error Exception and is not - hi Structure guifg=#557a95 gui=none - " cpp: static cast - hi Typedef guifg=#55aa85 - - hi Special guifg=#e7f6da gui=none - hi SpecialChar guifg=#6a96ff - hi SpecialKey guifg=#767676 guibg=#3a3a3a ctermbg=243 ctermfg=237 - - hi Tag guifg=#00c0ff gui=bold - hi Delimiter guifg=#7a9acd guibg=NONE gui=none - - hi SpecialComment guifg=#6090c0 gui=bold - hi Debug guifg=#ddb800 guibg=NONE gui=bold - - hi Underlined guifg=#b5b5b5 guibg=NONE gui=underline - - " Misc syntax ############################################################### - - hi Todo guifg=#fff63f guibg=#736a3f gui=bold - - hi Directory guifg=#b5b5b5 guibg=NONE gui=bold - - hi DiffAdd guibg=#384b38 - hi DiffChange guibg=#383a4b - hi DiffText guifg=#e0e0e0 guibg=#484898 - hi DiffDelete guifg=#484848 guibg=#3b3b3b - - hi SpellBad guisp=#e83030 gui=undercurl - hi SpellCap guisp=#476afc gui=undercurl - hi SpellLocal guisp=#48b040 gui=undercurl - hi SpellRare guisp=#eeeeee gui=undercurl - - " User interface ############################################################ - - hi Search guifg=#000000 guibg=#b8ea00 gui=bold - hi IncSearch guifg=#f8cf00 guibg=#000000 - - hi Error guifg=#e5a5a5 guibg=#602020 gui=bold,underline - hi ErrorMsg guifg=#f5c5c5 guibg=#901010 gui=bold - hi WarningMsg guifg=#edc830 guibg=NONE gui=none - hi WildMenu guifg=#000000 guibg=#A6DB29 gui=none - hi Question guifg=#000000 guibg=#A6DB29 gui=none - hi MoreMsg guifg=#000000 guibg=#A6DB29 gui=none - hi ModeMsg guifg=#000000 guibg=#A6DB29 - - hi Cursor guibg=#d80000 guifg=#ffffff - hi CursorLineNr guifg=#d0d0d0 guibg=#482020 gui=bold - hi CursorLine guibg=#4a4a4c - hi CursorColumn guibg=#4a4a4c - hi MatchParen guifg=#202020 guibg=#8fca24 gui=none - - hi Visual guibg=#3a4d6e gui=none - hi VisualNOS guibg=#4a4d4e gui=none - - hi Pmenu guifg=#b5b5b5 guibg=#303032 - hi PmenuSel guifg=#222222 guibg=#A6DB29 gui=none - hi PmenuSbar guibg=#a0a0a0 - hi PmenuThumb guibg=#555555 - - hi SignColumn guifg=#A6E22E guibg=#303032 - hi FoldColumn guifg=#b0b8c0 guibg=#373d43 gui=bold - hi Folded guifg=#727780 guibg=#373d43 gui=none - - hi NonText guifg=#958b7f guibg=#3a3a3a gui=none - hi Conceal guifg=#f6f3e8 guibg=#303030 - - hi LineNr guifg=#857b6f guibg=#303032 gui=none - hi StatusLine guifg=#b5b5b5 guibg=#222222 gui=none term=NONE cterm=NONE - hi StatusLineNC guifg=#857b6f guibg=#303032 gui=none - - hi VertSplit guifg=#222222 guibg=#2b2b2b gui=none - hi Title guifg=#d0d0d0 guibg=NONE gui=bold - - hi TabLine guifg=#afd700 guibg=#005f00 gui=none - hi TabLineSel guifg=#005f00 guibg=#afd700 gui=none - hi TabLineFill guifg=#303030 guibg=#a0a0a0 gui=none - - " Language Specific ########################################################## - - " Python (non-default syntax file) - hi PythonOperator guifg=#7aa6c2 gui=none - hi pythonDocstring guifg=#6a7a8d guibg=NONE gui=none - hi pythonDoctest guifg=#4a6a8d - hi link pythonDocTest pythonDoctest - hi link pythonDocTest2 pythonDoctest - - " C - hi link cType Type - - " Embedded inside HTML