Ajout du thème de couleur (pas possible avec les submodules
This commit is contained in:
parent
4a56fa30f3
commit
b0df2b070e
6 changed files with 838 additions and 0 deletions
120
autoload/airline/themes/codedark.vim
Normal file
120
autoload/airline/themes/codedark.vim
Normal file
|
@ -0,0 +1,120 @@
|
||||||
|
" Vim Code Dark (airline theme)
|
||||||
|
" https://github.com/tomasiser/vim-code-dark
|
||||||
|
|
||||||
|
scriptencoding utf-8
|
||||||
|
|
||||||
|
let g:airline#themes#codedark#palette = {}
|
||||||
|
|
||||||
|
" Terminal colors (base16):
|
||||||
|
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 = "00"
|
||||||
|
let s:cterm02 = "08"
|
||||||
|
let s:cterm04 = "07"
|
||||||
|
let s:cterm06 = "07"
|
||||||
|
let s:cterm09 = "06"
|
||||||
|
let s:cterm0F = "03"
|
||||||
|
endif
|
||||||
|
|
||||||
|
if &t_Co >= 256
|
||||||
|
let g:codedark_term256=1
|
||||||
|
elseif !exists("g:codedark_term256")
|
||||||
|
let g:codedark_term256=0
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cdFront = {'gui': '#FFFFFF', 'cterm': (g:codedark_term256 ? '15' : s:cterm07)}
|
||||||
|
let s:cdFrontGray = {'gui': '#D4D4D4', 'cterm': (g:codedark_term256 ? '188' : s:cterm05)}
|
||||||
|
let s:cdBack = {'gui': '#1E1E1E', 'cterm': (g:codedark_term256 ? '234' : s:cterm00)}
|
||||||
|
let s:cdSelection = {'gui': '#264F78', 'cterm': (g:codedark_term256 ? '24' : s:cterm01)}
|
||||||
|
|
||||||
|
let s:cdBlue = {'gui': '#0A7ACA', 'cterm': (g:codedark_term256 ? '32' : s:cterm0D)}
|
||||||
|
let s:cdLightBlue = {'gui': '#5CB6F8', 'cterm': (g:codedark_term256 ? '75' : s:cterm0C)}
|
||||||
|
let s:cdYellow = {'gui': '#FFAF00', 'cterm': (g:codedark_term256 ? '214' : s:cterm0A)}
|
||||||
|
let s:cdRed = {'gui': '#F44747', 'cterm': (g:codedark_term256 ? '203' : s:cterm08)}
|
||||||
|
|
||||||
|
let s:cdDarkDarkDark = {'gui': '#262626', 'cterm': (g:codedark_term256 ? '235' : s:cterm01)}
|
||||||
|
let s:cdDarkDark = {'gui': '#303030', 'cterm': (g:codedark_term256 ? '236' : s:cterm02)}
|
||||||
|
let s:cdDark = {'gui': '#3C3C3C', 'cterm': (g:codedark_term256 ? '237' : s:cterm03)}
|
||||||
|
|
||||||
|
let s:Warning = [ s:cdRed.gui, s:cdDarkDark.gui, s:cdRed.cterm, s:cdDarkDark.cterm, 'none']
|
||||||
|
|
||||||
|
" Normal:
|
||||||
|
|
||||||
|
let s:N1 = [ s:cdFront.gui, s:cdBlue.gui, s:cdFront.cterm, s:cdBlue.cterm, 'none' ]
|
||||||
|
let s:N2 = [ s:cdFront.gui, s:cdDarkDark.gui, s:cdFront.cterm, s:cdDarkDark.cterm, 'none' ]
|
||||||
|
let s:N3 = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none' ]
|
||||||
|
let s:NM = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none']
|
||||||
|
|
||||||
|
let g:airline#themes#codedark#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||||
|
let g:airline#themes#codedark#palette.normal_modified = { 'airline_c': s:NM }
|
||||||
|
let g:airline#themes#codedark#palette.normal.airline_warning = s:Warning
|
||||||
|
let g:airline#themes#codedark#palette.normal_modified.airline_warning = s:Warning
|
||||||
|
|
||||||
|
" Insert:
|
||||||
|
|
||||||
|
let s:I1 = [ s:cdBack.gui, s:cdYellow.gui, s:cdBack.cterm, s:cdYellow.cterm, 'none' ]
|
||||||
|
let s:I2 = [ s:cdFront.gui, s:cdDarkDark.gui, s:cdFront.cterm, s:cdDarkDark.cterm, 'none' ]
|
||||||
|
let s:I3 = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none' ]
|
||||||
|
let s:IM = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none']
|
||||||
|
|
||||||
|
let g:airline#themes#codedark#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||||
|
let g:airline#themes#codedark#palette.insert_modified = { 'airline_c': s:IM }
|
||||||
|
let g:airline#themes#codedark#palette.insert.airline_warning = s:Warning
|
||||||
|
let g:airline#themes#codedark#palette.insert_modified.airline_warning = s:Warning
|
||||||
|
|
||||||
|
" Replace:
|
||||||
|
|
||||||
|
let s:R1 = [ s:cdBack.gui, s:cdYellow.gui, s:cdBack.cterm, s:cdYellow.cterm, 'none' ]
|
||||||
|
let s:R2 = [ s:cdFront.gui, s:cdDarkDark.gui, s:cdFront.cterm, s:cdDarkDark.cterm, 'none' ]
|
||||||
|
let s:R3 = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none' ]
|
||||||
|
let s:RM = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none']
|
||||||
|
|
||||||
|
let g:airline#themes#codedark#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
||||||
|
let g:airline#themes#codedark#palette.replace_modified = { 'airline_c': s:RM }
|
||||||
|
let g:airline#themes#codedark#palette.replace.airline_warning = s:Warning
|
||||||
|
let g:airline#themes#codedark#palette.replace_modified.airline_warning = s:Warning
|
||||||
|
|
||||||
|
" Visual:
|
||||||
|
|
||||||
|
let s:V1 = [ s:cdLightBlue.gui, s:cdDark.gui, s:cdLightBlue.cterm, s:cdDark.cterm, 'none' ]
|
||||||
|
let s:V2 = [ s:cdFront.gui, s:cdDarkDark.gui, s:cdFront.cterm, s:cdDarkDark.cterm, 'none' ]
|
||||||
|
let s:V3 = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none' ]
|
||||||
|
let s:VM = [ s:cdFront.gui, s:cdDarkDarkDark.gui, s:cdFront.cterm, s:cdDarkDarkDark.cterm, 'none']
|
||||||
|
|
||||||
|
let g:airline#themes#codedark#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||||
|
let g:airline#themes#codedark#palette.visual_modified = { 'airline_c': s:VM }
|
||||||
|
let g:airline#themes#codedark#palette.visual.airline_warning = s:Warning
|
||||||
|
let g:airline#themes#codedark#palette.visual_modified.airline_warning = s:Warning
|
||||||
|
|
||||||
|
" Inactive:
|
||||||
|
|
||||||
|
let s:IA1 = [ s:cdFrontGray.gui, s:cdDark.gui, s:cdFrontGray.cterm, s:cdDark.cterm, 'none' ]
|
||||||
|
let s:IA2 = [ s:cdFrontGray.gui, s:cdDarkDark.gui, s:cdFrontGray.cterm, s:cdDarkDark.cterm, 'none' ]
|
||||||
|
let s:IA3 = [ s:cdFrontGray.gui, s:cdDarkDarkDark.gui, s:cdFrontGray.cterm, s:cdDarkDarkDark.cterm, 'none' ]
|
||||||
|
let s:IAM = [ s:cdFrontGray.gui, s:cdDarkDarkDark.gui, s:cdFrontGray.cterm, s:cdDarkDarkDark.cterm, 'none' ]
|
||||||
|
|
||||||
|
let g:airline#themes#codedark#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
|
||||||
|
let g:airline#themes#codedark#palette.inactive_modified = { 'airline_c': s:IAM }
|
||||||
|
|
||||||
|
" Red accent for readonly:
|
||||||
|
|
||||||
|
let g:airline#themes#codedark#palette.accents = {
|
||||||
|
\ 'red': [ s:cdRed.gui, '', s:cdRed.cterm, '' ]
|
||||||
|
\ }
|
||||||
|
|
40
autoload/lightline/colorscheme/codedark.vim
Normal file
40
autoload/lightline/colorscheme/codedark.vim
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
" =============================================================================
|
||||||
|
" Filename: autoload/lightline/colorscheme/codedark.vim
|
||||||
|
" Author: artanikin
|
||||||
|
" License: MIT License
|
||||||
|
" Last Change: 2019/12/05 12:26:00
|
||||||
|
" =============================================================================
|
||||||
|
|
||||||
|
let s:term_red = 204
|
||||||
|
let s:term_green = 114
|
||||||
|
let s:term_yellow = 180
|
||||||
|
let s:term_blue = 39
|
||||||
|
let s:term_purple = 170
|
||||||
|
let s:term_white = 145
|
||||||
|
let s:term_black = 235
|
||||||
|
let s:term_grey = 236
|
||||||
|
|
||||||
|
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
|
||||||
|
|
||||||
|
let s:p.normal.left = [ [ '#262626', '#608B4E', s:term_black, s:term_green, 'bold' ], [ '#608B4E', '#262626', s:term_green, s:term_black ] ]
|
||||||
|
let s:p.normal.right = [ [ '#262626', '#608B4E', s:term_black, s:term_green ], [ '#D4D4D4', '#3C3C3C', s:term_white, s:term_grey ], [ '#608B4E', '#262626', s:term_green, s:term_black ] ]
|
||||||
|
let s:p.inactive.right = [ [ '#262626', '#569CD6', s:term_black, s:term_blue], [ '#D4D4D4', '#3C3C3C', s:term_white, s:term_grey ] ]
|
||||||
|
let s:p.inactive.left = s:p.inactive.right[1:]
|
||||||
|
" her
|
||||||
|
let s:p.insert.left = [ [ '#262626', '#569CD6', s:term_black, s:term_blue, 'bold' ], [ '#569CD6', '#262626', s:term_blue, s:term_black ] ]
|
||||||
|
let s:p.insert.right = [ [ '#262626', '#569CD6', s:term_black, s:term_blue ], [ '#D4D4D4', '#3C3C3C', s:term_white, s:term_grey ], [ '#569CD6', '#262626', s:term_blue, s:term_black ] ]
|
||||||
|
let s:p.replace.left = [ [ '#262626', '#D16969', s:term_black, s:term_red, 'bold' ], [ '#D16969', '#262626', s:term_red, s:term_black ] ]
|
||||||
|
let s:p.replace.right = [ [ '#262626', '#D16969', s:term_black, s:term_red, 'bold' ], s:p.normal.right[1], [ '#D16969', '#262626', s:term_red, s:term_black ] ]
|
||||||
|
let s:p.visual.left = [ [ '#262626', '#C586C0', s:term_black, s:term_purple, 'bold' ], [ '#C586C0', '#262626', s:term_purple, s:term_black ] ]
|
||||||
|
let s:p.visual.right = [ [ '#262626', '#C586C0', s:term_black, s:term_purple, 'bold' ], s:p.normal.right[1], [ '#C586C0', '#262626', s:term_purple, s:term_black ] ]
|
||||||
|
let s:p.normal.middle = [ [ '#D4D4D4', '#262626', s:term_white, s:term_black ] ]
|
||||||
|
let s:p.insert.middle = s:p.normal.middle
|
||||||
|
let s:p.replace.middle = s:p.normal.middle
|
||||||
|
let s:p.tabline.left = [ s:p.normal.left[1] ]
|
||||||
|
let s:p.tabline.tabsel = [ s:p.normal.left[0] ]
|
||||||
|
let s:p.tabline.middle = s:p.normal.middle
|
||||||
|
let s:p.tabline.right = [ s:p.normal.left[1] ]
|
||||||
|
let s:p.normal.error = [ [ '#262626', '#D16969', s:term_black, s:term_red ] ]
|
||||||
|
let s:p.normal.warning = [ [ '#262626', '#D7BA7D', s:term_black, s:term_yellow ] ]
|
||||||
|
|
||||||
|
let g:lightline#colorscheme#codedark#palette = lightline#colorscheme#fill(s:p)
|
18
base16/schemes/codedark/codedark.yaml
Normal file
18
base16/schemes/codedark/codedark.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
scheme: "codedark"
|
||||||
|
author: "Tomas Iser (https://github.com/tomasiser)"
|
||||||
|
base00: "1E1E1E"
|
||||||
|
base01: "262626"
|
||||||
|
base02: "303030"
|
||||||
|
base03: "3C3C3C"
|
||||||
|
base04: "808080"
|
||||||
|
base05: "D4D4D4"
|
||||||
|
base06: "E9E9E9"
|
||||||
|
base07: "FFFFFF"
|
||||||
|
base08: "D16969"
|
||||||
|
base09: "B5CEA8"
|
||||||
|
base0A: "D7BA7D"
|
||||||
|
base0B: "608B4E"
|
||||||
|
base0C: "9CDCFE"
|
||||||
|
base0D: "569CD6"
|
||||||
|
base0E: "C586C0"
|
||||||
|
base0F: "CE9178"
|
72
base16/templates/putty/putty/base16-codedark.reg
Normal file
72
base16/templates/putty/putty/base16-codedark.reg
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
; Base16 codedark
|
||||||
|
; schema by Tomas Iser (https://github.com/tomasiser)
|
||||||
|
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\codedark]
|
||||||
|
|
||||||
|
; Default Foreground
|
||||||
|
"Colour0"="212,212,212"
|
||||||
|
|
||||||
|
; Default Bold Foreground -- equals to non-bold
|
||||||
|
"Colour1"="212,212,212"
|
||||||
|
|
||||||
|
; Default Background
|
||||||
|
"Colour2"="30,30,30"
|
||||||
|
|
||||||
|
; Default Bold Background -- equals to non-bold
|
||||||
|
"Colour3"="30,30,30"
|
||||||
|
|
||||||
|
; Cursor Text -- equals to default background
|
||||||
|
"Colour4"="30,30,30"
|
||||||
|
|
||||||
|
; Cursor Colour -- equals to default foreground
|
||||||
|
"Colour5"="212,212,212"
|
||||||
|
|
||||||
|
; ANSI Black
|
||||||
|
"Colour6"="30,30,30"
|
||||||
|
|
||||||
|
; ANSI Black Bold
|
||||||
|
"Colour7"="60,60,60"
|
||||||
|
|
||||||
|
; ANSI Red
|
||||||
|
"Colour8"="209,105,105"
|
||||||
|
|
||||||
|
; ANSI Red Bold
|
||||||
|
"Colour9"="181,206,168"
|
||||||
|
|
||||||
|
; ANSI Green
|
||||||
|
"Colour10"="96,139,78"
|
||||||
|
|
||||||
|
; ANSI Green Bold
|
||||||
|
"Colour11"="38,38,38"
|
||||||
|
|
||||||
|
; ANSI Yellow
|
||||||
|
"Colour12"="215,186,125"
|
||||||
|
|
||||||
|
; ANSI Yellow Bold
|
||||||
|
"Colour13"="48,48,48"
|
||||||
|
|
||||||
|
; ANSI Blue
|
||||||
|
"Colour14"="86,156,214"
|
||||||
|
|
||||||
|
; ANSI Blue Bold
|
||||||
|
"Colour15"="128,128,128"
|
||||||
|
|
||||||
|
; ANSI Magenta
|
||||||
|
"Colour16"="197,134,192"
|
||||||
|
|
||||||
|
; ANSI Magenta Bold
|
||||||
|
"Colour17"="233,233,233"
|
||||||
|
|
||||||
|
; ANSI Cyan
|
||||||
|
"Colour18"="156,220,254"
|
||||||
|
|
||||||
|
; ANSI Cyan Bold
|
||||||
|
"Colour19"="206,145,120"
|
||||||
|
|
||||||
|
; ANSI White
|
||||||
|
"Colour20"="212,212,212"
|
||||||
|
|
||||||
|
; ANSI White Bold
|
||||||
|
"Colour21"="255,255,255"
|
||||||
|
|
123
base16/templates/shell/scripts/base16-codedark.sh
Normal file
123
base16/templates/shell/scripts/base16-codedark.sh
Normal file
|
@ -0,0 +1,123 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# base16-shell (https://github.com/chriskempson/base16-shell)
|
||||||
|
# Base16 Shell template by Chris Kempson (http://chriskempson.com)
|
||||||
|
# codedark scheme by Tomas Iser (https://github.com/tomasiser)
|
||||||
|
|
||||||
|
# This script doesn't support linux console (use 'vconsole' template instead)
|
||||||
|
if [ "${TERM%%-*}" = 'linux' ]; then
|
||||||
|
return 2>/dev/null || exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
color00="1E/1E/1E" # Base 00 - Black
|
||||||
|
color01="D1/69/69" # Base 08 - Red
|
||||||
|
color02="60/8B/4E" # Base 0B - Green
|
||||||
|
color03="D7/BA/7D" # Base 0A - Yellow
|
||||||
|
color04="56/9C/D6" # Base 0D - Blue
|
||||||
|
color05="C5/86/C0" # Base 0E - Magenta
|
||||||
|
color06="9C/DC/FE" # Base 0C - Cyan
|
||||||
|
color07="D4/D4/D4" # Base 05 - White
|
||||||
|
color08="3C/3C/3C" # Base 03 - Bright Black
|
||||||
|
color09=$color01 # Base 08 - Bright Red
|
||||||
|
color10=$color02 # Base 0B - Bright Green
|
||||||
|
color11=$color03 # Base 0A - Bright Yellow
|
||||||
|
color12=$color04 # Base 0D - Bright Blue
|
||||||
|
color13=$color05 # Base 0E - Bright Magenta
|
||||||
|
color14=$color06 # Base 0C - Bright Cyan
|
||||||
|
color15="FF/FF/FF" # Base 07 - Bright White
|
||||||
|
color16="B5/CE/A8" # Base 09
|
||||||
|
color17="CE/91/78" # Base 0F
|
||||||
|
color18="26/26/26" # Base 01
|
||||||
|
color19="30/30/30" # Base 02
|
||||||
|
color20="80/80/80" # Base 04
|
||||||
|
color21="E9/E9/E9" # Base 06
|
||||||
|
color_foreground="D4/D4/D4" # Base 05
|
||||||
|
color_background="1E/1E/1E" # Base 00
|
||||||
|
color_cursor="D4/D4/D4" # Base 05
|
||||||
|
|
||||||
|
if [ -n "$TMUX" ]; then
|
||||||
|
# Tell tmux to pass the escape sequences through
|
||||||
|
# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)
|
||||||
|
printf_template='\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\'
|
||||||
|
printf_template_var='\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\'
|
||||||
|
printf_template_custom='\033Ptmux;\033\033]%s%s\033\033\\\033\\'
|
||||||
|
elif [ "${TERM%%-*}" = "screen" ]; then
|
||||||
|
# GNU screen (screen, screen-256color, screen-256color-bce)
|
||||||
|
printf_template='\033P\033]4;%d;rgb:%s\033\\'
|
||||||
|
printf_template_var='\033P\033]%d;rgb:%s\033\\'
|
||||||
|
printf_template_custom='\033P\033]%s%s\033\\'
|
||||||
|
else
|
||||||
|
printf_template='\033]4;%d;rgb:%s\033\\'
|
||||||
|
printf_template_var='\033]%d;rgb:%s\033\\'
|
||||||
|
printf_template_custom='\033]%s%s\033\\'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 16 color space
|
||||||
|
printf $printf_template 0 $color00
|
||||||
|
printf $printf_template 1 $color01
|
||||||
|
printf $printf_template 2 $color02
|
||||||
|
printf $printf_template 3 $color03
|
||||||
|
printf $printf_template 4 $color04
|
||||||
|
printf $printf_template 5 $color05
|
||||||
|
printf $printf_template 6 $color06
|
||||||
|
printf $printf_template 7 $color07
|
||||||
|
printf $printf_template 8 $color08
|
||||||
|
printf $printf_template 9 $color09
|
||||||
|
printf $printf_template 10 $color10
|
||||||
|
printf $printf_template 11 $color11
|
||||||
|
printf $printf_template 12 $color12
|
||||||
|
printf $printf_template 13 $color13
|
||||||
|
printf $printf_template 14 $color14
|
||||||
|
printf $printf_template 15 $color15
|
||||||
|
|
||||||
|
# 256 color space
|
||||||
|
printf $printf_template 16 $color16
|
||||||
|
printf $printf_template 17 $color17
|
||||||
|
printf $printf_template 18 $color18
|
||||||
|
printf $printf_template 19 $color19
|
||||||
|
printf $printf_template 20 $color20
|
||||||
|
printf $printf_template 21 $color21
|
||||||
|
|
||||||
|
# foreground / background / cursor color
|
||||||
|
if [ -n "$ITERM_SESSION_ID" ]; then
|
||||||
|
# iTerm2 proprietary escape codes
|
||||||
|
printf $printf_template_custom Pg D4D4D4 # forground
|
||||||
|
printf $printf_template_custom Ph 1E1E1E # background
|
||||||
|
printf $printf_template_custom Pi D4D4D4 # bold color
|
||||||
|
printf $printf_template_custom Pj 303030 # selection color
|
||||||
|
printf $printf_template_custom Pk D4D4D4 # selected text color
|
||||||
|
printf $printf_template_custom Pl D4D4D4 # cursor
|
||||||
|
printf $printf_template_custom Pm 1E1E1E # cursor text
|
||||||
|
else
|
||||||
|
printf $printf_template_var 10 $color_foreground
|
||||||
|
printf $printf_template_var 11 $color_background
|
||||||
|
printf $printf_template_custom 12 ";7" # cursor (reverse video)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
unset printf_template
|
||||||
|
unset printf_template_var
|
||||||
|
unset color00
|
||||||
|
unset color01
|
||||||
|
unset color02
|
||||||
|
unset color03
|
||||||
|
unset color04
|
||||||
|
unset color05
|
||||||
|
unset color06
|
||||||
|
unset color07
|
||||||
|
unset color08
|
||||||
|
unset color09
|
||||||
|
unset color10
|
||||||
|
unset color11
|
||||||
|
unset color12
|
||||||
|
unset color13
|
||||||
|
unset color14
|
||||||
|
unset color15
|
||||||
|
unset color16
|
||||||
|
unset color17
|
||||||
|
unset color18
|
||||||
|
unset color19
|
||||||
|
unset color20
|
||||||
|
unset color21
|
||||||
|
unset color_foreground
|
||||||
|
unset color_background
|
||||||
|
unset color_cursor
|
465
colors/codedark.vim
Normal file
465
colors/codedark.vim
Normal file
|
@ -0,0 +1,465 @@
|
||||||
|
" Vim Code Dark (color scheme)
|
||||||
|
" https://github.com/tomasiser/vim-code-dark
|
||||||
|
|
||||||
|
scriptencoding utf-8
|
||||||
|
|
||||||
|
set background=dark
|
||||||
|
hi clear
|
||||||
|
if exists("syntax_on")
|
||||||
|
syntax reset
|
||||||
|
endif
|
||||||
|
let g:colors_name="codedark"
|
||||||
|
|
||||||
|
" Highlighting function (inspiration from https://github.com/chriskempson/base16-vim)
|
||||||
|
if &t_Co >= 256
|
||||||
|
let g:codedark_term256=1
|
||||||
|
elseif !exists("g:codedark_term256")
|
||||||
|
let g:codedark_term256=0
|
||||||
|
endif
|
||||||
|
fun! <sid>hi(group, fg, bg, attr, sp)
|
||||||
|
if !empty(a:fg)
|
||||||
|
exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . (g:codedark_term256 ? a:fg.cterm256 : a:fg.cterm)
|
||||||
|
endif
|
||||||
|
if !empty(a:bg)
|
||||||
|
exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . (g:codedark_term256 ? a:bg.cterm256 : a:bg.cterm)
|
||||||
|
endif
|
||||||
|
if a:attr != ""
|
||||||
|
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
|
||||||
|
endif
|
||||||
|
if !empty(a:sp)
|
||||||
|
exec "hi " . a:group . " guisp=" . a:sp.gui
|
||||||
|
endif
|
||||||
|
endfun
|
||||||
|
|
||||||
|
" ------------------
|
||||||
|
" Color definitions:
|
||||||
|
" ------------------
|
||||||
|
|
||||||
|
" Terminal colors (base16):
|
||||||
|
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 = "00"
|
||||||
|
let s:cterm02 = "08"
|
||||||
|
let s:cterm04 = "07"
|
||||||
|
let s:cterm06 = "07"
|
||||||
|
let s:cterm09 = "06"
|
||||||
|
let s:cterm0F = "03"
|
||||||
|
endif
|
||||||
|
|
||||||
|
" General appearance colors:
|
||||||
|
" (some of them may be unused)
|
||||||
|
|
||||||
|
let s:cdNone = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'}
|
||||||
|
let s:cdFront = {'gui': '#D4D4D4', 'cterm': s:cterm05, 'cterm256': '188'}
|
||||||
|
let s:cdBack = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'}
|
||||||
|
|
||||||
|
let s:cdTabCurrent = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'}
|
||||||
|
let s:cdTabOther = {'gui': '#2D2D2D', 'cterm': s:cterm01, 'cterm256': '236'}
|
||||||
|
let s:cdTabOutside = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'}
|
||||||
|
|
||||||
|
let s:cdLeftDark = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'}
|
||||||
|
let s:cdLeftMid = {'gui': '#373737', 'cterm': s:cterm03, 'cterm256': '237'}
|
||||||
|
let s:cdLeftLight = {'gui': '#3F3F46', 'cterm': s:cterm03, 'cterm256': '238'}
|
||||||
|
|
||||||
|
let s:cdPopupFront = {'gui': '#BBBBBB', 'cterm': s:cterm06, 'cterm256': '250'}
|
||||||
|
let s:cdPopupBack = {'gui': '#2D2D30', 'cterm': s:cterm01, 'cterm256': '236'}
|
||||||
|
let s:cdPopupHighlightBlue = {'gui': '#073655', 'cterm': s:cterm0D, 'cterm256': '24'}
|
||||||
|
let s:cdPopupHighlightGray = {'gui': '#3D3D40', 'cterm': s:cterm03, 'cterm256': '237'}
|
||||||
|
|
||||||
|
let s:cdSplitLight = {'gui': '#898989', 'cterm': s:cterm04, 'cterm256': '245'}
|
||||||
|
let s:cdSplitDark = {'gui': '#444444', 'cterm': s:cterm03, 'cterm256': '238'}
|
||||||
|
let s:cdSplitThumb = {'gui': '#424242', 'cterm': s:cterm04, 'cterm256': '238'}
|
||||||
|
|
||||||
|
let s:cdCursorDarkDark = {'gui': '#222222', 'cterm': s:cterm01, 'cterm256': '235'}
|
||||||
|
let s:cdCursorDark = {'gui': '#51504F', 'cterm': s:cterm03, 'cterm256': '239'}
|
||||||
|
let s:cdCursorLight = {'gui': '#AEAFAD', 'cterm': s:cterm04, 'cterm256': '145'}
|
||||||
|
let s:cdSelection = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'}
|
||||||
|
let s:cdLineNumber = {'gui': '#5A5A5A', 'cterm': s:cterm04, 'cterm256': '240'}
|
||||||
|
|
||||||
|
let s:cdDiffRedDark = {'gui': '#4B1818', 'cterm': s:cterm08, 'cterm256': '52'}
|
||||||
|
let s:cdDiffRedLight = {'gui': '#6F1313', 'cterm': s:cterm08, 'cterm256': '52'}
|
||||||
|
let s:cdDiffRedLightLight = {'gui': '#FB0101', 'cterm': s:cterm08, 'cterm256': '09'}
|
||||||
|
let s:cdDiffGreenDark = {'gui': '#373D29', 'cterm': s:cterm0B, 'cterm256': '237'}
|
||||||
|
let s:cdDiffGreenLight = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'}
|
||||||
|
|
||||||
|
let s:cdSearchCurrent = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'}
|
||||||
|
let s:cdSearch = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'}
|
||||||
|
|
||||||
|
" Syntax colors:
|
||||||
|
|
||||||
|
if !exists("g:codedark_conservative")
|
||||||
|
let g:codedark_conservative=0
|
||||||
|
endif
|
||||||
|
|
||||||
|
let s:cdGray = {'gui': '#808080', 'cterm': s:cterm04, 'cterm256': '08'}
|
||||||
|
let s:cdViolet = {'gui': '#646695', 'cterm': s:cterm04, 'cterm256': '60'}
|
||||||
|
let s:cdBlue = {'gui': '#569CD6', 'cterm': s:cterm0D, 'cterm256': '75'}
|
||||||
|
let s:cdDarkBlue = {'gui': '#223E55', 'cterm': s:cterm0D, 'cterm256': '73'}
|
||||||
|
let s:cdLightBlue = {'gui': '#9CDCFE', 'cterm': s:cterm0C, 'cterm256': '117'}
|
||||||
|
if g:codedark_conservative | let s:cdLightBlue = s:cdFront | endif
|
||||||
|
let s:cdGreen = {'gui': '#6A9955', 'cterm': s:cterm0B, 'cterm256': '65'}
|
||||||
|
let s:cdBlueGreen = {'gui': '#4EC9B0', 'cterm': s:cterm0F, 'cterm256': '43'}
|
||||||
|
let s:cdLightGreen = {'gui': '#B5CEA8', 'cterm': s:cterm09, 'cterm256': '151'}
|
||||||
|
let s:cdRed = {'gui': '#F44747', 'cterm': s:cterm08, 'cterm256': '203'}
|
||||||
|
let s:cdOrange = {'gui': '#CE9178', 'cterm': s:cterm0F, 'cterm256': '173'}
|
||||||
|
let s:cdLightRed = {'gui': '#D16969', 'cterm': s:cterm08, 'cterm256': '167'}
|
||||||
|
if g:codedark_conservative | let s:cdLightRed = s:cdOrange | endif
|
||||||
|
let s:cdYellowOrange = {'gui': '#D7BA7D', 'cterm': s:cterm0A, 'cterm256': '179'}
|
||||||
|
let s:cdYellow = {'gui': '#DCDCAA', 'cterm': s:cterm0A, 'cterm256': '187'}
|
||||||
|
if g:codedark_conservative | let s:cdYellow = s:cdFront | endif
|
||||||
|
let s:cdPink = {'gui': '#C586C0', 'cterm': s:cterm0E, 'cterm256': '176'}
|
||||||
|
if g:codedark_conservative | let s:cdPink = s:cdBlue | endif
|
||||||
|
|
||||||
|
" Vim editor colors
|
||||||
|
" <sid>hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE, SPECIAL)
|
||||||
|
call <sid>hi('Normal', s:cdFront, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('ColorColumn', {}, s:cdCursorDarkDark, 'none', {})
|
||||||
|
call <sid>hi('Cursor', s:cdCursorDark, s:cdCursorLight, 'none', {})
|
||||||
|
call <sid>hi('CursorLine', {}, s:cdCursorDarkDark, 'none', {})
|
||||||
|
call <sid>hi('CursorColumn', {}, s:cdCursorDarkDark, 'none', {})
|
||||||
|
call <sid>hi('Directory', s:cdBlue, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('DiffAdd', {}, s:cdDiffGreenDark, 'none', {})
|
||||||
|
call <sid>hi('DiffChange', {}, s:cdDiffRedDark, 'none', {})
|
||||||
|
call <sid>hi('DiffDelete', {}, s:cdDiffRedLight, 'none', {})
|
||||||
|
call <sid>hi('DiffText', {}, s:cdDiffRedLight, 'none', {})
|
||||||
|
call <sid>hi('EndOfBuffer', s:cdLineNumber, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('ErrorMsg', s:cdRed, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('VertSplit', s:cdSplitDark, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('Folded', s:cdLeftLight, s:cdLeftDark, 'underline', {})
|
||||||
|
call <sid>hi('FoldColumn', s:cdLineNumber, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('SignColumn', {}, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('IncSearch', s:cdNone, s:cdSearchCurrent, 'none', {})
|
||||||
|
call <sid>hi('LineNr', s:cdLineNumber, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('CursorLineNr', s:cdPopupFront, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('MatchParen', s:cdNone, s:cdCursorDark, 'none', {})
|
||||||
|
call <sid>hi('ModeMsg', s:cdFront, s:cdLeftDark, 'none', {})
|
||||||
|
call <sid>hi('MoreMsg', s:cdFront, s:cdLeftDark, 'none', {})
|
||||||
|
call <sid>hi('NonText', s:cdLineNumber, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('Pmenu', s:cdPopupFront, s:cdPopupBack, 'none', {})
|
||||||
|
call <sid>hi('PmenuSel', s:cdPopupFront, s:cdPopupHighlightBlue, 'none', {})
|
||||||
|
call <sid>hi('PmenuSbar', {}, s:cdPopupHighlightGray, 'none', {})
|
||||||
|
call <sid>hi('PmenuThumb', {}, s:cdPopupFront, 'none', {})
|
||||||
|
call <sid>hi('Question', s:cdBlue, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('Search', s:cdNone, s:cdSearch, 'none', {})
|
||||||
|
call <sid>hi('SpecialKey', s:cdBlue, s:cdNone, 'none', {})
|
||||||
|
call <sid>hi('StatusLine', s:cdFront, s:cdLeftMid, 'none', {})
|
||||||
|
call <sid>hi('StatusLineNC', s:cdFront, s:cdLeftDark, 'none', {})
|
||||||
|
call <sid>hi('TabLine', s:cdFront, s:cdTabOther, 'none', {})
|
||||||
|
call <sid>hi('TabLineFill', s:cdFront, s:cdTabOutside, 'none', {})
|
||||||
|
call <sid>hi('TabLineSel', s:cdFront, s:cdTabCurrent, 'none', {})
|
||||||
|
call <sid>hi('Title', s:cdNone, s:cdNone, 'bold', {})
|
||||||
|
call <sid>hi('Visual', s:cdNone, s:cdSelection, 'none', {})
|
||||||
|
call <sid>hi('VisualNOS', s:cdNone, s:cdSelection, 'none', {})
|
||||||
|
call <sid>hi('WarningMsg', s:cdOrange, s:cdBack, 'none', {})
|
||||||
|
call <sid>hi('WildMenu', s:cdNone, s:cdSelection, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Comment', s:cdGreen, {}, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Constant', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('String', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('Character', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('Number', s:cdLightGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('Boolean', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('Float', s:cdLightGreen, {}, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Identifier', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('Function', s:cdYellow, {}, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Statement', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('Conditional', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('Repeat', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('Label', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('Operator', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('Keyword', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('Exception', s:cdPink, {}, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('PreProc', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('Include', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('Define', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('Macro', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('PreCondit', s:cdPink, {}, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Type', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('StorageClass', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('Structure', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('Typedef', s:cdBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Special', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('SpecialChar', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('Tag', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('Delimiter', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('SpecialComment', s:cdGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('Debug', s:cdFront, {}, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Underlined', s:cdNone, {}, 'underline', {})
|
||||||
|
call <sid>hi("Conceal", s:cdFront, s:cdBack, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Ignore', s:cdFront, {}, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed)
|
||||||
|
|
||||||
|
call <sid>hi('Todo', s:cdNone, s:cdLeftMid, 'none', {})
|
||||||
|
|
||||||
|
call <sid>hi('SpellBad', s:cdRed, s:cdBack, 'undercurl', s:cdRed)
|
||||||
|
call <sid>hi('SpellCap', s:cdRed, s:cdBack, 'undercurl', s:cdRed)
|
||||||
|
call <sid>hi('SpellRare', s:cdRed, s:cdBack, 'undercurl', s:cdRed)
|
||||||
|
call <sid>hi('SpellLocal', s:cdRed, s:cdBack, 'undercurl', s:cdRed)
|
||||||
|
|
||||||
|
" Markdown:
|
||||||
|
call <sid>hi('markdownBold', s:cdBlue, {}, 'bold', {})
|
||||||
|
call <sid>hi('markdownCode', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('markdownRule', s:cdBlue, {}, 'bold', {})
|
||||||
|
call <sid>hi('markdownCodeDelimiter', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('markdownHeadingDelimiter', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('markdownFootnote', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('markdownFootnoteDefinition', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('markdownUrl', s:cdLightBlue, {}, 'underline', {})
|
||||||
|
call <sid>hi('markdownLinkText', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('markdownEscape', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
|
||||||
|
" JSON:
|
||||||
|
call <sid>hi('jsonKeyword', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsonEscape', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('jsonNull', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsonBoolean', s:cdBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" HTML:
|
||||||
|
call <sid>hi('htmlTag', s:cdGray, {}, 'none', {})
|
||||||
|
call <sid>hi('htmlEndTag', s:cdGray, {}, 'none', {})
|
||||||
|
call <sid>hi('htmlTagName', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('htmlSpecialTagName', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('htmlArg', s:cdLightBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" PHP:
|
||||||
|
call <sid>hi('phpStaticClasses', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('phpMethod', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('phpClass', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('phpFunction', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('phpInclude', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('phpUseClass', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('phpRegion', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('phpMethodsVar', s:cdLightBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" CSS:
|
||||||
|
call <sid>hi('cssBraces', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('cssInclude', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('cssTagName', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssClassName', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssPseudoClass', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssPseudoClassId', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssPseudoClassLang', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssIdentifier', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssProp', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('cssDefinition', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('cssAttr', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssAttrRegion', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssColor', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssFunction', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssFunctionName', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssVendor', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssValueNumber', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssValueLength', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssUnitDecorators', s:cdOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('cssStyle', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('cssImportant', s:cdBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" JavaScript:
|
||||||
|
call <sid>hi('jsVariableDef', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsFuncArgs', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsFuncBlock', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsRegexpString', s:cdLightRed, {}, 'none', {})
|
||||||
|
call <sid>hi('jsThis', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsOperatorKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsDestructuringBlock', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsObjectKey', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsGlobalObjects', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('jsModuleKeyword', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsClassDefinition', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('jsClassKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsExtendsKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsExportDefault', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('jsFuncCall', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('jsObjectValue', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsParen', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsObjectProp', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsIfElseBlock', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsParenIfElse', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsSpreadOperator', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('jsSpreadExpression', s:cdLightBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" Typescript:
|
||||||
|
call <sid>hi('typescriptLabel', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptExceptions', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptBraces', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptEndColons', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptParens', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptDocTags', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptDocComment', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptLogicSymbols', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptImport', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptBOM', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptVariableDeclaration', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptVariable', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptExport', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptAliasDeclaration', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptAliasKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptClassName', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptAccessibilityModifier', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptOperator', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptArrowFunc', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptMethodAccessor', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptMember', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptTypeReference', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptDefault', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptTemplateSB', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptArrowFuncArg', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptParamImpl', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptFuncComma', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptCastKeyword', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptCall', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptCase', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptReserved', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptDefault', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptDecorator', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptPredefinedType', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptClassHeritage', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptClassExtends', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptClassKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptBlock', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptDOMDocProp', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptTemplateSubstitution', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptClassBlock', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptFuncCallArg', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptIndexExpr', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptConditionalParen', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptArray', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptES6SetProp', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptObjectLiteral', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptTypeParameter', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptEnumKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptEnum', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptLoopParen', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptParenExp', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptModule', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptAmbientDeclaration', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptModule', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptFuncTypeArrow', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptInterfaceHeritage', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptInterfaceName', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptInterfaceKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptInterfaceExtends', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptGlobal', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptAsyncFuncKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptFuncKeyword', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptGlobalMethod', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('typescriptPromiseMethod', s:cdYellow, {}, 'none', {})
|
||||||
|
|
||||||
|
" XML:
|
||||||
|
call <sid>hi('xmlTag', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('xmlTagName', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('xmlEndTag', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
|
||||||
|
" Ruby:
|
||||||
|
call <sid>hi('rubyClassNameTag', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('rubyClassName', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('rubyModuleName', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('rubyConstant', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
|
||||||
|
" Golang:
|
||||||
|
call <sid>hi('goPackage', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goImport', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goVar', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goConst', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goStatement', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('goType', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('goSignedInts', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('goUnsignedInts', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('goFloats', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('goComplexes', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('goBuiltins', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('goBoolean', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goPredefinedIdentifiers', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goTodo', s:cdGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('goDeclaration', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goDeclType', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goTypeDecl', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goTypeName', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('goVarAssign', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goVarDefs', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('goReceiver', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('goReceiverType', s:cdFront, {}, 'none', {})
|
||||||
|
call <sid>hi('goFunctionCall', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('goMethodCall', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('goSingleDecl', s:cdLightBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" Python:
|
||||||
|
call <sid>hi('pythonStatement', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonOperator', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonException', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonExClass', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonBuiltinObj', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonBuiltinType', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonBoolean', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonNone', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonTodo', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonClassVar', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('pythonClassDef', s:cdBlueGreen, {}, 'none', {})
|
||||||
|
|
||||||
|
" TeX:
|
||||||
|
call <sid>hi('texStatement', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('texBeginEnd', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('texBeginEndName', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('texOption', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('texBeginEndModifier', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('texDocType', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('texDocTypeArgs', s:cdLightBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" Git:
|
||||||
|
call <sid>hi('gitcommitHeader', s:cdGray, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitOnBranch', s:cdGray, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitBranch', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitComment', s:cdGray, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitSelectedType', s:cdGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitSelectedFile', s:cdGreen, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitDiscardedType', s:cdRed, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitDiscardedFile', s:cdRed, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitOverflow', s:cdRed, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitSummary', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('gitcommitBlank', s:cdPink, {}, 'none', {})
|
||||||
|
|
||||||
|
" Lua:
|
||||||
|
call <sid>hi('luaFuncCall', s:cdYellow, {}, 'none', {})
|
||||||
|
call <sid>hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('luaFuncKeyword', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('luaLocal', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('luaBuiltIn', s:cdBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" SH:
|
||||||
|
call <sid>hi('shDeref', s:cdLightBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('shVariable', s:cdLightBlue, {}, 'none', {})
|
||||||
|
|
||||||
|
" SQL:
|
||||||
|
call <sid>hi('sqlKeyword', s:cdPink, {}, 'none', {})
|
||||||
|
call <sid>hi('sqlFunction', s:cdYellowOrange, {}, 'none', {})
|
||||||
|
call <sid>hi('sqlOperator', s:cdPink, {}, 'none', {})
|
||||||
|
|
||||||
|
" YAML:
|
||||||
|
call <sid>hi('yamlKey', s:cdBlue, {}, 'none', {})
|
||||||
|
call <sid>hi('yamlConstant', s:cdBlue, {}, 'none', {})
|
||||||
|
|
Reference in a new issue