KDE color scheme
This commit is contained in:
parent
b8c331989b
commit
2d1c14da37
21 changed files with 344 additions and 7989 deletions
|
|
@ -56,5 +56,4 @@ set -g history-limit 10000
|
|||
set -g mouse on
|
||||
|
||||
# terminal colors
|
||||
set -g default-terminal "xterm-256color"
|
||||
|
||||
|
|
|
|||
20
vim/.vimrc
20
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 <silent> <C-E> :Lexplore <CR>
|
|||
|
||||
" tab for completion
|
||||
inoremap <Tab> <C-R>=Tab_Or_Complete()<CR>
|
||||
|
||||
" colorscheme
|
||||
if exists('+termguicolors')
|
||||
set termguicolors
|
||||
colorscheme simplify-dark
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -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
|
||||
|
||||
|
|
@ -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 '\<from\>'
|
||||
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 --------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -1,160 +0,0 @@
|
|||
" Bubblegum 256 Light
|
||||
" Author: baskerville <nihilhill@gmail.com>
|
||||
" 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
|
||||
|
|
@ -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 <sid>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 <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
|
||||
call <sid>hi("Bold", "", "", "", "", "bold", "")
|
||||
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "")
|
||||
call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
|
||||
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
|
||||
call <sid>hi("Folded", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "")
|
||||
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
|
||||
call <sid>hi("Italic", "", "", "", "", "none", "")
|
||||
call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("MatchParen", "", s:gui04, "", s:cterm04, "", "")
|
||||
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("Search", s:gui00, s:gui0A, s:cterm00, s:cterm0A, "", "")
|
||||
call <sid>hi("SpecialKey", s:gui04, "", s:cterm04, "", "", "")
|
||||
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("Visual", "", s:gui01, "", s:cterm01, "", "")
|
||||
call <sid>hi("VisualNOS", s:gui04, "", s:cterm04, "", "", "")
|
||||
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("WildMenu", s:gui00, s:gui06, s:cterm00, "", "", "")
|
||||
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
|
||||
call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
|
||||
call <sid>hi("Cursor", s:gui00, s:gui09, s:cterm00, s:cterm09, "", "")
|
||||
call <sid>hi("NonText", s:gui04, "", s:cterm04, "", "", "")
|
||||
call <sid>hi("LineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "")
|
||||
call <sid>hi("SignColumn", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "")
|
||||
call <sid>hi("statusline", s:gui00, s:gui09, s:cterm00, s:cterm09, "none", "")
|
||||
call <sid>hi("StatusLineNC", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "")
|
||||
call <sid>hi("VertSplit", s:gui04, s:gui04, s:cterm04, s:cterm04, "none", "")
|
||||
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
|
||||
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
|
||||
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
|
||||
call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "")
|
||||
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
|
||||
call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "")
|
||||
call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "")
|
||||
call <sid>hi("TabLine", s:gui04, s:gui01, s:cterm04, s:cterm01, "none", "")
|
||||
call <sid>hi("TabLineFill", s:gui04, s:gui01, s:cterm04, s:cterm01, "none", "")
|
||||
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
|
||||
|
||||
" Standard syntax highlighting
|
||||
call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "")
|
||||
call <sid>hi("Character", s:gui09, "", s:cterm09, "", "", "")
|
||||
call <sid>hi("Comment", s:gui04, "", s:cterm04, "", "", "")
|
||||
call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "")
|
||||
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
|
||||
call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "")
|
||||
call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "")
|
||||
call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("Identifier", s:gui09, "", s:cterm09, "", "bold", "")
|
||||
call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "")
|
||||
call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "")
|
||||
call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "")
|
||||
call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "")
|
||||
call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
|
||||
call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "")
|
||||
call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
|
||||
" C highlighting
|
||||
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
|
||||
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
|
||||
" C# highlighting
|
||||
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
|
||||
|
||||
" CSS highlighting
|
||||
call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "")
|
||||
call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "")
|
||||
|
||||
" Diff highlighting
|
||||
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
|
||||
call <sid>hi("DiffChange", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "")
|
||||
call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
|
||||
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
|
||||
call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
|
||||
call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
|
||||
call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
|
||||
call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
|
||||
call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
|
||||
|
||||
" Git highlighting
|
||||
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
call <sid>hi("gitcommitComment", s:gui04, "", s:cterm04, "", "", "")
|
||||
call <sid>hi("gitcommitUntracked", s:gui04, "", s:cterm04, "", "", "")
|
||||
call <sid>hi("gitcommitDiscarded", s:gui04, "", s:cterm04, "", "", "")
|
||||
call <sid>hi("gitcommitSelected", s:gui04, "", s:cterm04, "", "", "")
|
||||
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
|
||||
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
|
||||
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
|
||||
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
|
||||
|
||||
" GitGutter highlighting
|
||||
call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
|
||||
call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
|
||||
call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
|
||||
call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "")
|
||||
|
||||
" HTML highlighting
|
||||
call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "")
|
||||
call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "")
|
||||
|
||||
" JavaScript highlighting
|
||||
call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "")
|
||||
call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "")
|
||||
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
|
||||
" pangloss/vim-javascript highlighting
|
||||
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
|
||||
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
|
||||
" Mail highlighting
|
||||
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
|
||||
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
|
||||
" Markdown highlighting
|
||||
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
|
||||
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
|
||||
" NERDTree highlighting
|
||||
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "")
|
||||
|
||||
" PHP highlighting
|
||||
call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "")
|
||||
call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "")
|
||||
call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "")
|
||||
|
||||
" Python highlighting
|
||||
call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
|
||||
" Ruby highlighting
|
||||
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
|
||||
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
|
||||
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
|
||||
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
|
||||
|
||||
" SASS highlighting
|
||||
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
|
||||
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
|
||||
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
|
||||
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
|
||||
|
||||
" Signify highlighting
|
||||
call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
|
||||
call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
|
||||
call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
|
||||
|
||||
" Spelling highlighting
|
||||
call <sid>hi("SpellBad", "", s:gui00, "", s:cterm00, "undercurl", s:gui08)
|
||||
call <sid>hi("SpellLocal", "", s:gui00, "", s:cterm00, "undercurl", s:gui0C)
|
||||
call <sid>hi("SpellCap", "", s:gui00, "", s:cterm00, "undercurl", s:gui0D)
|
||||
call <sid>hi("SpellRare", "", s:gui00, "", s:cterm00, "undercurl", s:gui0E)
|
||||
|
||||
" Remove functions
|
||||
delf <sid>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
|
||||
|
|
@ -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
|
||||
|
||||
|
|
@ -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! <sid>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 <sid>h('Cursor' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' )
|
||||
cal <sid>h('StatusLine' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' )
|
||||
cal <sid>h('StatusLineTerm' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' )
|
||||
cal <sid>h('TabLineSel' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' )
|
||||
cal <sid>h('TermCursor' , s:g0 , s:gD , s:t0 , s:tD , 'none' , '' )
|
||||
|
||||
" line numbers
|
||||
cal <sid>h('CursorLineNr' , s:g0 , s:g3 , s:t0 , s:t3 , 'none' , '' )
|
||||
cal <sid>h('LineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
|
||||
" basic text
|
||||
cal <sid>h('Bold' , '' , '' , '' , '' , 'bold' , '' )
|
||||
cal <sid>h('Directory' , s:g5 , '' , s:t5 , '' , 'bold' , '' )
|
||||
cal <sid>h('Italic' , '' , '' , '' , '' , 'italic' , '' )
|
||||
cal <sid>h('Normal' , s:g5 , s:g0 , s:t5 , s:t0 , 'none' , '' )
|
||||
cal <sid>h('Underlined' , s:g5 , '' , s:t5 , '' , 'underline' , '' )
|
||||
|
||||
" commented-out text
|
||||
cal <sid>h('Comment' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
cal <sid>h('Conceal' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
cal <sid>h('EndOfBuffer' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
cal <sid>h('Ignore' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
cal <sid>h('NonText' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
|
||||
" highlighted background
|
||||
cal <sid>h('ColorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('CursorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('CursorLine' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('QuickFixLine' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('StatusLineNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('StatusLineTermNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('TabLineFill' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('TermCursorNC' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
|
||||
" muted text on highlighted background
|
||||
cal <sid>h('DiffChange' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('FoldColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('Folded' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('SignColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('TabLine' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('VisualNOS' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
|
||||
" strongly highlighted background
|
||||
cal <sid>h('MatchParen' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
|
||||
cal <sid>h('Pmenu' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
|
||||
cal <sid>h('Visual' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
|
||||
|
||||
" selected menu item
|
||||
cal <sid>h('PmenuSel' , s:g0 , s:g5 , s:t0 , s:t5 , 'none' , '' )
|
||||
cal <sid>h('WildMenu' , s:g0 , s:g6 , s:t0 , s:t6 , 'none' , '' )
|
||||
|
||||
" solid lines
|
||||
cal <sid>h('PmenuSbar' , s:g1 , s:g1 , s:t1 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('PmenuThumb' , s:g4 , s:g4 , s:t4 , s:t4 , 'none' , '' )
|
||||
cal <sid>h('VertSplit' , s:g2 , s:g2 , s:t2 , s:t2 , 'none' , '' )
|
||||
|
||||
|
||||
"=== ALERT/SYNTAX HIGHLIGHTING ================================================
|
||||
|
||||
" RED for warning elements
|
||||
cal <sid>h('DiffDelete' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' )
|
||||
cal <sid>h('Error' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' )
|
||||
cal <sid>h('ErrorMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' )
|
||||
cal <sid>h('SpellBad' , '' , '' , s:t0 , s:t8 , 'undercurl' , s:g8)
|
||||
cal <sid>h('TooLong' , s:g8 , '' , s:t8 , '' , 'none' , '' )
|
||||
cal <sid>h('WarningMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' )
|
||||
|
||||
" ORANGE for preliminary elements
|
||||
cal <sid>h('Define' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('IncSearch' , s:g9 , s:g0 , s:t9 , s:t0 , 'reverse' , '' )
|
||||
cal <sid>h('Include' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('Macro' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('PreCondit' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('PreProc' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('SpellCap' , '' , '' , s:t0 , s:t9 , 'undercurl' , s:g9)
|
||||
cal <sid>h('Title' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
|
||||
" YELLOW for highlighted elements
|
||||
cal <sid>h('DiffText' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
|
||||
cal <sid>h('Search' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
|
||||
cal <sid>h('Todo' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
|
||||
|
||||
" GREEN for action elements
|
||||
cal <sid>h('Conditional' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('DiffAdd' , s:gB , s:g0 , s:tB , s:t0 , 'reverse' , '' )
|
||||
cal <sid>h('Exception' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Keyword' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Label' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('ModeMsg' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('MoreMsg' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Operator' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Question' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Repeat' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Statement' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
|
||||
" TEAL for object types
|
||||
cal <sid>h('SpellLocal' , '' , '' , s:t0 , s:tC , 'undercurl' , s:gC)
|
||||
cal <sid>h('StorageClass' , s:gC , '' , s:tC , '' , 'none' , '' )
|
||||
cal <sid>h('Structure' , s:gC , '' , s:tC , '' , 'none' , '' )
|
||||
cal <sid>h('Type' , s:gC , '' , s:tC , '' , 'none' , '' )
|
||||
cal <sid>h('Typedef' , s:gC , '' , s:tC , '' , 'none' , '' )
|
||||
|
||||
" BLUE for constants
|
||||
cal <sid>h('Boolean' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('Character' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('Constant' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('Float' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('Number' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('String' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
|
||||
" PURPLE for special text
|
||||
cal <sid>h('Debug' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('Delimiter' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('Special' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('SpecialChar' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('SpecialComment' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('SpecialKey' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('SpellRare' , '' , '' , s:t0 , s:tE , 'undercurl' , s:gE)
|
||||
cal <sid>h('Tag' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
|
||||
" PINK for object names
|
||||
cal <sid>h('Function' , s:gF , '' , s:tF , '' , 'none' , '' )
|
||||
cal <sid>h('Identifier' , s:gF , '' , s:tF , '' , 'none' , '' )
|
||||
|
||||
|
||||
"=== OPTIONS ==================================================================
|
||||
|
||||
" disable highlighted CursorLineNr
|
||||
if exists('g:forgotten_light_CursorLineNr')
|
||||
if g:forgotten_light_CursorLineNr == 'off'
|
||||
cal <sid>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 <sid>h('CursorLineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' )
|
||||
cal <sid>h('LineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' )
|
||||
endif
|
||||
endif
|
||||
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -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 <script>
|
||||
hi javaScript guifg=#a5c5b5 guibg=NONE gui=none
|
||||
|
||||
" htmldjango
|
||||
hi DjangoBlock guifg=#20ba50 gui=none
|
||||
hi link djangoTagBlock DjangoBlock
|
||||
hi link djangoVarBlock DjangoBlock
|
||||
hi link djangoFilter SpecialChar
|
||||
|
||||
hi markdownUrl guifg=#0087ff gui=underline ctermfg=33 cterm=underline
|
||||
|
||||
" mail
|
||||
hi link mailHeader Comment
|
||||
hi link mailSubject Constant
|
||||
hi link mailURL CommentURL
|
||||
hi link mailEmail PreCondit
|
||||
hi mailSubject ctermfg=226 guifg=#ffff00
|
||||
hi mailQuoted1 ctermfg=189 guifg=#d7d7ff
|
||||
hi mailQuoted2 ctermfg=194 guifg=#d7ffd7
|
||||
hi mailQuoted3 ctermfg=105 guifg=#8787ff
|
||||
hi mailQuoted4 ctermfg=120 guifg=#87ff87
|
||||
hi mailQuoted5 ctermfg=62 guifg=#5f5fd7
|
||||
hi mailQuoted6 ctermfg=77 guifg=#5fd75f
|
||||
hi link mailSignature Comment
|
||||
|
||||
|
||||
" Plugins ####################################################################
|
||||
|
||||
" https://github.com/kien/ctrlp.vim
|
||||
hi CtrlPMatch guifg=#000000 guibg=#f8cf00 gui=none
|
||||
|
||||
" https://github.com/scrooloose/nerdtree
|
||||
hi NERDTreeDir guifg=#5d8fbe ctermfg=67
|
||||
hi link NERDTreeDirSlash NERDTreeDir
|
||||
hi link NERDTreeOpenable NERDTreeDir
|
||||
hi NERDTreeClosable guifg=#66b600 guibg=#385038 gui=bold ctermfg=70 ctermbg=22 cterm=bold
|
||||
hi NERDTreePart guifg=#707070 ctermfg=243
|
||||
hi NERDTreePartFile guifg=#FFFFFF gui=bold ctermfg=231 cterm=bold
|
||||
hi NERDTreeLinkFile guifg=#ffaf00 ctermfg=214
|
||||
hi NERDTreeLinkDir guifg=#ffaf00 ctermfg=214
|
||||
|
||||
" https://github.com/majutsushi/tagbar
|
||||
hi link TagbarSignature Comment
|
||||
hi TagbarScope guifg=#0087d7 gui=bold ctermfg=32 cterm=bold
|
||||
hi TagbarType guifg=#66b600 gui=bold ctermfg=70 cterm=bold
|
||||
hi TagbarKind guifg=#7ad6ff ctermfg=117
|
||||
|
||||
" https://github.com/justinmk/vim-sneak
|
||||
hi SneakPluginTarget guibg=#ff5f00 guifg=#ffff00 ctermbg=202 ctermfg=226
|
||||
hi link SneakPluginScope Visual
|
||||
|
||||
" https://github.com/rhysd/clever-f.vim
|
||||
hi CleverFDefaultLabel guibg=#5fd700 guifg=#404040 gui=bold ctermbg=76 ctermfg=238 cterm=bold
|
||||
|
||||
" https://github.com/mhinz/vim-startify
|
||||
hi StartifyBracket guifg=#0087d7 guibg=#303030 gui=bold ctermfg=32 ctermbg=236 cterm=bold
|
||||
hi StartifyFile guifg=#00afff ctermfg=39
|
||||
hi StartifyHeader guifg=#00afff ctermfg=39
|
||||
hi link StartifyFooter StartifyHeader
|
||||
hi StartifyNumber ctermfg=215 guifg=#00d700 guibg=#303030 gui=bold ctermfg=40 ctermbg=236 cterm=bold
|
||||
hi StartifyPath guifg=#949494 ctermfg=246
|
||||
hi StartifySlash guifg=#dadada ctermfg=253
|
||||
hi StartifySpecial guifg=#b2b2b2 guibg=#606060 ctermfg=249 ctermbg=241
|
||||
|
||||
" https://github.com/davidhalter/jedi-vim
|
||||
hi jediFunction guibg=#303030 guifg=#767676 ctermbg=236 ctermfg=243
|
||||
hi jediFat guibg=#303030 guifg=#afd700 gui=bold ctermbg=236 ctermfg=148 cterm=bold
|
||||
|
||||
" https://github.com/tomtom/quickfixsigns_vim
|
||||
if g:kalisi_recolor_quickfixsigns == 1
|
||||
hi QFSignsMark guifg=#ffc63f guibg=#202020 gui=bold ctermfg=220 ctermbg=234 cterm=bold
|
||||
hi QFSignsDiffAdd guifg=#108f4f guibg=#324832 ctermfg=35 ctermbg=22
|
||||
hi QFSignsDiffChange guifg=#336fdf guibg=#20385f ctermfg=27 ctermbg=17
|
||||
hi QFSignsDiffDelete guifg=#d75f5f guibg=#872222 ctermfg=167 ctermbg=88
|
||||
let g:quickfixsigns#marks#texthl = "QFSignsMark"
|
||||
let g:quickfixsigns#vcsdiff#highlight = {'DEL': 'QFSignsDiffDelete', 'ADD': 'QFSignsDiffAdd', 'CHANGE': 'QFSignsDiffChange'}
|
||||
endif
|
||||
|
||||
" 256 Color Terminal (dark) ##################################################
|
||||
if &t_Co > 255
|
||||
hi Normal ctermbg=238 ctermfg=252
|
||||
hi CursorLine ctermbg=239 term=none cterm=none
|
||||
hi CursorColumn ctermbg=239
|
||||
hi NonText ctermbg=237 ctermfg=102
|
||||
hi Conceal ctermbg=237 ctermfg=230
|
||||
hi Comment ctermfg=245
|
||||
hi CommentURL cterm=underline ctermfg=68
|
||||
hi CommentEmail cterm=underline ctermfg=68
|
||||
hi Constant cterm=bold ctermfg=214
|
||||
hi String ctermfg=220
|
||||
hi Character ctermfg=171
|
||||
hi Number ctermfg=214
|
||||
hi Boolean ctermfg=149
|
||||
hi Float ctermfg=227
|
||||
hi Identifier ctermfg=37 cterm=none
|
||||
hi Function ctermfg=117
|
||||
hi Statement cterm=bold ctermfg=149
|
||||
hi Conditional cterm=bold ctermfg=110
|
||||
hi Repeat cterm=bold ctermfg=110
|
||||
hi Label cterm=bold ctermfg=35
|
||||
hi Operator ctermfg=67
|
||||
hi Keyword ctermfg=158
|
||||
hi Exception cterm=bold ctermfg=32
|
||||
hi PreProc cterm=bold ctermfg=33
|
||||
hi Include cterm=bold ctermfg=33
|
||||
hi Define cterm=bold ctermfg=33
|
||||
hi Macro ctermfg=140
|
||||
hi PreCondit ctermfg=110
|
||||
hi Type ctermfg=67
|
||||
hi StorageClass ctermfg=71 cterm=none
|
||||
hi Structure ctermfg=67
|
||||
hi Typedef ctermfg=72
|
||||
hi Special ctermfg=194 cterm=none
|
||||
hi SpecialChar ctermfg=69 cterm=none
|
||||
hi Tag cterm=bold ctermfg=39
|
||||
hi Delimiter ctermfg=104
|
||||
hi SpecialComment cterm=bold ctermfg=67
|
||||
hi Debug cterm=bold ctermfg=184
|
||||
hi Underlined cterm=underline ctermfg=249
|
||||
hi Todo cterm=bold ctermbg=94 ctermfg=227
|
||||
hi Directory cterm=bold ctermfg=252
|
||||
hi DiffAdd ctermbg=22
|
||||
hi DiffChange ctermbg=239
|
||||
hi DiffText cterm=bold ctermbg=18 ctermfg=254
|
||||
hi DiffDelete cterm=none ctermbg=237 ctermfg=238
|
||||
hi SpellBad cterm=undercurl ctermfg=203 ctermbg=none
|
||||
hi SpellCap cterm=undercurl ctermfg=33 ctermbg=none
|
||||
hi SpellLocal cterm=undercurl ctermfg=51 ctermbg=none
|
||||
hi SpellRare cterm=undercurl ctermfg=205 ctermbg=none
|
||||
hi Search cterm=bold ctermbg=148 ctermfg=16
|
||||
hi IncSearch cterm=reverse ctermbg=16 ctermfg=220
|
||||
hi Error cterm=underline ctermbg=52 ctermfg=217
|
||||
hi ErrorMsg cterm=bold ctermbg=88 ctermfg=224
|
||||
hi WarningMsg ctermfg=221
|
||||
hi WildMenu ctermbg=148 ctermfg=16
|
||||
hi Question ctermbg=148 ctermfg=16
|
||||
hi MoreMsg ctermbg=148 ctermfg=16
|
||||
hi ModeMsg cterm=bold ctermbg=148 ctermfg=16
|
||||
hi Cursor ctermbg=160 ctermfg=231
|
||||
hi CursorLineNr cterm=bold ctermbg=52 ctermfg=252
|
||||
hi MatchParen ctermbg=112 ctermfg=234
|
||||
hi Visual ctermbg=24
|
||||
hi VisualNOS ctermbg=239
|
||||
hi Pmenu ctermbg=236 ctermfg=249
|
||||
hi PmenuSel ctermbg=148 ctermfg=235
|
||||
hi PmenuSbar ctermbg=247
|
||||
hi PmenuThumb ctermbg=240
|
||||
hi SignColumn ctermbg=236 ctermfg=148
|
||||
hi FoldColumn cterm=bold ctermbg=236 ctermfg=145
|
||||
hi Folded ctermbg=236 ctermfg=243
|
||||
hi LineNr ctermbg=236 ctermfg=244
|
||||
hi StatusLine ctermbg=235 ctermfg=230 term=NONE cterm=NONE
|
||||
hi StatusLineNC ctermbg=236 ctermfg=244 term=NONE cterm=NONE
|
||||
hi VertSplit ctermbg=235 ctermfg=234
|
||||
hi Title cterm=bold ctermfg=252
|
||||
hi TabLine ctermbg=22 ctermfg=148 cterm=none
|
||||
hi TabLineSel ctermbg=148 ctermfg=22 cterm=none
|
||||
hi TabLineFill ctermbg=247 ctermfg=236 cterm=none
|
||||
hi PythonOperator ctermfg=110
|
||||
hi pythonDocstring ctermfg=67
|
||||
hi pythonDoctest ctermfg=97
|
||||
hi javaScript ctermfg=151
|
||||
hi DjangoBlock ctermfg=35 cterm=none
|
||||
hi CtrlPMatch ctermbg=220 ctermfg=16
|
||||
" for the reason behind this, see
|
||||
" https://github.com/tomasr/molokai/issues/22
|
||||
set background=dark
|
||||
endif
|
||||
else
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Light
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
hi clear
|
||||
let g:colors_name = "kalisi"
|
||||
|
||||
hi Normal guifg=#000000 guibg=#f5f7f5 gui=NONE
|
||||
|
||||
" Syntax ####################################################################
|
||||
|
||||
hi Comment guifg=#70a0d0 guibg=NONE gui=NONE
|
||||
hi CommentURL guifg=#70a0ff guibg=NONE gui=underline
|
||||
hi CommentEmail guifg=#70a0ff guibg=NONE gui=underline
|
||||
hi SpecialComment guifg=#6090c0 gui=bold
|
||||
|
||||
hi Constant guifg=#0000af guibg=NONE gui=bold
|
||||
hi String guifg=#0060a0 guibg=NONE
|
||||
hi Character guifg=#9054c7 guibg=NONE gui=bold
|
||||
hi Number guifg=#0070c0 guibg=NONE
|
||||
hi Boolean guifg=#66b600 guibg=NONE gui=none
|
||||
hi Float guifg=#00a0a0 guibg=NONE
|
||||
|
||||
hi Identifier guifg=#202090 guibg=NONE gui=none
|
||||
hi Function guifg=#1177dd gui=none
|
||||
|
||||
hi Statement guifg=#66b600 guibg=NONE gui=bold
|
||||
hi Conditional guifg=#1177dd guibg=NONE gui=bold
|
||||
hi Repeat guifg=#1177dd guibg=NONE gui=bold
|
||||
hi Label guifg=#007700 gui=bold
|
||||
hi Operator guifg=#274aac guibg=NONE gui=none
|
||||
hi Exception guifg=#005090 guibg=NONE gui=bold
|
||||
|
||||
hi PreProc guifg=#d80050 guibg=NONE gui=bold
|
||||
hi Include guifg=#d80050 guibg=NONE gui=bold
|
||||
hi Define guifg=#d80050 guibg=NONE gui=bold
|
||||
hi Macro guifg=#d80000 guibg=NONE gui=bold
|
||||
hi PreCondit guifg=#1177dd gui=none
|
||||
|
||||
hi Type guifg=#f47300 guibg=NONE gui=none
|
||||
|
||||
hi StorageClass guifg=#0000d7 gui=italic
|
||||
hi Structure guifg=#274aac guibg=NONE gui=none
|
||||
hi Typedef guifg=#274aac gui=italic
|
||||
|
||||
hi Special guifg=#ffaf00 guibg=NONE gui=bold
|
||||
hi SpecialChar guifg=#F92672 gui=bold
|
||||
hi SpecialKey guifg=#9e9e9e guibg=#e4e4e4 ctermfg=247 ctermbg=254
|
||||
hi Tag guifg=#0010ff gui=bold
|
||||
hi Delimiter guifg=#d80050 guibg=NONE gui=none
|
||||
hi Debug guifg=#ddb800 guibg=NONE gui=bold
|
||||
|
||||
hi Underlined guifg=#202020 guibg=NONE gui=underline
|
||||
|
||||
hi Error guifg=#d80000 guibg=#d8d0d0 gui=bold,underline
|
||||
hi ErrorMsg guifg=#d80000 guibg=#d8d0d0 gui=bold
|
||||
|
||||
|
||||
" Misc syntax ###############################################################
|
||||
"
|
||||
hi Todo guifg=#000000 guibg=#ffff00 gui=bold
|
||||
|
||||
hi Directory guifg=#0060a0 guibg=NONE gui=bold
|
||||
" html: special keywords in jscript: window log
|
||||
hi Keyword guifg=#66b600 gui=none
|
||||
hi Title guifg=#1060a0 guibg=NONE gui=bold
|
||||
hi NonText guifg=#000000 guibg=#e6e6e6 gui=none
|
||||
|
||||
hi Conceal guifg=#303030 guibg=#e0e8e0
|
||||
|
||||
hi DiffAdd guibg=#ddffdd
|
||||
hi DiffChange guibg=#e8e8e8
|
||||
hi DiffText guifg=#000055 guibg=#ddddff
|
||||
hi DiffDelete guifg=#eecccc guibg=#ffdddd
|
||||
|
||||
hi SpellBad guisp=#d80000 gui=undercurl
|
||||
hi SpellCap guisp=#274aac gui=undercurl
|
||||
hi SpellLocal guisp=#006600 gui=undercurl
|
||||
hi SpellRare guisp=#555555 gui=undercurl
|
||||
|
||||
" User interface ############################################################
|
||||
|
||||
hi Visual guibg=#d0eeff gui=NONE
|
||||
hi VisualNOS guibg=#d8d8d8 gui=none
|
||||
|
||||
hi Cursor guifg=#ffffff guibg=#ff0000 gui=NONE
|
||||
hi CursorLineNr guifg=#e0e0e0 guibg=#c9c4c4 gui=bold
|
||||
hi Cursorline guibg=#eaeaea
|
||||
hi CursorColumn guibg=#eaeaea
|
||||
hi MatchParen guifg=#ffffff guibg=#ffd030 gui=none
|
||||
|
||||
hi Search guifg=#000000 guibg=#b8ea00 gui=bold
|
||||
hi IncSearch guifg=#f8cf00 guibg=#000000
|
||||
|
||||
hi LineNr guifg=#707070 guibg=#e0e0e0 gui=NONE
|
||||
|
||||
hi StatusLine guifg=#e0e0e0 guibg=#707070 gui=NONE
|
||||
hi StatusLineNC guifg=#e0e0e0 guibg=#a0a0a0 gui=NONE
|
||||
hi VertSplit guifg=#a0a0a0 guibg=#a0a0a0 gui=NONE
|
||||
hi Folded guifg=#707070 guibg=#e8e8e8 gui=NONE
|
||||
hi FoldColumn guifg=#707070 guibg=#b0b0b0 gui=bold
|
||||
|
||||
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 WarningMsg guifg=#d82020 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
|
||||
|
||||
hi SignColumn guifg=#A6E22E guibg=#c9c4c4
|
||||
|
||||
hi Pmenu guifg=#000000 guibg=#e8e8e8 gui=NONE
|
||||
hi PmenuSel guifg=#000000 guibg=#A6DB29 gui=bold
|
||||
hi PmenuSbar guibg=#a0a0a0
|
||||
hi PmenuThumb guibg=#555555
|
||||
|
||||
|
||||
" Language Specific ##########################################################
|
||||
|
||||
" Python (non-default syntax file)
|
||||
hi PythonOperator guifg=#0167dd gui=none
|
||||
hi pythonDocstring guifg=#004B84 guibg=NONE gui=none
|
||||
hi pythonDoctest guifg=#0000af
|
||||
hi link pythonDocTest pythonDoctest
|
||||
hi link pythonDocTest2 pythonDoctest
|
||||
" C
|
||||
hi cType guifg=#66b600 ctermfg=70
|
||||
hi link javaType cType
|
||||
hi link TexType Function
|
||||
|
||||
" Embedded inside HTML <script>
|
||||
hi javaScript guifg=#486050 guibg=NONE gui=none
|
||||
|
||||
" htmldjango
|
||||
hi DjangoBlock guifg=#005f00 gui=bold
|
||||
hi link djangoTagBlock DjangoBlock
|
||||
hi link djangoVarBlock DjangoBlock
|
||||
hi link djangoFilter Typedef
|
||||
|
||||
hi markdownUrl guifg=#005faf gui=underline ctermfg=25 cterm=underline
|
||||
|
||||
hi link mailHeader Comment
|
||||
hi link mailSubject Constant
|
||||
hi link mailURL CommentURL
|
||||
hi link mailEmail Identifier
|
||||
hi mailQuoted1 ctermfg=17 guifg=#00005f
|
||||
hi mailQuoted2 ctermfg=22 guifg=#005f00
|
||||
hi mailQuoted3 ctermfg=19 guifg=#0000af
|
||||
hi mailQuoted4 ctermfg=34 guifg=#00af00
|
||||
hi mailQuoted5 ctermfg=21 guifg=#0000ff
|
||||
hi mailQuoted6 ctermfg=71 guifg=#5faf5f
|
||||
hi mailQuoted7 ctermfg=21 guifg=#5f5faf
|
||||
hi mailQuoted8 ctermfg=101 guifg=#87875f
|
||||
hi mailSignature ctermfg=209 guifg=#ff0000
|
||||
|
||||
|
||||
" Plugins ####################################################################
|
||||
|
||||
" https://github.com/kien/ctrlp.vim
|
||||
hi link CtrlPMatch Search
|
||||
|
||||
" https://github.com/scrooloose/nerdtree
|
||||
hi NERDTreeDir guifg=#0087d7 gui=bold ctermfg=32 cterm=bold
|
||||
hi link NERDTreeDirSlash NERDTreeDir
|
||||
hi link NERDTreeOpenable NERDTreeDir
|
||||
hi NERDTreeClosable guifg=#008700 guibg=#5fd75f gui=bold ctermfg=28 ctermbg=77 cterm=bold
|
||||
hi NERDTreePart guifg=#c0c0c0 ctermfg=250
|
||||
hi NERDTreePartFile guifg=#000000 gui=bold ctermfg=16 cterm=bold
|
||||
hi NERDTreeLinkFile guifg=#ffaf00 ctermfg=214
|
||||
hi NERDTreeLinkDir guifg=#ffaf00 ctermfg=214
|
||||
|
||||
" https://github.com/majutsushi/tagbar
|
||||
hi link TagbarSignature Comment
|
||||
hi TagbarScope guifg=#0087d7 gui=bold ctermfg=32 cterm=bold
|
||||
hi TagbarType guifg=#66b600 gui=bold ctermfg=70 cterm=bold
|
||||
hi TagbarKind guifg=#0000ff ctermfg=21
|
||||
|
||||
" https://github.com/justinmk/vim-sneak
|
||||
hi SneakPluginTarget guibg=#ffaf00 guifg=#ffff00 gui=bold ctermbg=214 ctermfg=226 cterm=bold
|
||||
hi link SneakPluginScope Visual
|
||||
|
||||
" https://github.com/rhysd/clever-f.vim
|
||||
hi CleverFDefaultLabel guibg=#ffd700 guifg=#000000 gui=bold ctermbg=220 ctermfg=16 cterm=bold
|
||||
|
||||
" https://github.com/mhinz/vim-startify
|
||||
hi StartifyBracket guifg=#00d7ff guibg=#005f87 gui=bold ctermfg=45 ctermbg=24 cterm=bold
|
||||
hi StartifyFile guifg=#005fd7 ctermfg=26
|
||||
hi StartifyHeader guifg=#005fd7 ctermfg=26
|
||||
hi link StartifyFooter StartifyHeader
|
||||
hi StartifyNumber ctermfg=215 guifg=#00ff00 guibg=#005f87 gui=bold ctermfg=46 ctermbg=24 cterm=bold
|
||||
hi StartifyPath guifg=#878787 ctermfg=242
|
||||
hi StartifySlash guifg=#000000 ctermfg=16
|
||||
hi StartifySpecial guifg=#666666 guibg=#d7d7d7 ctermfg=242 ctermbg=252
|
||||
|
||||
" https://github.com/davidhalter/jedi-vim
|
||||
hi jediFunction guibg=#878787 guifg=#f0f0f0 ctermbg=244 ctermfg=255
|
||||
hi jediFat guibg=#878787 guifg=#afd700 gui=bold ctermbg=244 ctermfg=148 cterm=bold
|
||||
|
||||
" https://github.com/tomtom/quickfixsigns_vim
|
||||
if g:kalisi_recolor_quickfixsigns == 1
|
||||
hi QFSignsMark guifg=#005faf guibg=#a0a0a0 gui=bold ctermfg=25 ctermbg=247 cterm=bold
|
||||
hi QFSignsDiffAdd guifg=#008700 guibg=#5fd75f ctermfg=28 ctermbg=77
|
||||
hi QFSignsDiffChange guifg=#5f5fd7 guibg=#afafff ctermfg=62 ctermbg=147
|
||||
hi QFSignsDiffDelete guifg=#ff5f00 guibg=#ffafaf ctermfg=202 ctermbg=217
|
||||
let g:quickfixsigns#marks#texthl = "QFSignsMark"
|
||||
let g:quickfixsigns#vcsdiff#highlight = {'DEL': 'QFSignsDiffDelete', 'ADD': 'QFSignsDiffAdd', 'CHANGE': 'QFSignsDiffChange'}
|
||||
endif
|
||||
|
||||
" 256 Color Terminal (light) ################################################
|
||||
if &t_Co > 255
|
||||
hi Normal ctermbg=255 ctermfg=16
|
||||
hi Comment ctermfg=110
|
||||
hi CommentURL cterm=underline ctermfg=75
|
||||
hi CommentEmail cterm=underline ctermfg=75
|
||||
hi SpecialComment cterm=bold ctermfg=67
|
||||
hi Constant cterm=bold ctermfg=19
|
||||
hi String ctermfg=24
|
||||
hi Character ctermfg=98 cterm=bold
|
||||
hi Number ctermfg=25
|
||||
hi Boolean ctermfg=70
|
||||
hi Float ctermfg=36
|
||||
hi Identifier ctermfg=18
|
||||
hi Function ctermfg=32
|
||||
hi Statement cterm=bold ctermfg=70
|
||||
hi Conditional cterm=bold ctermfg=32
|
||||
hi Repeat cterm=bold ctermfg=32
|
||||
hi Label cterm=bold ctermfg=28
|
||||
hi Operator ctermfg=25
|
||||
hi Exception cterm=bold ctermfg=24
|
||||
hi PreProc cterm=bold ctermfg=161
|
||||
hi Include cterm=bold ctermfg=161
|
||||
hi Define ctermfg=161
|
||||
hi Macro cterm=bold ctermfg=160
|
||||
hi PreCondit ctermfg=32
|
||||
hi Type ctermfg=202
|
||||
hi StorageClass cterm=none ctermfg=20
|
||||
hi Structure ctermfg=25
|
||||
hi Typedef ctermfg=25
|
||||
hi Special cterm=bold ctermfg=214
|
||||
hi SpecialChar cterm=bold ctermfg=197
|
||||
hi Tag cterm=bold ctermfg=21
|
||||
hi Delimiter ctermfg=161
|
||||
hi Debug cterm=bold ctermfg=178
|
||||
hi Underlined cterm=underline ctermfg=234
|
||||
hi Error cterm=underline ctermbg=252 ctermfg=160
|
||||
hi ErrorMsg cterm=bold ctermbg=188 ctermfg=160
|
||||
hi Todo cterm=bold ctermbg=226 ctermfg=16
|
||||
hi Directory cterm=bold ctermfg=25
|
||||
hi Keyword ctermfg=70
|
||||
hi Title cterm=bold ctermfg=25
|
||||
hi NonText ctermbg=253 ctermfg=16
|
||||
hi Conceal ctermbg=253 ctermfg=236
|
||||
hi DiffAdd ctermbg=194
|
||||
hi DiffChange ctermbg=254
|
||||
hi DiffText cterm=bold ctermbg=189 ctermfg=17
|
||||
hi DiffDelete cterm=bold ctermbg=224 ctermfg=252
|
||||
hi SpellBad cterm=undercurl ctermfg=196
|
||||
hi SpellCap cterm=undercurl ctermfg=20
|
||||
hi SpellLocal cterm=undercurl ctermfg=28
|
||||
hi SpellRare cterm=undercurl ctermfg=240
|
||||
hi Visual ctermbg=153
|
||||
hi VisualNOS ctermbg=253
|
||||
hi Cursor ctermbg=196 ctermfg=231
|
||||
hi CursorLineNr cterm=bold ctermbg=251 ctermfg=254
|
||||
hi CursorLine ctermbg=254 cterm=none
|
||||
hi CursorColumn ctermbg=254
|
||||
hi MatchParen ctermbg=221 ctermfg=231
|
||||
hi Search cterm=bold ctermbg=148 ctermfg=16
|
||||
hi IncSearch cterm=reverse ctermbg=16 ctermfg=220
|
||||
hi LineNr ctermbg=253 ctermfg=242
|
||||
hi StatusLine ctermfg=254 ctermbg=242 term=NONE cterm=NONE
|
||||
hi StatusLineNC ctermbg=247 ctermfg=254 term=NONE cterm=NONE
|
||||
hi VertSplit ctermbg=247 ctermfg=247
|
||||
hi Folded ctermbg=254 ctermfg=242
|
||||
hi FoldColumn cterm=bold ctermbg=145 ctermfg=242
|
||||
hi WildMenu ctermbg=148 ctermfg=16
|
||||
hi Question ctermbg=148 ctermfg=16
|
||||
hi MoreMsg ctermbg=148 ctermfg=16
|
||||
hi ModeMsg cterm=bold ctermbg=148 ctermfg=16
|
||||
hi WarningMsg cterm=bold ctermfg=160
|
||||
hi TabLine ctermbg=22 ctermfg=148 cterm=none
|
||||
hi TabLineSel ctermbg=148 ctermfg=22 cterm=none
|
||||
hi TabLineFill ctermbg=247 ctermfg=236 cterm=none
|
||||
hi SignColumn ctermbg=251 ctermfg=148
|
||||
hi Pmenu ctermbg=254 ctermfg=16
|
||||
hi PmenuSel cterm=bold ctermbg=148 ctermfg=16
|
||||
hi PmenuSbar ctermbg=247
|
||||
hi PmenuThumb ctermbg=240
|
||||
hi PythonOperator ctermfg=26
|
||||
hi pythonDocstring ctermfg=24
|
||||
hi pythonDoctest ctermfg=19
|
||||
hi javaScript ctermfg=59
|
||||
hi DjangoBlock cterm=bold ctermfg=22
|
||||
endif
|
||||
endif
|
||||
|
|
@ -1,109 +0,0 @@
|
|||
" Vim color file
|
||||
" Converted from Textmate theme Monokai using Coloration v0.3.2 (http://github.com/sickill/coloration)
|
||||
|
||||
set background=dark
|
||||
highlight clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
set t_Co=256
|
||||
let g:colors_name = "monokai"
|
||||
|
||||
hi Cursor ctermfg=235 ctermbg=231 cterm=NONE guifg=#272822 guibg=#f8f8f0 gui=NONE
|
||||
hi Visual ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#49483e gui=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||
hi ColorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||
hi LineNr ctermfg=102 ctermbg=237 cterm=NONE guifg=#90908a guibg=#3c3d37 gui=NONE
|
||||
hi VertSplit ctermfg=241 ctermbg=241 cterm=NONE guifg=#64645e guibg=#64645e gui=NONE
|
||||
hi MatchParen ctermfg=197 ctermbg=NONE cterm=underline guifg=#f92672 guibg=NONE gui=underline
|
||||
hi StatusLine ctermfg=231 ctermbg=241 cterm=bold guifg=#f8f8f2 guibg=#64645e gui=bold
|
||||
hi StatusLineNC ctermfg=231 ctermbg=241 cterm=NONE guifg=#f8f8f2 guibg=#64645e gui=NONE
|
||||
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#49483e gui=NONE
|
||||
hi IncSearch ctermfg=235 ctermbg=186 cterm=NONE guifg=#272822 guibg=#e6db74 gui=NONE
|
||||
hi Search ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
|
||||
hi Directory ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Folded ctermfg=242 ctermbg=235 cterm=NONE guifg=#75715e guibg=#272822 gui=NONE
|
||||
hi SignColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||
hi Normal ctermfg=231 ctermbg=235 cterm=NONE guifg=#f8f8f2 guibg=#272822 gui=NONE
|
||||
hi Boolean ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Character ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Comment ctermfg=242 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
|
||||
hi Conditional ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi Define ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold guifg=#f8f8f2 guibg=#46830c gui=bold
|
||||
hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE guifg=#8b0807 guibg=NONE gui=NONE
|
||||
hi DiffChange ctermfg=NONE ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=#243955 gui=NONE
|
||||
hi DiffText ctermfg=231 ctermbg=24 cterm=bold guifg=#f8f8f2 guibg=#204a87 gui=bold
|
||||
hi ErrorMsg ctermfg=231 ctermbg=197 cterm=NONE guifg=#f8f8f0 guibg=#f92672 gui=NONE
|
||||
hi WarningMsg ctermfg=231 ctermbg=197 cterm=NONE guifg=#f8f8f0 guibg=#f92672 gui=NONE
|
||||
hi Float ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Function ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi Identifier ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi Keyword ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Label ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi NonText ctermfg=59 ctermbg=236 cterm=NONE guifg=#49483e guibg=#31322c gui=NONE
|
||||
hi Number ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi Operator ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi PreProc ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Special ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=NONE gui=NONE
|
||||
hi SpecialComment ctermfg=242 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
|
||||
hi SpecialKey ctermfg=59 ctermbg=237 cterm=NONE guifg=#49483e guibg=#3c3d37 gui=NONE
|
||||
hi Statement ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi StorageClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi String ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi Tag ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#f8f8f2 guibg=NONE gui=bold
|
||||
hi Todo ctermfg=95 ctermbg=NONE cterm=inverse,bold guifg=#75715e guibg=NONE gui=inverse,bold
|
||||
hi Type ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
|
||||
hi rubyClass ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyFunction ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubySymbol ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi rubyConstant ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi rubyStringDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyBlockParameter ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||
hi rubyInstanceVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyInclude ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyGlobalVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyRegexp ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyRegexpDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi rubyEscape ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi rubyControl ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyClassVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyOperator ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyException ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi rubyPseudoVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubyRailsUserClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi rubyRailsARAssociationMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsARMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsRenderMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi rubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi erubyComment ctermfg=95 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
|
||||
hi erubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi htmlTag ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi htmlEndTag ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi htmlTagName ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlArg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlSpecialChar ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi javaScriptFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||
hi javaScriptRailsFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi javaScriptBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlKey ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||
hi yamlAnchor ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlAlias ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi yamlDocumentHeader ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||
hi cssURL ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||
hi cssFunctionName ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssColor ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi cssPseudoClassId ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssClassName ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||
hi cssValueLength ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||
hi cssCommonAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||
hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
" Vim color file
|
||||
" Name: Moody
|
||||
" Date: Tuesday, June 27, 2017
|
||||
" Author: Jak Wings <jakwings@gmail.com>
|
||||
" Credits: Thanks to http://bytefluent.com/vivify/
|
||||
|
||||
set background=dark
|
||||
|
||||
if version > 580
|
||||
hi clear
|
||||
if exists('syntax_on')
|
||||
syntax reset
|
||||
endif
|
||||
endif
|
||||
|
||||
let g:colors_name = 'moody'
|
||||
|
||||
hi Boolean guifg=#afaf87 guibg=NONE guisp=NONE gui=NONE ctermfg=144 ctermbg=NONE cterm=NONE
|
||||
hi Character guifg=#afaf87 guibg=NONE guisp=NONE gui=NONE ctermfg=144 ctermbg=NONE cterm=NONE
|
||||
hi ColorColumn guifg=#d7d7af guibg=#1c1c1c guisp=NONE gui=NONE ctermfg=187 ctermbg=234 cterm=NONE
|
||||
hi Comment guifg=#4e4e4e guibg=NONE guisp=NONE gui=NONE ctermfg=239 ctermbg=NONE cterm=NONE
|
||||
hi Conceal guifg=#d78700 guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE
|
||||
hi Conditional guifg=#87afd7 guibg=NONE guisp=NONE gui=NONE ctermfg=110 ctermbg=NONE cterm=NONE
|
||||
hi Constant guifg=#afaf87 guibg=NONE guisp=NONE gui=NONE ctermfg=144 ctermbg=NONE cterm=NONE
|
||||
hi Cursor guifg=#080808 guibg=#afd75f guisp=#afd75f gui=NONE ctermfg=232 ctermbg=149 cterm=NONE
|
||||
hi CursorColumn guifg=#d7d7af guibg=#1c1c1c guisp=NONE gui=NONE ctermfg=187 ctermbg=234 cterm=NONE
|
||||
hi CursorLine guifg=#d7d7af guibg=#1c1c1c guisp=NONE gui=NONE ctermfg=187 ctermbg=234 cterm=NONE
|
||||
hi CursorLineNr guifg=#bcbcbc guibg=#121212 guisp=NONE gui=NONE ctermfg=250 ctermbg=233 cterm=NONE
|
||||
hi Debug guifg=#878787 guibg=NONE guisp=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
|
||||
hi Define guifg=#87af87 guibg=NONE guisp=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
hi Delimiter guifg=#878787 guibg=NONE guisp=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
|
||||
hi DiffAdd guifg=#e4e4e4 guibg=#5faf5f guisp=#5faf5f gui=NONE ctermfg=254 ctermbg=71 cterm=NONE
|
||||
hi DiffChange guifg=#262626 guibg=#d7d787 guisp=#d7d787 gui=NONE ctermfg=238 ctermbg=186 cterm=NONE
|
||||
hi DiffDelete guifg=#e4e4e4 guibg=#ff8787 guisp=#ff8787 gui=NONE ctermfg=254 ctermbg=210 cterm=NONE
|
||||
hi DiffText guifg=#121212 guibg=#d7d787 guisp=#d7d787 gui=bold ctermfg=233 ctermbg=186 cterm=bold
|
||||
hi Directory guifg=#87af87 guibg=NONE guisp=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
hi EndOfBuffer guifg=#444444 guibg=#121212 guisp=NONE gui=NONE ctermfg=238 ctermbg=233 cterm=NONE
|
||||
hi Error guifg=#ffafaf guibg=#5f0000 guisp=NONE gui=NONE ctermfg=217 ctermbg=52 cterm=NONE
|
||||
hi ErrorMsg guifg=#af0000 guibg=NONE guisp=NONE gui=NONE ctermfg=124 ctermbg=NONE cterm=NONE
|
||||
hi Exception guifg=#87afd7 guibg=NONE guisp=NONE gui=NONE ctermfg=110 ctermbg=NONE cterm=NONE
|
||||
hi Float guifg=#afaf87 guibg=NONE guisp=NONE gui=NONE ctermfg=144 ctermbg=NONE cterm=NONE
|
||||
hi FoldColumn guifg=#87afaf guibg=#080808 guisp=NONE gui=NONE ctermfg=109 ctermbg=232 cterm=NONE
|
||||
hi Folded guifg=#87afaf guibg=#080808 guisp=#080808 gui=NONE ctermfg=109 ctermbg=232 cterm=NONE
|
||||
hi Function guifg=#5faf87 guibg=NONE guisp=NONE gui=NONE ctermfg=72 ctermbg=NONE cterm=NONE
|
||||
hi Identifier guifg=#afd7af guibg=NONE guisp=NONE gui=NONE ctermfg=151 ctermbg=NONE cterm=NONE
|
||||
hi Ignore guifg=NONE guibg=NONE guisp=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi IncSearch guifg=#1c1c1c guibg=#ffffaf guisp=#ffffaf gui=NONE ctermfg=234 ctermbg=229 cterm=NONE
|
||||
hi Include guifg=#87af87 guibg=NONE guisp=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
hi Keyword guifg=#87afd7 guibg=NONE guisp=NONE gui=NONE ctermfg=110 ctermbg=NONE cterm=NONE
|
||||
hi Label guifg=#87afd7 guibg=NONE guisp=NONE gui=NONE ctermfg=110 ctermbg=NONE cterm=NONE
|
||||
hi LineNr guifg=#444444 guibg=#121212 guisp=NONE gui=NONE ctermfg=238 ctermbg=233 cterm=NONE
|
||||
hi Macro guifg=#87af87 guibg=NONE guisp=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
hi MatchParen guifg=#afd787 guibg=#1c1c1c guisp=#1c1c1c gui=bold ctermfg=150 ctermbg=234 cterm=bold
|
||||
hi ModeMsg guifg=#d78700 guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE
|
||||
hi MoreMsg guifg=#87d7d7 guibg=NONE guisp=NONE gui=NONE ctermfg=116 ctermbg=NONE cterm=NONE
|
||||
hi NonText guifg=#444444 guibg=NONE guisp=NONE gui=NONE ctermfg=238 ctermbg=NONE cterm=NONE
|
||||
hi Normal guifg=#c6c6c6 guibg=#121212 guisp=NONE gui=NONE ctermfg=251 ctermbg=233 cterm=NONE
|
||||
hi Number guifg=#afaf87 guibg=NONE guisp=NONE gui=NONE ctermfg=144 ctermbg=NONE cterm=NONE
|
||||
hi Operator guifg=#87afd7 guibg=NONE guisp=NONE gui=NONE ctermfg=110 ctermbg=NONE cterm=NONE
|
||||
hi Pmenu guifg=#afaf5f guibg=#3a3a3a guisp=NONE gui=NONE ctermfg=143 ctermbg=237 cterm=NONE
|
||||
hi PmenuSbar guifg=NONE guibg=#1c1c1c guisp=NONE gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE
|
||||
hi PmenuSel guifg=#ffffd7 guibg=#303030 guisp=NONE gui=NONE ctermfg=230 ctermbg=236 cterm=NONE
|
||||
hi PmenuThumb guifg=NONE guibg=#87875f guisp=NONE gui=NONE ctermfg=NONE ctermbg=101 cterm=NONE
|
||||
hi PreCondit guifg=#87af87 guibg=NONE guisp=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
hi PreProc guifg=#87af87 guibg=NONE guisp=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
hi Question guifg=#e4e4e4 guibg=NONE guisp=NONE gui=bold ctermfg=254 ctermbg=NONE cterm=bold
|
||||
hi Repeat guifg=#87afd7 guibg=NONE guisp=NONE gui=NONE ctermfg=110 ctermbg=NONE cterm=NONE
|
||||
hi Search guifg=#444444 guibg=#ffffd7 guisp=#ffffd7 gui=NONE ctermfg=238 ctermbg=230 cterm=NONE
|
||||
hi SignColumn guifg=#87afaf guibg=#080808 guisp=NONE gui=NONE ctermfg=109 ctermbg=232 cterm=NONE
|
||||
hi Special guifg=#878787 guibg=NONE guisp=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
|
||||
hi SpecialChar guifg=#878787 guibg=NONE guisp=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
|
||||
hi SpecialComment guifg=#878787 guibg=NONE guisp=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
|
||||
hi SpecialKey guifg=#d78700 guibg=NONE guisp=NONE gui=NONE ctermfg=172 ctermbg=NONE cterm=NONE
|
||||
hi SpellBad guifg=NONE guibg=NONE guisp=#d70000 gui=undercurl ctermfg=160 ctermbg=189 cterm=underline
|
||||
hi SpellCap guifg=NONE guibg=NONE guisp=#005fff gui=undercurl ctermfg=20 ctermbg=189 cterm=underline
|
||||
hi SpellLocal guifg=NONE guibg=NONE guisp=#ffafaf gui=undercurl ctermfg=166 ctermbg=189 cterm=underline
|
||||
hi SpellRare guifg=NONE guibg=NONE guisp=#606060 gui=undercurl ctermfg=245 ctermbg=189 cterm=underline
|
||||
hi Statement guifg=#87afd7 guibg=NONE guisp=NONE gui=NONE ctermfg=110 ctermbg=NONE cterm=NONE
|
||||
hi StatusLine guifg=#bcbcbc guibg=#262626 guisp=NONE gui=NONE ctermfg=250 ctermbg=235 cterm=NONE
|
||||
hi StatusLineNC guifg=#9e9e9e guibg=#262626 guisp=NONE gui=NONE ctermfg=247 ctermbg=235 cterm=NONE
|
||||
hi StorageClass guifg=#87d7d7 guibg=NONE guisp=NONE gui=NONE ctermfg=116 ctermbg=NONE cterm=NONE
|
||||
hi String guifg=#afaf87 guibg=NONE guisp=NONE gui=NONE ctermfg=144 ctermbg=NONE cterm=NONE
|
||||
hi Structure guifg=#87d7d7 guibg=NONE guisp=NONE gui=NONE ctermfg=116 ctermbg=NONE cterm=NONE
|
||||
hi TabLine guifg=#303030 guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=236 ctermbg=248 cterm=NONE
|
||||
hi TabLineFill guifg=NONE guibg=#a8a8a8 guisp=NONE gui=NONE ctermfg=NONE ctermbg=248 cterm=NONE
|
||||
hi TabLineSel guifg=#e4e4e4 guibg=#666666 guisp=NONE gui=bold ctermfg=254 ctermbg=242 cterm=bold
|
||||
hi Tag guifg=#878787 guibg=NONE guisp=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
|
||||
hi Title guifg=NONE guibg=NONE guisp=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=bold
|
||||
hi Todo guifg=#080808 guibg=#d7af00 guisp=NONE gui=NONE ctermfg=232 ctermbg=178 cterm=NONE
|
||||
hi Type guifg=#87d7d7 guibg=NONE guisp=NONE gui=NONE ctermfg=116 ctermbg=NONE cterm=NONE
|
||||
hi Typedef guifg=#87d7d7 guibg=NONE guisp=NONE gui=NONE ctermfg=116 ctermbg=NONE cterm=NONE
|
||||
hi Underlined guifg=NONE guibg=NONE guisp=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
hi VertSplit guifg=#262626 guibg=#262626 guisp=NONE gui=NONE ctermfg=235 ctermbg=235 cterm=NONE
|
||||
hi Visual guifg=#080808 guibg=#ffffaf guisp=#ffffaf gui=NONE ctermfg=232 ctermbg=229 cterm=NONE
|
||||
hi VisualNOS guifg=#080808 guibg=#d7d7af guisp=#d7d7af gui=NONE ctermfg=232 ctermbg=187 cterm=NONE
|
||||
hi WarningMsg guifg=#ff8787 guibg=NONE guisp=NONE gui=NONE ctermfg=210 ctermbg=NONE cterm=NONE
|
||||
hi WildMenu guifg=#d7d75f guibg=#262626 guisp=NONE gui=NONE ctermfg=185 ctermbg=235 cterm=NONE
|
||||
|
|
@ -1,833 +0,0 @@
|
|||
" Name: one vim colorscheme
|
||||
" Author: Ramzi Akremi
|
||||
" License: MIT
|
||||
" Version: 1.1.1-pre
|
||||
|
||||
" Global setup =============================================================={{{
|
||||
|
||||
if exists("*<SID>X")
|
||||
delf <SID>X
|
||||
delf <SID>rgb
|
||||
delf <SID>color
|
||||
delf <SID>rgb_color
|
||||
delf <SID>rgb_level
|
||||
delf <SID>rgb_number
|
||||
delf <SID>grey_color
|
||||
delf <SID>grey_level
|
||||
delf <SID>grey_number
|
||||
endif
|
||||
|
||||
hi clear
|
||||
syntax reset
|
||||
if exists('g:colors_name')
|
||||
unlet g:colors_name
|
||||
endif
|
||||
let g:colors_name = 'one'
|
||||
|
||||
if !exists('g:one_allow_italics')
|
||||
let g:one_allow_italics = 0
|
||||
endif
|
||||
|
||||
if has('gui_running') || &t_Co == 88 || &t_Co == 256
|
||||
" functions
|
||||
" returns an approximate grey index for the given grey level
|
||||
|
||||
" Utility functions -------------------------------------------------------{{{
|
||||
fun <SID>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 <SID>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 <SID>grey_color(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 color index for the given color level
|
||||
fun <SID>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 color level for the given color index
|
||||
fun <SID>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 color indices
|
||||
fun <SID>rgb_color(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 color levels
|
||||
fun <SID>color(r, g, b)
|
||||
" get the closest grey
|
||||
let l:gx = <SID>grey_number(a:r)
|
||||
let l:gy = <SID>grey_number(a:g)
|
||||
let l:gz = <SID>grey_number(a:b)
|
||||
|
||||
" get the closest color
|
||||
let l:x = <SID>rgb_number(a:r)
|
||||
let l:y = <SID>rgb_number(a:g)
|
||||
let l:z = <SID>rgb_number(a:b)
|
||||
|
||||
if l:gx == l:gy && l:gy == l:gz
|
||||
" there are two possibilities
|
||||
let l:dgr = <SID>grey_level(l:gx) - a:r
|
||||
let l:dgg = <SID>grey_level(l:gy) - a:g
|
||||
let l:dgb = <SID>grey_level(l:gz) - a:b
|
||||
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
|
||||
let l:dr = <SID>rgb_level(l:gx) - a:r
|
||||
let l:dg = <SID>rgb_level(l:gy) - a:g
|
||||
let l:db = <SID>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 <SID>grey_color(l:gx)
|
||||
else
|
||||
" use the color
|
||||
return <SID>rgb_color(l:x, l:y, l:z)
|
||||
endif
|
||||
else
|
||||
" only one possibility
|
||||
return <SID>rgb_color(l:x, l:y, l:z)
|
||||
endif
|
||||
endfun
|
||||
|
||||
" returns the palette index to approximate the 'rrggbb' hex string
|
||||
fun <SID>rgb(rgb)
|
||||
let l:r = ('0x' . strpart(a:rgb, 0, 2)) + 0
|
||||
let l:g = ('0x' . strpart(a:rgb, 2, 2)) + 0
|
||||
let l:b = ('0x' . strpart(a:rgb, 4, 2)) + 0
|
||||
|
||||
return <SID>color(l:r, l:g, l:b)
|
||||
endfun
|
||||
|
||||
" sets the highlighting for the given group
|
||||
fun <sid>X(group, fg, bg, attr)
|
||||
let l:attr = a:attr
|
||||
if g:one_allow_italics == 0 && l:attr ==? 'italic'
|
||||
let l:attr= 'none'
|
||||
endif
|
||||
|
||||
let l:bg = ""
|
||||
let l:fg = ""
|
||||
let l:decoration = ""
|
||||
|
||||
if a:bg != ''
|
||||
let l:bg = " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
|
||||
endif
|
||||
|
||||
if a:fg != ''
|
||||
let l:fg = " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
|
||||
endif
|
||||
|
||||
if a:attr != ''
|
||||
let l:decoration = " gui=" . l:attr . " cterm=" . l:attr
|
||||
endif
|
||||
|
||||
let l:exec = l:fg . l:bg . l:decoration
|
||||
|
||||
if l:exec != ''
|
||||
exec "hi " . a:group . l:exec
|
||||
endif
|
||||
|
||||
endfun
|
||||
|
||||
"}}}
|
||||
|
||||
|
||||
" Color definition --------------------------------------------------------{{{
|
||||
if &background ==# 'dark'
|
||||
let s:mono_1 = 'abb2bf'
|
||||
let s:mono_2 = '828997'
|
||||
let s:mono_3 = '5c6370'
|
||||
let s:mono_4 = '4b5263'
|
||||
|
||||
let s:hue_1 = '56b6c2' " cyan
|
||||
let s:hue_2 = '61afef' " blue
|
||||
let s:hue_3 = 'c678dd' " purple
|
||||
let s:hue_4 = '98c379' " green
|
||||
|
||||
let s:hue_5 = 'e06c75' " red 1
|
||||
let s:hue_5_2 = 'be5046' " red 2
|
||||
|
||||
let s:hue_6 = 'd19a66' " orange 1
|
||||
let s:hue_6_2 = 'e5c07b' " orange 2
|
||||
|
||||
let s:syntax_bg = '282c34'
|
||||
let s:syntax_gutter = '636d83'
|
||||
let s:syntax_cursor = '2c323c'
|
||||
|
||||
let s:syntax_accent = '528bff'
|
||||
|
||||
let s:vertsplit = '181a1f'
|
||||
let s:special_grey = '3b4048'
|
||||
let s:visual_grey = '3e4452'
|
||||
let s:pmenu = '333841'
|
||||
else
|
||||
let s:mono_1 = '494b53'
|
||||
let s:mono_2 = '696c77'
|
||||
let s:mono_3 = 'a0a1a7'
|
||||
let s:mono_4 = 'c2c2c3'
|
||||
|
||||
let s:hue_1 = '0184bc' " cyan
|
||||
let s:hue_2 = '4078f2' " blue
|
||||
let s:hue_3 = 'a626a4' " purple
|
||||
let s:hue_4 = '50a14f' " green
|
||||
|
||||
let s:hue_5 = 'e45649' " red 1
|
||||
let s:hue_5_2 = 'ca1243' " red 2
|
||||
|
||||
let s:hue_6 = '986801' " orange 1
|
||||
let s:hue_6_2 = 'c18401' " orange 2
|
||||
|
||||
let s:syntax_bg = 'fafafa'
|
||||
let s:syntax_gutter = '9e9e9e'
|
||||
let s:syntax_cursor = 'f0f0f0'
|
||||
|
||||
let s:syntax_accent = '526fff'
|
||||
let s:syntax_accent_2 = '0083be'
|
||||
|
||||
let s:vertsplit = 'e7e9e1'
|
||||
let s:special_grey = 'd3d3d3'
|
||||
let s:visual_grey = 'd0d0d0'
|
||||
let s:pmenu = 'dfdfdf'
|
||||
endif
|
||||
|
||||
let s:syntax_fg = s:mono_1
|
||||
let s:syntax_fold_bg = s:mono_3
|
||||
|
||||
"}}}
|
||||
|
||||
" Vim editor color --------------------------------------------------------{{{
|
||||
call <sid>X('Normal', s:syntax_fg, s:syntax_bg, '')
|
||||
call <sid>X('bold', '', '', 'bold')
|
||||
call <sid>X('ColorColumn', '', s:syntax_cursor, '')
|
||||
call <sid>X('Conceal', s:mono_4, s:syntax_bg, '')
|
||||
call <sid>X('Cursor', '', s:syntax_accent, '')
|
||||
call <sid>X('CursorIM', '', '', '')
|
||||
call <sid>X('CursorColumn', '', s:syntax_cursor, '')
|
||||
call <sid>X('CursorLine', '', s:syntax_cursor, 'none')
|
||||
call <sid>X('Directory', s:hue_2, '', '')
|
||||
call <sid>X('ErrorMsg', s:hue_5, s:syntax_bg, 'none')
|
||||
call <sid>X('VertSplit', s:vertsplit, '', 'none')
|
||||
call <sid>X('Folded', s:syntax_bg, s:syntax_fold_bg, 'none')
|
||||
call <sid>X('FoldColumn', s:mono_3, s:syntax_cursor, '')
|
||||
call <sid>X('IncSearch', s:hue_6, '', '')
|
||||
call <sid>X('LineNr', s:mono_4, '', '')
|
||||
call <sid>X('CursorLineNr', s:syntax_fg, s:syntax_cursor, 'none')
|
||||
call <sid>X('MatchParen', s:hue_5, s:syntax_cursor, 'underline,bold')
|
||||
call <sid>X('Italic', '', '', 'italic')
|
||||
call <sid>X('ModeMsg', s:syntax_fg, '', '')
|
||||
call <sid>X('MoreMsg', s:syntax_fg, '', '')
|
||||
call <sid>X('NonText', s:mono_3, '', 'none')
|
||||
call <sid>X('PMenu', '', s:pmenu, '')
|
||||
call <sid>X('PMenuSel', '', s:mono_4, '')
|
||||
call <sid>X('PMenuSbar', '', s:syntax_bg, '')
|
||||
call <sid>X('PMenuThumb', '', s:mono_1, '')
|
||||
call <sid>X('Question', s:hue_2, '', '')
|
||||
call <sid>X('Search', s:syntax_bg, s:hue_6_2, '')
|
||||
call <sid>X('SpecialKey', s:special_grey, '', 'none')
|
||||
call <sid>X('Whitespace', s:special_grey, '', 'none')
|
||||
call <sid>X('StatusLine', s:syntax_fg, s:syntax_cursor, 'none')
|
||||
call <sid>X('StatusLineNC', s:mono_3, '', '')
|
||||
call <sid>X('TabLine', s:mono_1, s:syntax_bg, '')
|
||||
call <sid>X('TabLineFill', s:mono_3, s:visual_grey, 'none')
|
||||
call <sid>X('TabLineSel', s:syntax_bg, s:hue_2, '')
|
||||
call <sid>X('Title', s:syntax_fg, '', 'bold')
|
||||
call <sid>X('Visual', '', s:visual_grey, '')
|
||||
call <sid>X('VisualNOS', '', s:visual_grey, '')
|
||||
call <sid>X('WarningMsg', s:hue_5, '', '')
|
||||
call <sid>X('TooLong', s:hue_5, '', '')
|
||||
call <sid>X('WildMenu', s:syntax_fg, s:mono_3, '')
|
||||
call <sid>X('SignColumn', '', s:syntax_bg, '')
|
||||
call <sid>X('Special', s:hue_2, '', '')
|
||||
" }}}
|
||||
|
||||
" Vim Help highlighting ---------------------------------------------------{{{
|
||||
call <sid>X('helpCommand', s:hue_6_2, '', '')
|
||||
call <sid>X('helpExample', s:hue_6_2, '', '')
|
||||
call <sid>X('helpHeader', s:mono_1, '', 'bold')
|
||||
call <sid>X('helpSectionDelim', s:mono_3, '', '')
|
||||
" }}}
|
||||
|
||||
" Standard syntax highlighting --------------------------------------------{{{
|
||||
call <sid>X('Comment', s:mono_3, '', 'italic')
|
||||
call <sid>X('Constant', s:hue_4, '', '')
|
||||
call <sid>X('String', s:hue_4, '', '')
|
||||
call <sid>X('Character', s:hue_4, '', '')
|
||||
call <sid>X('Number', s:hue_6, '', '')
|
||||
call <sid>X('Boolean', s:hue_6, '', '')
|
||||
call <sid>X('Float', s:hue_6, '', '')
|
||||
call <sid>X('Identifier', s:hue_5, '', 'none')
|
||||
call <sid>X('Function', s:hue_2, '', '')
|
||||
call <sid>X('Statement', s:hue_3, '', 'none')
|
||||
call <sid>X('Conditional', s:hue_3, '', '')
|
||||
call <sid>X('Repeat', s:hue_3, '', '')
|
||||
call <sid>X('Label', s:hue_3, '', '')
|
||||
call <sid>X('Operator', s:syntax_accent, '', 'none')
|
||||
call <sid>X('Keyword', s:hue_5, '', '')
|
||||
call <sid>X('Exception', s:hue_3, '', '')
|
||||
call <sid>X('PreProc', s:hue_6_2, '', '')
|
||||
call <sid>X('Include', s:hue_2, '', '')
|
||||
call <sid>X('Define', s:hue_3, '', 'none')
|
||||
call <sid>X('Macro', s:hue_3, '', '')
|
||||
call <sid>X('PreCondit', s:hue_6_2, '', '')
|
||||
call <sid>X('Type', s:hue_6_2, '', 'none')
|
||||
call <sid>X('StorageClass', s:hue_6_2, '', '')
|
||||
call <sid>X('Structure', s:hue_6_2, '', '')
|
||||
call <sid>X('Typedef', s:hue_6_2, '', '')
|
||||
call <sid>X('Special', s:hue_2, '', '')
|
||||
call <sid>X('SpecialChar', '', '', '')
|
||||
call <sid>X('Tag', '', '', '')
|
||||
call <sid>X('Delimiter', '', '', '')
|
||||
call <sid>X('SpecialComment', '', '', '')
|
||||
call <sid>X('Debug', '', '', '')
|
||||
call <sid>X('Underlined', '', '', 'underline')
|
||||
call <sid>X('Ignore', '', '', '')
|
||||
call <sid>X('Error', s:hue_5, s:syntax_bg, 'bold')
|
||||
call <sid>X('Todo', s:hue_3, s:syntax_bg, '')
|
||||
" }}}
|
||||
|
||||
" Diff highlighting -------------------------------------------------------{{{
|
||||
call <sid>X('DiffAdd', s:hue_4, s:visual_grey, '')
|
||||
call <sid>X('DiffChange', s:hue_6, s:visual_grey, '')
|
||||
call <sid>X('DiffDelete', s:hue_5, s:visual_grey, '')
|
||||
call <sid>X('DiffText', s:hue_2, s:visual_grey, '')
|
||||
call <sid>X('DiffAdded', s:hue_4, s:visual_grey, '')
|
||||
call <sid>X('DiffFile', s:hue_5, s:visual_grey, '')
|
||||
call <sid>X('DiffNewFile', s:hue_4, s:visual_grey, '')
|
||||
call <sid>X('DiffLine', s:hue_2, s:visual_grey, '')
|
||||
call <sid>X('DiffRemoved', s:hue_5, s:visual_grey, '')
|
||||
" }}}
|
||||
|
||||
" Asciidoc highlighting ---------------------------------------------------{{{
|
||||
call <sid>X('asciidocListingBlock', s:mono_2, '', '')
|
||||
" }}}
|
||||
|
||||
" C/C++ highlighting ------------------------------------------------------{{{
|
||||
call <sid>X('cInclude', s:hue_3, '', '')
|
||||
call <sid>X('cPreCondit', s:hue_3, '', '')
|
||||
call <sid>X('cPreConditMatch', s:hue_3, '', '')
|
||||
|
||||
call <sid>X('cType', s:hue_3, '', '')
|
||||
call <sid>X('cStorageClass', s:hue_3, '', '')
|
||||
call <sid>X('cStructure', s:hue_3, '', '')
|
||||
call <sid>X('cOperator', s:hue_3, '', '')
|
||||
call <sid>X('cStatement', s:hue_3, '', '')
|
||||
call <sid>X('cTODO', s:hue_3, '', '')
|
||||
call <sid>X('cConstant', s:hue_6, '', '')
|
||||
call <sid>X('cSpecial', s:hue_1, '', '')
|
||||
call <sid>X('cSpecialCharacter', s:hue_1, '', '')
|
||||
call <sid>X('cString', s:hue_4, '', '')
|
||||
|
||||
call <sid>X('cppType', s:hue_3, '', '')
|
||||
call <sid>X('cppStorageClass', s:hue_3, '', '')
|
||||
call <sid>X('cppStructure', s:hue_3, '', '')
|
||||
call <sid>X('cppModifier', s:hue_3, '', '')
|
||||
call <sid>X('cppOperator', s:hue_3, '', '')
|
||||
call <sid>X('cppAccess', s:hue_3, '', '')
|
||||
call <sid>X('cppStatement', s:hue_3, '', '')
|
||||
call <sid>X('cppConstant', s:hue_5, '', '')
|
||||
call <sid>X('cCppString', s:hue_4, '', '')
|
||||
" }}}
|
||||
|
||||
" Cucumber highlighting ---------------------------------------------------{{{
|
||||
call <sid>X('cucumberGiven', s:hue_2, '', '')
|
||||
call <sid>X('cucumberWhen', s:hue_2, '', '')
|
||||
call <sid>X('cucumberWhenAnd', s:hue_2, '', '')
|
||||
call <sid>X('cucumberThen', s:hue_2, '', '')
|
||||
call <sid>X('cucumberThenAnd', s:hue_2, '', '')
|
||||
call <sid>X('cucumberUnparsed', s:hue_6, '', '')
|
||||
call <sid>X('cucumberFeature', s:hue_5, '', 'bold')
|
||||
call <sid>X('cucumberBackground', s:hue_3, '', 'bold')
|
||||
call <sid>X('cucumberScenario', s:hue_3, '', 'bold')
|
||||
call <sid>X('cucumberScenarioOutline', s:hue_3, '', 'bold')
|
||||
call <sid>X('cucumberTags', s:mono_3, '', 'bold')
|
||||
call <sid>X('cucumberDelimiter', s:mono_3, '', 'bold')
|
||||
" }}}
|
||||
|
||||
" CSS/Sass highlighting ---------------------------------------------------{{{
|
||||
call <sid>X('cssAttrComma', s:hue_3, '', '')
|
||||
call <sid>X('cssAttributeSelector', s:hue_4, '', '')
|
||||
call <sid>X('cssBraces', s:mono_2, '', '')
|
||||
call <sid>X('cssClassName', s:hue_6, '', '')
|
||||
call <sid>X('cssClassNameDot', s:hue_6, '', '')
|
||||
call <sid>X('cssDefinition', s:hue_3, '', '')
|
||||
call <sid>X('cssFontAttr', s:hue_6, '', '')
|
||||
call <sid>X('cssFontDescriptor', s:hue_3, '', '')
|
||||
call <sid>X('cssFunctionName', s:hue_2, '', '')
|
||||
call <sid>X('cssIdentifier', s:hue_2, '', '')
|
||||
call <sid>X('cssImportant', s:hue_3, '', '')
|
||||
call <sid>X('cssInclude', s:mono_1, '', '')
|
||||
call <sid>X('cssIncludeKeyword', s:hue_3, '', '')
|
||||
call <sid>X('cssMediaType', s:hue_6, '', '')
|
||||
call <sid>X('cssProp', s:hue_1, '', '')
|
||||
call <sid>X('cssPseudoClassId', s:hue_6, '', '')
|
||||
call <sid>X('cssSelectorOp', s:hue_3, '', '')
|
||||
call <sid>X('cssSelectorOp2', s:hue_3, '', '')
|
||||
call <sid>X('cssStringQ', s:hue_4, '', '')
|
||||
call <sid>X('cssStringQQ', s:hue_4, '', '')
|
||||
call <sid>X('cssTagName', s:hue_5, '', '')
|
||||
call <sid>X('cssAttr', s:hue_6, '', '')
|
||||
|
||||
call <sid>X('sassAmpersand', s:hue_5, '', '')
|
||||
call <sid>X('sassClass', s:hue_6_2, '', '')
|
||||
call <sid>X('sassControl', s:hue_3, '', '')
|
||||
call <sid>X('sassExtend', s:hue_3, '', '')
|
||||
call <sid>X('sassFor', s:mono_1, '', '')
|
||||
call <sid>X('sassProperty', s:hue_1, '', '')
|
||||
call <sid>X('sassFunction', s:hue_1, '', '')
|
||||
call <sid>X('sassId', s:hue_2, '', '')
|
||||
call <sid>X('sassInclude', s:hue_3, '', '')
|
||||
call <sid>X('sassMedia', s:hue_3, '', '')
|
||||
call <sid>X('sassMediaOperators', s:mono_1, '', '')
|
||||
call <sid>X('sassMixin', s:hue_3, '', '')
|
||||
call <sid>X('sassMixinName', s:hue_2, '', '')
|
||||
call <sid>X('sassMixing', s:hue_3, '', '')
|
||||
|
||||
call <sid>X('scssSelectorName', s:hue_6_2, '', '')
|
||||
" }}}
|
||||
|
||||
" Elixir highlighting------------------------------------------------------{{{
|
||||
hi link elixirModuleDefine Define
|
||||
call <sid>X('elixirAlias', s:hue_6_2, '', '')
|
||||
call <sid>X('elixirAtom', s:hue_1, '', '')
|
||||
call <sid>X('elixirBlockDefinition', s:hue_3, '', '')
|
||||
call <sid>X('elixirModuleDeclaration', s:hue_6, '', '')
|
||||
" }}}
|
||||
|
||||
" Git and git related plugins highlighting --------------------------------{{{
|
||||
call <sid>X('gitcommitComment', s:mono_3, '', '')
|
||||
call <sid>X('gitcommitUnmerged', s:hue_4, '', '')
|
||||
call <sid>X('gitcommitOnBranch', '', '', '')
|
||||
call <sid>X('gitcommitBranch', s:hue_3, '', '')
|
||||
call <sid>X('gitcommitDiscardedType', s:hue_5, '', '')
|
||||
call <sid>X('gitcommitSelectedType', s:hue_4, '', '')
|
||||
call <sid>X('gitcommitHeader', '', '', '')
|
||||
call <sid>X('gitcommitUntrackedFile', s:hue_1, '', '')
|
||||
call <sid>X('gitcommitDiscardedFile', s:hue_5, '', '')
|
||||
call <sid>X('gitcommitSelectedFile', s:hue_4, '', '')
|
||||
call <sid>X('gitcommitUnmergedFile', s:hue_6_2, '', '')
|
||||
call <sid>X('gitcommitFile', '', '', '')
|
||||
hi link gitcommitNoBranch gitcommitBranch
|
||||
hi link gitcommitUntracked gitcommitComment
|
||||
hi link gitcommitDiscarded gitcommitComment
|
||||
hi link gitcommitSelected gitcommitComment
|
||||
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
|
||||
hi link gitcommitSelectedArrow gitcommitSelectedFile
|
||||
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
|
||||
|
||||
call <sid>X('SignifySignAdd', s:hue_4, '', '')
|
||||
call <sid>X('SignifySignChange', s:hue_6_2, '', '')
|
||||
call <sid>X('SignifySignDelete', s:hue_5, '', '')
|
||||
hi link GitGutterAdd SignifySignAdd
|
||||
hi link GitGutterChange SignifySignChange
|
||||
hi link GitGutterDelete SignifySignDelete
|
||||
call <sid>X('diffAdded', s:hue_4, '', '')
|
||||
call <sid>X('diffRemoved', s:hue_5, '', '')
|
||||
" }}}
|
||||
|
||||
" Go highlighting ---------------------------------------------------------{{{
|
||||
call <sid>X('goDeclaration', s:hue_3, '', '')
|
||||
call <sid>X('goField', s:hue_5, '', '')
|
||||
call <sid>X('goMethod', s:hue_1, '', '')
|
||||
call <sid>X('goType', s:hue_3, '', '')
|
||||
call <sid>X('goUnsignedInts', s:hue_1, '', '')
|
||||
" }}}
|
||||
|
||||
" HTML highlighting -------------------------------------------------------{{{
|
||||
call <sid>X('htmlArg', s:hue_6, '', '')
|
||||
call <sid>X('htmlTagName', s:hue_5, '', '')
|
||||
call <sid>X('htmlTagN', s:hue_5, '', '')
|
||||
call <sid>X('htmlSpecialTagName', s:hue_5, '', '')
|
||||
call <sid>X('htmlTag', s:mono_2, '', '')
|
||||
call <sid>X('htmlEndTag', s:mono_2, '', '')
|
||||
|
||||
call <sid>X('MatchTag', s:hue_5, s:syntax_cursor, 'underline,bold')
|
||||
" }}}
|
||||
|
||||
" JavaScript highlighting -------------------------------------------------{{{
|
||||
call <sid>X('coffeeString', s:hue_4, '', '')
|
||||
|
||||
call <sid>X('javaScriptBraces', s:mono_2, '', '')
|
||||
call <sid>X('javaScriptFunction', s:hue_3, '', '')
|
||||
call <sid>X('javaScriptIdentifier', s:hue_3, '', '')
|
||||
call <sid>X('javaScriptNull', s:hue_6, '', '')
|
||||
call <sid>X('javaScriptNumber', s:hue_6, '', '')
|
||||
call <sid>X('javaScriptRequire', s:hue_1, '', '')
|
||||
call <sid>X('javaScriptReserved', s:hue_3, '', '')
|
||||
" https://github.com/pangloss/vim-javascript
|
||||
call <sid>X('jsArrowFunction', s:hue_3, '', '')
|
||||
call <sid>X('jsBraces', s:mono_2, '', '')
|
||||
call <sid>X('jsClassBraces', s:mono_2, '', '')
|
||||
call <sid>X('jsClassKeywords', s:hue_3, '', '')
|
||||
call <sid>X('jsDocParam', s:hue_2, '', '')
|
||||
call <sid>X('jsDocTags', s:hue_3, '', '')
|
||||
call <sid>X('jsFuncBraces', s:mono_2, '', '')
|
||||
call <sid>X('jsFuncCall', s:hue_2, '', '')
|
||||
call <sid>X('jsFuncParens', s:mono_2, '', '')
|
||||
call <sid>X('jsFunction', s:hue_3, '', '')
|
||||
call <sid>X('jsGlobalObjects', s:hue_6_2, '', '')
|
||||
call <sid>X('jsModuleWords', s:hue_3, '', '')
|
||||
call <sid>X('jsModules', s:hue_3, '', '')
|
||||
call <sid>X('jsNoise', s:mono_2, '', '')
|
||||
call <sid>X('jsNull', s:hue_6, '', '')
|
||||
call <sid>X('jsOperator', s:hue_3, '', '')
|
||||
call <sid>X('jsParens', s:mono_2, '', '')
|
||||
call <sid>X('jsStorageClass', s:hue_3, '', '')
|
||||
call <sid>X('jsTemplateBraces', s:hue_5_2, '', '')
|
||||
call <sid>X('jsTemplateVar', s:hue_4, '', '')
|
||||
call <sid>X('jsThis', s:hue_5, '', '')
|
||||
call <sid>X('jsUndefined', s:hue_6, '', '')
|
||||
call <sid>X('jsObjectValue', s:hue_2, '', '')
|
||||
call <sid>X('jsObjectKey', s:hue_1, '', '')
|
||||
" https://github.com/othree/yajs.vim
|
||||
call <sid>X('javascriptArrowFunc', s:hue_3, '', '')
|
||||
call <sid>X('javascriptClassExtends', s:hue_3, '', '')
|
||||
call <sid>X('javascriptClassKeyword', s:hue_3, '', '')
|
||||
call <sid>X('javascriptDocNotation', s:hue_3, '', '')
|
||||
call <sid>X('javascriptDocParamName', s:hue_2, '', '')
|
||||
call <sid>X('javascriptDocTags', s:hue_3, '', '')
|
||||
call <sid>X('javascriptEndColons', s:mono_3, '', '')
|
||||
call <sid>X('javascriptExport', s:hue_3, '', '')
|
||||
call <sid>X('javascriptFuncArg', s:mono_1, '', '')
|
||||
call <sid>X('javascriptFuncKeyword', s:hue_3, '', '')
|
||||
call <sid>X('javascriptIdentifier', s:hue_5, '', '')
|
||||
call <sid>X('javascriptImport', s:hue_3, '', '')
|
||||
call <sid>X('javascriptObjectLabel', s:mono_1, '', '')
|
||||
call <sid>X('javascriptOpSymbol', s:hue_1, '', '')
|
||||
call <sid>X('javascriptOpSymbols', s:hue_1, '', '')
|
||||
call <sid>X('javascriptPropertyName', s:hue_4, '', '')
|
||||
call <sid>X('javascriptTemplateSB', s:hue_5_2, '', '')
|
||||
call <sid>X('javascriptVariable', s:hue_3, '', '')
|
||||
" }}}
|
||||
|
||||
" JSON highlighting -------------------------------------------------------{{{
|
||||
call <sid>X('jsonCommentError', s:mono_1, '', '' )
|
||||
call <sid>X('jsonKeyword', s:hue_5, '', '' )
|
||||
call <sid>X('jsonQuote', s:mono_3, '', '' )
|
||||
call <sid>X('jsonTrailingCommaError', s:hue_5, '', 'reverse' )
|
||||
call <sid>X('jsonMissingCommaError', s:hue_5, '', 'reverse' )
|
||||
call <sid>X('jsonNoQuotesError', s:hue_5, '', 'reverse' )
|
||||
call <sid>X('jsonNumError', s:hue_5, '', 'reverse' )
|
||||
call <sid>X('jsonString', s:hue_4, '', '' )
|
||||
call <sid>X('jsonStringSQError', s:hue_5, '', 'reverse' )
|
||||
call <sid>X('jsonSemicolonError', s:hue_5, '', 'reverse' )
|
||||
" }}}
|
||||
|
||||
" Markdown highlighting ---------------------------------------------------{{{
|
||||
call <sid>X('markdownUrl', s:mono_3, '', '')
|
||||
call <sid>X('markdownBold', s:hue_6, '', 'bold')
|
||||
call <sid>X('markdownItalic', s:hue_6, '', 'bold')
|
||||
call <sid>X('markdownCode', s:hue_4, '', '')
|
||||
call <sid>X('markdownCodeBlock', s:hue_5, '', '')
|
||||
call <sid>X('markdownCodeDelimiter', s:hue_4, '', '')
|
||||
call <sid>X('markdownHeadingDelimiter', s:hue_5_2, '', '')
|
||||
call <sid>X('markdownH1', s:hue_5, '', '')
|
||||
call <sid>X('markdownH2', s:hue_5, '', '')
|
||||
call <sid>X('markdownH3', s:hue_5, '', '')
|
||||
call <sid>X('markdownH3', s:hue_5, '', '')
|
||||
call <sid>X('markdownH4', s:hue_5, '', '')
|
||||
call <sid>X('markdownH5', s:hue_5, '', '')
|
||||
call <sid>X('markdownH6', s:hue_5, '', '')
|
||||
call <sid>X('markdownListMarker', s:hue_5, '', '')
|
||||
" }}}
|
||||
|
||||
" PHP highlighting --------------------------------------------------------{{{
|
||||
call <sid>X('phpClass', s:hue_6_2, '', '')
|
||||
call <sid>X('phpFunction', s:hue_2, '', '')
|
||||
call <sid>X('phpFunctions', s:hue_2, '', '')
|
||||
call <sid>X('phpInclude', s:hue_3, '', '')
|
||||
call <sid>X('phpKeyword', s:hue_3, '', '')
|
||||
call <sid>X('phpParent', s:mono_3, '', '')
|
||||
call <sid>X('phpType', s:hue_3, '', '')
|
||||
call <sid>X('phpSuperGlobals', s:hue_5, '', '')
|
||||
" }}}
|
||||
|
||||
" Pug (Formerly Jade) highlighting ----------------------------------------{{{
|
||||
call <sid>X('pugAttributesDelimiter', s:hue_6, '', '')
|
||||
call <sid>X('pugClass', s:hue_6, '', '')
|
||||
call <sid>X('pugDocType', s:mono_3, '', 'italic')
|
||||
call <sid>X('pugTag', s:hue_5, '', '')
|
||||
" }}}
|
||||
|
||||
" PureScript highlighting -------------------------------------------------{{{
|
||||
call <sid>X('purescriptKeyword', s:hue_3, '', '')
|
||||
call <sid>X('purescriptModuleName', s:syntax_fg, '', '')
|
||||
call <sid>X('purescriptIdentifier', s:syntax_fg, '', '')
|
||||
call <sid>X('purescriptType', s:hue_6_2, '', '')
|
||||
call <sid>X('purescriptTypeVar', s:hue_5, '', '')
|
||||
call <sid>X('purescriptConstructor', s:hue_5, '', '')
|
||||
call <sid>X('purescriptOperator', s:syntax_fg, '', '')
|
||||
" }}}
|
||||
|
||||
" Python highlighting -----------------------------------------------------{{{
|
||||
call <sid>X('pythonImport', s:hue_3, '', '')
|
||||
call <sid>X('pythonBuiltin', s:hue_1, '', '')
|
||||
call <sid>X('pythonStatement', s:hue_3, '', '')
|
||||
call <sid>X('pythonParam', s:hue_6, '', '')
|
||||
call <sid>X('pythonEscape', s:hue_5, '', '')
|
||||
call <sid>X('pythonSelf', s:mono_2, '', 'italic')
|
||||
call <sid>X('pythonClass', s:hue_2, '', '')
|
||||
call <sid>X('pythonOperator', s:hue_3, '', '')
|
||||
call <sid>X('pythonEscape', s:hue_5, '', '')
|
||||
call <sid>X('pythonFunction', s:hue_2, '', '')
|
||||
call <sid>X('pythonKeyword', s:hue_2, '', '')
|
||||
call <sid>X('pythonModule', s:hue_3, '', '')
|
||||
call <sid>X('pythonStringDelimiter', s:hue_4, '', '')
|
||||
call <sid>X('pythonSymbol', s:hue_1, '', '')
|
||||
" }}}
|
||||
|
||||
" Ruby highlighting -------------------------------------------------------{{{
|
||||
call <sid>X('rubyBlock', s:hue_3, '', '')
|
||||
call <sid>X('rubyBlockParameter', s:hue_5, '', '')
|
||||
call <sid>X('rubyBlockParameterList', s:hue_5, '', '')
|
||||
call <sid>X('rubyCapitalizedMethod', s:hue_3, '', '')
|
||||
call <sid>X('rubyClass', s:hue_3, '', '')
|
||||
call <sid>X('rubyConstant', s:hue_6_2, '', '')
|
||||
call <sid>X('rubyControl', s:hue_3, '', '')
|
||||
call <sid>X('rubyDefine', s:hue_3, '', '')
|
||||
call <sid>X('rubyEscape', s:hue_5, '', '')
|
||||
call <sid>X('rubyFunction', s:hue_2, '', '')
|
||||
call <sid>X('rubyGlobalVariable', s:hue_5, '', '')
|
||||
call <sid>X('rubyInclude', s:hue_2, '', '')
|
||||
call <sid>X('rubyIncluderubyGlobalVariable', s:hue_5, '', '')
|
||||
call <sid>X('rubyInstanceVariable', s:hue_5, '', '')
|
||||
call <sid>X('rubyInterpolation', s:hue_1, '', '')
|
||||
call <sid>X('rubyInterpolationDelimiter', s:hue_5, '', '')
|
||||
call <sid>X('rubyKeyword', s:hue_2, '', '')
|
||||
call <sid>X('rubyModule', s:hue_3, '', '')
|
||||
call <sid>X('rubyPseudoVariable', s:hue_5, '', '')
|
||||
call <sid>X('rubyRegexp', s:hue_1, '', '')
|
||||
call <sid>X('rubyRegexpDelimiter', s:hue_1, '', '')
|
||||
call <sid>X('rubyStringDelimiter', s:hue_4, '', '')
|
||||
call <sid>X('rubySymbol', s:hue_1, '', '')
|
||||
" }}}
|
||||
|
||||
" Spelling highlighting ---------------------------------------------------{{{
|
||||
call <sid>X('SpellBad', '', s:syntax_bg, 'undercurl')
|
||||
call <sid>X('SpellLocal', '', s:syntax_bg, 'undercurl')
|
||||
call <sid>X('SpellCap', '', s:syntax_bg, 'undercurl')
|
||||
call <sid>X('SpellRare', '', s:syntax_bg, 'undercurl')
|
||||
" }}}
|
||||
|
||||
" Vim highlighting --------------------------------------------------------{{{
|
||||
call <sid>X('vimCommand', s:hue_3, '', '')
|
||||
call <sid>X('vimCommentTitle', s:mono_3, '', 'bold')
|
||||
call <sid>X('vimFunction', s:hue_1, '', '')
|
||||
call <sid>X('vimFuncName', s:hue_3, '', '')
|
||||
call <sid>X('vimHighlight', s:hue_2, '', '')
|
||||
call <sid>X('vimLineComment', s:mono_3, '', 'italic')
|
||||
call <sid>X('vimParenSep', s:mono_2, '', '')
|
||||
call <sid>X('vimSep', s:mono_2, '', '')
|
||||
call <sid>X('vimUserFunc', s:hue_1, '', '')
|
||||
call <sid>X('vimVar', s:hue_5, '', '')
|
||||
" }}}
|
||||
|
||||
" XML highlighting --------------------------------------------------------{{{
|
||||
call <sid>X('xmlAttrib', s:hue_6_2, '', '')
|
||||
call <sid>X('xmlEndTag', s:hue_5, '', '')
|
||||
call <sid>X('xmlTag', s:hue_5, '', '')
|
||||
call <sid>X('xmlTagName', s:hue_5, '', '')
|
||||
" }}}
|
||||
|
||||
" ZSH highlighting --------------------------------------------------------{{{
|
||||
call <sid>X('zshCommands', s:syntax_fg, '', '')
|
||||
call <sid>X('zshDeref', s:hue_5, '', '')
|
||||
call <sid>X('zshShortDeref', s:hue_5, '', '')
|
||||
call <sid>X('zshFunction', s:hue_1, '', '')
|
||||
call <sid>X('zshKeyword', s:hue_3, '', '')
|
||||
call <sid>X('zshSubst', s:hue_5, '', '')
|
||||
call <sid>X('zshSubstDelim', s:mono_3, '', '')
|
||||
call <sid>X('zshTypes', s:hue_3, '', '')
|
||||
call <sid>X('zshVariableDef', s:hue_6, '', '')
|
||||
" }}}
|
||||
|
||||
" Rust highlighting -------------------------------------------------------{{{
|
||||
call <sid>X('rustExternCrate', s:hue_5, '', 'bold')
|
||||
call <sid>X('rustIdentifier', s:hue_2, '', '')
|
||||
call <sid>X('rustDeriveTrait', s:hue_4, '', '')
|
||||
call <sid>X('SpecialComment', s:mono_3, '', '')
|
||||
call <sid>X('rustCommentLine', s:mono_3, '', '')
|
||||
call <sid>X('rustCommentLineDoc', s:mono_3, '', '')
|
||||
call <sid>X('rustCommentLineDocError', s:mono_3, '', '')
|
||||
call <sid>X('rustCommentBlock', s:mono_3, '', '')
|
||||
call <sid>X('rustCommentBlockDoc', s:mono_3, '', '')
|
||||
call <sid>X('rustCommentBlockDocError', s:mono_3, '', '')
|
||||
" }}}
|
||||
|
||||
" man highlighting --------------------------------------------------------{{{
|
||||
hi link manTitle String
|
||||
call <sid>X('manFooter', s:mono_3, '', '')
|
||||
" }}}
|
||||
|
||||
" Neovim Terminal Colors --------------------------------------------------{{{
|
||||
let g:terminal_color_0 = "#353a44"
|
||||
let g:terminal_color_8 = "#353a44"
|
||||
let g:terminal_color_1 = "#e88388"
|
||||
let g:terminal_color_9 = "#e88388"
|
||||
let g:terminal_color_2 = "#a7cc8c"
|
||||
let g:terminal_color_10 = "#a7cc8c"
|
||||
let g:terminal_color_3 = "#ebca8d"
|
||||
let g:terminal_color_11 = "#ebca8d"
|
||||
let g:terminal_color_4 = "#72bef2"
|
||||
let g:terminal_color_12 = "#72bef2"
|
||||
let g:terminal_color_5 = "#d291e4"
|
||||
let g:terminal_color_13 = "#d291e4"
|
||||
let g:terminal_color_6 = "#65c2cd"
|
||||
let g:terminal_color_14 = "#65c2cd"
|
||||
let g:terminal_color_7 = "#e3e5e9"
|
||||
let g:terminal_color_15 = "#e3e5e9"
|
||||
"}}}
|
||||
|
||||
" ALE (Asynchronous Lint Engine) highlighting -----------------------------{{{
|
||||
call <sid>X('ALEWarningSign', s:hue_6_2, '', '')
|
||||
call <sid>X('ALEErrorSign', s:hue_5, '', '')
|
||||
" }}}
|
||||
|
||||
" Delete functions =========================================================={{{
|
||||
" delf <SID>X
|
||||
" delf <SID>rgb
|
||||
" delf <SID>color
|
||||
" delf <SID>rgb_color
|
||||
" delf <SID>rgb_level
|
||||
" delf <SID>rgb_number
|
||||
" delf <SID>grey_color
|
||||
" delf <SID>grey_level
|
||||
" delf <SID>grey_number
|
||||
"}}}
|
||||
|
||||
endif
|
||||
"}}}
|
||||
" Public API --------------------------------------------------------------{{{
|
||||
function! one#highlight(group, fg, bg, attr)
|
||||
call <sid>X(a:group, a:fg, a:bg, a:attr)
|
||||
endfunction
|
||||
"}}}
|
||||
|
||||
" vim: set fdl=0 fdm=marker:
|
||||
|
|
@ -1,262 +0,0 @@
|
|||
" Quantum - A 24-bit Material color scheme for Vim
|
||||
" Author: Brandon Siders
|
||||
" License: MIT
|
||||
|
||||
highlight clear
|
||||
|
||||
if exists('syntax_on')
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
set background=dark
|
||||
let g:colors_name = 'quantum'
|
||||
|
||||
let g:quantum_italics = get(g:, 'quantum_italics', 0)
|
||||
let g:quantum_black = get(g:, 'quantum_black', 0)
|
||||
|
||||
" Color Palette
|
||||
let s:gray1 = g:quantum_black ? '#212121' : '#263238'
|
||||
let s:gray2 = g:quantum_black ? '#292929' : '#2c3a41'
|
||||
let s:gray3 = g:quantum_black ? '#474646' : '#425762'
|
||||
let s:gray4 = g:quantum_black ? '#6a6c6c' : '#658494'
|
||||
let s:gray5 = g:quantum_black ? '#b7bdc0' : '#aebbc5'
|
||||
let s:red = '#dd7186'
|
||||
let s:green = '#87bb7c'
|
||||
let s:yellow = '#d5b875'
|
||||
let s:blue = '#70ace5'
|
||||
let s:purple = '#a48add'
|
||||
let s:cyan = '#69c5ce'
|
||||
let s:orange = '#d7956e'
|
||||
let s:indigo = '#7681de'
|
||||
|
||||
function! s:HL(group, fg, bg, attr)
|
||||
let l:attr = a:attr
|
||||
if !g:quantum_italics && l:attr ==# 'italic'
|
||||
let l:attr = 'none'
|
||||
endif
|
||||
|
||||
if !empty(a:fg)
|
||||
exec 'hi ' . a:group . ' guifg=' . a:fg
|
||||
endif
|
||||
if !empty(a:bg)
|
||||
exec 'hi ' . a:group . ' guibg=' . a:bg
|
||||
endif
|
||||
if !empty(a:attr)
|
||||
exec 'hi ' . a:group . ' gui=' . l:attr . ' cterm=' . l:attr
|
||||
endif
|
||||
endfun
|
||||
|
||||
" Vim Editor
|
||||
call s:HL('ColorColumn', '', s:gray3, '')
|
||||
call s:HL('Cursor', s:gray2, s:gray5, '')
|
||||
call s:HL('CursorColumn', '', s:gray2, '')
|
||||
call s:HL('CursorLine', '', s:gray2, 'none')
|
||||
call s:HL('CursorLineNr', s:cyan, s:gray2, 'none')
|
||||
call s:HL('Directory', s:blue, '', '')
|
||||
call s:HL('DiffAdd', s:green, s:gray2, 'none')
|
||||
call s:HL('DiffChange', s:yellow, s:gray2, 'none')
|
||||
call s:HL('DiffDelete', s:red, s:gray2, 'none')
|
||||
call s:HL('DiffText', s:blue, s:gray2, 'none')
|
||||
call s:HL('ErrorMsg', s:red, s:gray1, 'bold')
|
||||
call s:HL('FoldColumn', s:gray4, s:gray1, '')
|
||||
call s:HL('Folded', s:gray3, s:gray1, '')
|
||||
call s:HL('IncSearch', s:yellow, '', '')
|
||||
call s:HL('LineNr', s:gray3, '', '')
|
||||
call s:HL('MatchParen', s:gray4, s:cyan, 'bold')
|
||||
call s:HL('ModeMsg', s:green, '', '')
|
||||
call s:HL('MoreMsg', s:green, '', '')
|
||||
call s:HL('NonText', s:gray4, '', 'none')
|
||||
call s:HL('Normal', s:gray5, s:gray1, 'none')
|
||||
call s:HL('Pmenu', s:gray5, s:gray3, '')
|
||||
call s:HL('PmenuSbar', '', s:gray2, '')
|
||||
call s:HL('PmenuSel', s:gray2, s:cyan, '')
|
||||
call s:HL('PmenuThumb', '', s:gray4, '')
|
||||
call s:HL('Question', s:blue, '', 'none')
|
||||
call s:HL('Search', s:gray1, s:yellow, '')
|
||||
call s:HL('SignColumn', s:gray5, s:gray1, '')
|
||||
call s:HL('SpecialKey', s:gray4, '', '')
|
||||
call s:HL('SpellCap', s:blue, s:gray2, 'undercurl')
|
||||
call s:HL('SpellBad', s:red, s:gray2, 'undercurl')
|
||||
call s:HL('StatusLine', s:gray5, s:gray3, 'none')
|
||||
call s:HL('StatusLineNC', s:gray2, s:gray4, '')
|
||||
call s:HL('TabLine', s:gray4, s:gray2, 'none')
|
||||
call s:HL('TabLineFill', s:gray4, s:gray2, 'none')
|
||||
call s:HL('TabLineSel', s:yellow, s:gray3, 'none')
|
||||
call s:HL('Title', s:green, '', 'none')
|
||||
call s:HL('VertSplit', s:gray4, s:gray1, 'none')
|
||||
call s:HL('Visual', s:gray5, s:gray3, '')
|
||||
call s:HL('WarningMsg', s:red, '', '')
|
||||
call s:HL('WildMenu', s:gray2, s:cyan, '')
|
||||
|
||||
" Standard Syntax
|
||||
call s:HL('Comment', s:gray4, '', 'italic')
|
||||
call s:HL('Constant', s:orange, '', '')
|
||||
call s:HL('String', s:green, '', '')
|
||||
call s:HL('Character', s:green, '', '')
|
||||
call s:HL('Identifier', s:red, '', 'none')
|
||||
call s:HL('Function', s:blue, '', '')
|
||||
call s:HL('Statement', s:purple, '', 'none')
|
||||
call s:HL('Operator', s:cyan, '', '')
|
||||
call s:HL('PreProc', s:cyan, '', '')
|
||||
call s:HL('Include', s:blue, '', '')
|
||||
call s:HL('Define', s:purple, '', 'none')
|
||||
call s:HL('Macro', s:purple, '', '')
|
||||
call s:HL('Type', s:yellow, '', 'none')
|
||||
call s:HL('Structure', s:cyan, '', '')
|
||||
call s:HL('Special', s:indigo, '', '')
|
||||
call s:HL('Underlined', s:blue, '', 'none')
|
||||
call s:HL('Error', s:red, s:gray1, 'bold')
|
||||
call s:HL('Todo', s:orange, s:gray1, 'bold')
|
||||
|
||||
" CSS
|
||||
call s:HL('cssAttrComma', s:gray5, '', '')
|
||||
call s:HL('cssPseudoClassId', s:yellow, '', '')
|
||||
call s:HL('cssBraces', s:gray5, '', '')
|
||||
call s:HL('cssClassName', s:yellow, '', '')
|
||||
call s:HL('cssClassNameDot', s:yellow, '', '')
|
||||
call s:HL('cssFunctionName', s:blue, '', '')
|
||||
call s:HL('cssImportant', s:cyan, '', '')
|
||||
call s:HL('cssIncludeKeyword', s:purple, '', '')
|
||||
call s:HL('cssTagName', s:red, '', '')
|
||||
call s:HL('cssMediaType', s:orange, '', '')
|
||||
call s:HL('cssProp', s:gray5, '', '')
|
||||
call s:HL('cssSelectorOp', s:cyan, '', '')
|
||||
call s:HL('cssSelectorOp2', s:cyan, '', '')
|
||||
|
||||
" Commit Messages (Git)
|
||||
call s:HL('gitcommitHeader', s:purple, '', '')
|
||||
call s:HL('gitcommitUnmerged', s:green, '', '')
|
||||
call s:HL('gitcommitSelectedFile', s:green, '', '')
|
||||
call s:HL('gitcommitDiscardedFile', s:red, '', '')
|
||||
call s:HL('gitcommitUnmergedFile', s:yellow, '', '')
|
||||
call s:HL('gitcommitSelectedType', s:green, '', '')
|
||||
call s:HL('gitcommitSummary', s:blue, '', '')
|
||||
call s:HL('gitcommitDiscardedType', s:red, '', '')
|
||||
hi link gitcommitNoBranch gitcommitBranch
|
||||
hi link gitcommitUntracked gitcommitComment
|
||||
hi link gitcommitDiscarded gitcommitComment
|
||||
hi link gitcommitSelected gitcommitComment
|
||||
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
|
||||
hi link gitcommitSelectedArrow gitcommitSelectedFile
|
||||
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
|
||||
|
||||
" HTML
|
||||
call s:HL('htmlEndTag', s:blue, '', '')
|
||||
call s:HL('htmlLink', s:red, '', '')
|
||||
call s:HL('htmlTag', s:blue, '', '')
|
||||
call s:HL('htmlTitle', s:gray5, '', '')
|
||||
call s:HL('htmlSpecialTagName', s:purple, '', '')
|
||||
|
||||
" Javascript
|
||||
call s:HL('javaScriptBraces', s:gray5, '', '')
|
||||
call s:HL('javaScriptNull', s:orange, '', '')
|
||||
call s:HL('javaScriptIdentifier', s:purple, '', '')
|
||||
call s:HL('javaScriptNumber', s:orange, '', '')
|
||||
call s:HL('javaScriptRequire', s:cyan, '', '')
|
||||
call s:HL('javaScriptReserved', s:purple, '', '')
|
||||
" pangloss/vim-javascript
|
||||
call s:HL('jsArrowFunction', s:purple, '', '')
|
||||
call s:HL('jsAsyncKeyword', s:purple, '', '')
|
||||
call s:HL('jsExtendsKeyword', s:purple, '', '')
|
||||
call s:HL('jsClassKeyword', s:purple, '', '')
|
||||
call s:HL('jsDocParam', s:green, '', '')
|
||||
call s:HL('jsDocTags', s:cyan, '', '')
|
||||
call s:HL('jsForAwait', s:purple, '', '')
|
||||
call s:HL('jsFlowArgumentDef', s:yellow, '', '')
|
||||
call s:HL('jsFrom', s:purple, '', '')
|
||||
call s:HL('jsImport', s:purple, '', '')
|
||||
call s:HL('jsExport', s:purple, '', '')
|
||||
call s:HL('jsExportDefault', s:purple, '', '')
|
||||
call s:HL('jsFuncCall', s:blue, '', '')
|
||||
call s:HL('jsFunction', s:purple, '', '')
|
||||
call s:HL('jsGlobalObjects', s:yellow, '', '')
|
||||
call s:HL('jsGlobalNodeObjects', s:yellow, '', '')
|
||||
call s:HL('jsModuleAs', s:purple, '', '')
|
||||
call s:HL('jsNull', s:orange, '', '')
|
||||
call s:HL('jsStorageClass', s:purple, '', '')
|
||||
call s:HL('jsTemplateBraces', s:red, '', '')
|
||||
call s:HL('jsTemplateExpression', s:red, '', '')
|
||||
call s:HL('jsThis', s:red, '', '')
|
||||
call s:HL('jsUndefined', s:orange, '', '')
|
||||
|
||||
" JSON
|
||||
call s:HL('jsonBraces', s:gray5, '', '')
|
||||
|
||||
" Less
|
||||
call s:HL('lessAmpersand', s:red, '', '')
|
||||
call s:HL('lessClassChar', s:yellow, '', '')
|
||||
call s:HL('lessCssAttribute', s:gray5, '', '')
|
||||
call s:HL('lessFunction', s:blue, '', '')
|
||||
call s:HL('lessVariable', s:purple, '', '')
|
||||
|
||||
" Markdown
|
||||
call s:HL('markdownBold', s:yellow, '', 'bold')
|
||||
call s:HL('markdownCode', s:cyan, '', '')
|
||||
call s:HL('markdownCodeBlock', s:cyan, '', '')
|
||||
call s:HL('markdownCodeDelimiter', s:cyan, '', '')
|
||||
call s:HL('markdownHeadingDelimiter', s:green, '', '')
|
||||
call s:HL('markdownHeadingRule', s:gray4, '', '')
|
||||
call s:HL('markdownId', s:purple, '', '')
|
||||
call s:HL('markdownItalic', s:blue, '', 'italic')
|
||||
call s:HL('markdownListMarker', s:orange, '', '')
|
||||
call s:HL('markdownOrderedListMarker', s:orange, '', '')
|
||||
call s:HL('markdownRule', s:gray4, '', '')
|
||||
call s:HL('markdownUrl', s:purple, '', '')
|
||||
call s:HL('markdownUrlTitleDelimiter', s:green, '', '')
|
||||
|
||||
" Ruby
|
||||
call s:HL('rubyInterpolation', s:cyan, '', '')
|
||||
call s:HL('rubyInterpolationDelimiter', s:indigo, '', '')
|
||||
call s:HL('rubyRegexp', s:cyan, '', '')
|
||||
call s:HL('rubyRegexpDelimiter', s:indigo, '', '')
|
||||
call s:HL('rubyStringDelimiter', s:green, '', '')
|
||||
|
||||
" Sass
|
||||
call s:HL('sassAmpersand', s:red, '', '')
|
||||
call s:HL('sassClassChar', s:yellow, '', '')
|
||||
call s:HL('sassMixinName', s:blue, '', '')
|
||||
call s:HL('sassVariable', s:purple, '', '')
|
||||
|
||||
" Vim-Fugitive
|
||||
call s:HL('diffAdded', s:green, '', '')
|
||||
call s:HL('diffRemoved', s:red, '', '')
|
||||
|
||||
" Vim-Gittgutter
|
||||
call s:HL('GitGutterAdd', s:green, '', '')
|
||||
call s:HL('GitGutterChange', s:yellow, '', '')
|
||||
call s:HL('GitGutterChangeDelete', s:orange, '', '')
|
||||
call s:HL('GitGutterDelete', s:red, '', '')
|
||||
|
||||
" Vim-Signify
|
||||
hi link SignifySignAdd GitGutterAdd
|
||||
hi link SignifySignChange GitGutterChange
|
||||
hi link SignifySignDelete GitGutterDelete
|
||||
|
||||
" XML
|
||||
call s:HL('xmlAttrib', s:yellow, '', '')
|
||||
call s:HL('xmlEndTag', s:blue, '', '')
|
||||
call s:HL('xmlTag', s:blue, '', '')
|
||||
call s:HL('xmlTagName', s:blue, '', '')
|
||||
|
||||
" Neovim terminal colors
|
||||
if has('nvim')
|
||||
let g:terminal_color_0 = s:gray1
|
||||
let g:terminal_color_1 = s:red
|
||||
let g:terminal_color_2 = s:green
|
||||
let g:terminal_color_3 = s:yellow
|
||||
let g:terminal_color_4 = s:blue
|
||||
let g:terminal_color_5 = s:purple
|
||||
let g:terminal_color_6 = s:cyan
|
||||
let g:terminal_color_7 = s:gray5
|
||||
let g:terminal_color_8 = s:gray3
|
||||
let g:terminal_color_9 = s:red
|
||||
let g:terminal_color_10 = s:green
|
||||
let g:terminal_color_11 = s:yellow
|
||||
let g:terminal_color_12 = s:blue
|
||||
let g:terminal_color_13 = s:purple
|
||||
let g:terminal_color_14 = s:cyan
|
||||
let g:terminal_color_15 = s:gray4
|
||||
let g:terminal_color_background = g:terminal_color_0
|
||||
let g:terminal_color_foreground = g:terminal_color_7
|
||||
endif
|
||||
|
||||
|
|
@ -1,376 +0,0 @@
|
|||
" ███████╗██╗███████╗██████╗ ██████╗ █████╗
|
||||
" ██╔════╝██║██╔════╝██╔══██╗██╔══██╗██╔══██╗
|
||||
" ███████╗██║█████╗ ██████╔╝██████╔╝███████║
|
||||
" ╚════██║██║██╔══╝ ██╔══██╗██╔══██╗██╔══██║
|
||||
" ███████║██║███████╗██║ ██║██║ ██║██║ ██║
|
||||
" ╚══════╝╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
|
||||
|
||||
|
||||
" A Terminal Vim colorscheme
|
||||
" Author: Alessandro Yorba
|
||||
" Script URL: https://github.com/AlessandroYorba/Sierra
|
||||
" License: MIT
|
||||
|
||||
" 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.
|
||||
|
||||
"=================================================================================
|
||||
" SIERRA TERMINAL:
|
||||
"=================================================================================
|
||||
" Foreground #e4e4e4 | Selection #875f5f |
|
||||
" Background #303030 | Selected Text #1e2834 |
|
||||
" Bold #ffffff | |
|
||||
" Links #005cbb | |
|
||||
" CursorColor #e4e4e4 | |
|
||||
" CursorText #303030 | |
|
||||
"=================================================================================
|
||||
" ANSI COLORS: |
|
||||
"=================================================================================
|
||||
"---------------------------------------|-----------------------------------------
|
||||
" NORMAL Hex xterm | BRIGHT Hex xterm |
|
||||
"---------------------------------------|-----------------------------------------
|
||||
" Black #303030 0 | brBlack #686868 8 |
|
||||
" Red #af5f5f 1 | brRed #af5f5f 9 |
|
||||
" Green #d75f5f 2 | brGreen #d75f5f 10 |
|
||||
" Yellow #afd7d7 3 | brYellow #afd7d7 11 |
|
||||
" Blue #af8787 4 | brBlue #af8787 12 |
|
||||
" Magenta #dfaf87 5 | brMagenta #dfaf87 13 |
|
||||
" Cyan #ffafaf 6 | brCyan #ffafaf 14 |
|
||||
" White #e4e4e4 7 | brWhite #e4e4e4 15 |
|
||||
"---------------------------------------|-----------------------------------------
|
||||
"=================================================================================
|
||||
|
||||
"=================================================================================
|
||||
" SETUP:
|
||||
"=================================================================================
|
||||
|
||||
set background=dark
|
||||
|
||||
highlight clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
"================================================================================
|
||||
" SET DEFAULT PARAMETERS:
|
||||
"================================================================================
|
||||
|
||||
let g:colors_name="sierra"
|
||||
|
||||
if !exists("g:sierra_Sunset")
|
||||
let g:sierra_Sunset = 0
|
||||
endif
|
||||
|
||||
if !exists("g:sierra_Twilight")
|
||||
let g:sierra_Twilight = 0
|
||||
endif
|
||||
|
||||
if !exists("g:sierra_Midnight")
|
||||
let g:sierra_Midnight = 0
|
||||
endif
|
||||
|
||||
if !exists("g:sierra_Pitch")
|
||||
let g:sierra_Pitch = 0
|
||||
endif
|
||||
|
||||
if !exists("g:sierra_Clear_Skies")
|
||||
let g:sierra_Clear_Skies = 0
|
||||
endif
|
||||
|
||||
if !exists("g:sierra_Nevada")
|
||||
let g:sierra_Nevada = 0
|
||||
endif
|
||||
|
||||
if !exists("g:sierra_Campfire")
|
||||
let g:sierra_Campfire = 0
|
||||
endif
|
||||
|
||||
"================================================================================
|
||||
" CAMPFIRE:
|
||||
"================================================================================
|
||||
if g:sierra_Campfire
|
||||
let sierra_Hour = strftime("%H")
|
||||
"Day: 7am - 5pm
|
||||
if 7 <= sierra_Hour && sierra_Hour < 17
|
||||
let g:sierra_Sunset = 0
|
||||
let g:sierra_Twilight = 0
|
||||
let g:sierra_Midnight = 0
|
||||
let g:sierra_Pitch = 0
|
||||
"Sunset: 5pm - 7pm
|
||||
elseif 17 <= sierra_Hour && sierra_Hour < 19
|
||||
let g:sierra_Sunset = 1
|
||||
let g:sierra_Twilight = 0
|
||||
let g:sierra_Midnight = 0
|
||||
let g:sierra_Pitch = 0
|
||||
"Twilight: 7pm - 9pm
|
||||
elseif 19 <= sierra_Hour && sierra_Hour < 21
|
||||
let g:sierra_Sunset = 0
|
||||
let g:sierra_Twilight = 1
|
||||
let g:sierra_Midnight = 0
|
||||
let g:sierra_Pitch = 0
|
||||
"Midnight: 9pm - 12am
|
||||
elseif 21 <= sierra_Hour && sierra_Hour < 24
|
||||
let g:sierra_Sunset = 0
|
||||
let g:sierra_Twilight = 0
|
||||
let g:sierra_Midnight = 1
|
||||
let g:sierra_Pitch = 0
|
||||
"Pitch: 12am - 7am
|
||||
else
|
||||
let g:sierra_Sunset = 0
|
||||
let g:sierra_Twilight = 0
|
||||
let g:sierra_Midnight = 0
|
||||
let g:sierra_Pitch = 1
|
||||
endif
|
||||
endif
|
||||
"================================================================================
|
||||
" SIERRA HIGHLIGHTING:
|
||||
"================================================================================
|
||||
highlight! Directory guifg=#af8787 guibg=NONE gui=NONE ctermfg=138 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! Label guifg=#87afaf guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE
|
||||
highlight! Statement guifg=#87afaf guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE
|
||||
highlight! Identifier guifg=#87afaf guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! Function guifg=#afd7d7 guibg=NONE gui=NONE ctermfg=152 ctermbg=NONE cterm=NONE
|
||||
highlight! htmlStatement guifg=#afd7d7 guibg=NONE gui=NONE ctermfg=152 ctermbg=NONE cterm=NONE
|
||||
highlight! cssTagName guifg=#afd7d7 guibg=NONE gui=NONE ctermfg=152 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! FoldColumn guifg=#afd7d7 guibg=NONE gui=NONE ctermfg=152 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! PreProc guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
highlight! Type guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
highlight! netrwExe guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
highlight! cssClassName guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
highlight! cssIdentifier guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
highlight! Title guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
highlight! htmlItalic guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
highlight! ErrorMsg guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
highlight! WarningMsg guifg=#d75f5f guibg=NONE gui=NONE ctermfg=167 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! Question guifg=#dfaf5f guibg=NONE gui=NONE ctermfg=179 ctermbg=NONE cterm=NONE
|
||||
highlight! MoreMsg guifg=#dfaf5f guibg=NONE gui=NONE ctermfg=179 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! String guifg=#ffafaf guibg=NONE gui=NONE ctermfg=217 ctermbg=NONE cterm=NONE
|
||||
highlight! Special guifg=#ffffdf guibg=NONE gui=NONE ctermfg=230 ctermbg=NONE cterm=NONE
|
||||
highlight! StorageClass guifg=#ffffdf guibg=NONE gui=NONE ctermfg=230 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! Visual guifg=#5f8787 guibg=NONE gui=reverse ctermfg=66 ctermbg=NONE cterm=reverse
|
||||
highlight! MatchParen guifg=#eeeeee guibg=#875f5f gui=NONE ctermfg=255 ctermbg=95 cterm=NONE
|
||||
highlight! WildMenu guifg=#eeeeee guibg=#875f5f gui=NONE ctermfg=255 ctermbg=95 cterm=NONE
|
||||
|
||||
highlight! Search guifg=#ffffdf guibg=NONE gui=reverse ctermfg=230 ctermbg=NONE cterm=reverse
|
||||
highlight! Todo guifg=#eeeeee guibg=#1c1c1c gui=reverse ctermfg=255 ctermbg=234 cterm=reverse
|
||||
|
||||
highlight! SpecialComment guifg=#87afaf guibg=NONE gui=reverse ctermfg=109 ctermbg=NONE cterm=reverse
|
||||
highlight! VimCommentTitle guifg=#87afaf guibg=NONE gui=reverse ctermfg=109 ctermbg=NONE cterm=reverse
|
||||
|
||||
highlight! Boolean guifg=#dfafaf guibg=NONE gui=NONE ctermfg=181 ctermbg=NONE cterm=NONE
|
||||
highlight! Operator guifg=#dfafaf guibg=NONE gui=NONE ctermfg=181 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! Underlined guifg=#87af87 guibg=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! htmlArg guifg=#d78787 guibg=NONE gui=NONE ctermfg=174 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! ModeMsg guifg=#5f8787 guibg=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE
|
||||
highlight! Conditional guifg=#5f8787 guibg=NONE gui=NONE ctermfg=66 ctermbg=NONE cterm=NONE
|
||||
highlight! Constant guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
|
||||
highlight! CursorLineNr guifg=#5f8787 guibg=NONE gui=reverse ctermfg=66 ctermbg=NONE cterm=reverse
|
||||
highlight! Error guifg=#d75f5f guibg=NONE gui=reverse ctermfg=167 ctermbg=NONE cterm=reverse
|
||||
highlight! SignColumn guifg=#87af87 guibg=NONE gui=NONE ctermfg=108 ctermbg=NONE cterm=NONE
|
||||
|
||||
highlight! DiffAdd guifg=#afafd7 guibg=NONE gui=reverse ctermfg=146 ctermbg=NONE cterm=reverse
|
||||
highlight! DiffChange guifg=#5f5f87 guibg=NONE gui=reverse ctermfg=60 ctermbg=NONE cterm=reverse
|
||||
highlight! DiffText guifg=#8787af guibg=NONE gui=reverse ctermfg=103 ctermbg=NONE cterm=reverse
|
||||
highlight! DiffDelete guifg=#af5f5f guibg=NONE gui=reverse ctermfg=131 ctermbg=NONE cterm=reverse
|
||||
|
||||
highlight! SpellBad guifg=#ff0000 guibg=NONE gui=undercurl ctermfg=196 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
|
||||
|
||||
"================================================================================
|
||||
" DAY:
|
||||
"================================================================================
|
||||
if 1
|
||||
highlight! Normal guifg=#e4e4e4 guibg=#303030 gui=NONE ctermfg=254 ctermbg=236 cterm=NONE
|
||||
highlight! TabLineFill guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 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=255 ctermbg=235 cterm=NONE
|
||||
highlight! TabLineSel guifg=#eeeeee guibg=#262626 gui=NONE ctermfg=255 ctermbg=235 cterm=NONE
|
||||
highlight! PmenuSel guifg=#eeeeee guibg=#262626 gui=NONE ctermfg=255 ctermbg=235 cterm=NONE
|
||||
|
||||
highlight! StatusLineNC guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=235 cterm=NONE
|
||||
highlight! VertSplit guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=235 cterm=NONE
|
||||
highlight! TabLine guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=235 cterm=NONE
|
||||
highlight! Pmenu guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=235 cterm=NONE
|
||||
highlight! LineNr guifg=#767676 guibg=#262626 gui=NONE ctermfg=243 ctermbg=235 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:sierra_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:sierra_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:sierra_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:sierra_Pitch
|
||||
highlight! Normal guifg=#dfdfdf guibg=#080808 gui=NONE ctermfg=188 ctermbg=232 cterm=NONE
|
||||
highlight! TabLineFill guifg=NONE guibg=#121212 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
|
||||
|
||||
"================================================================================
|
||||
" NEVADA:
|
||||
"================================================================================
|
||||
if g:sierra_Nevada
|
||||
highlight! MatchParen guifg=#ffffff guibg=#000000 gui=underline ctermfg=231 ctermbg=16 cterm=underline
|
||||
endif
|
||||
|
||||
"================================================================================
|
||||
" CLEAR SKIES:
|
||||
"================================================================================
|
||||
if g:sierra_Clear_Skies
|
||||
highlight! CursorLine guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
endif
|
||||
|
||||
|
|
@ -1,244 +0,0 @@
|
|||
" simplifysimplify-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 = 'ffffff'
|
||||
let s:g1 = 'e0e0e0'
|
||||
let s:g2 = '9e9e9e'
|
||||
let s:g3 = '949494'
|
||||
let s:g4 = '757575'
|
||||
let s:g5 = '6b6b6b'
|
||||
let s:g6 = '404040'
|
||||
let s:g7 = '2b2b2b'
|
||||
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 = '#ffffff'
|
||||
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 = '#6b6b6b'
|
||||
let g:terminal_color_8 = '#949494'
|
||||
let g:terminal_color_9 = '#e06a26'
|
||||
let g:terminal_color_10 = '#e0e0e0'
|
||||
let g:terminal_color_11 = '#9e9e9e'
|
||||
let g:terminal_color_12 = '#757575'
|
||||
let g:terminal_color_13 = '#404040'
|
||||
let g:terminal_color_14 = '#d46a84'
|
||||
let g:terminal_color_15 = '#2b2b2b'
|
||||
endif
|
||||
|
||||
|
||||
"=== OTHER PREPARATION ========================================================
|
||||
|
||||
" run theme-setting script if using terminal vim
|
||||
if filereadable(expand('~/.nightshell/simplifysimplify-light'))
|
||||
if !has('gui_running')
|
||||
execute 'silent !/bin/sh $HOME/.nightshell/simplifysimplify-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 simplifysimplify-light | endif'
|
||||
augroup END
|
||||
let colors_name = 'simplifysimplify-light'
|
||||
|
||||
" highlighting function
|
||||
fun! <sid>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 <sid>h('Cursor' , s:g0 , s:g4 , s:t0 , s:t4 , 'none' , '' )
|
||||
cal <sid>h('StatusLine' , s:g0 , s:g4 , s:t0 , s:t4 , 'none' , '' )
|
||||
cal <sid>h('StatusLineTerm' , s:g0 , s:g4 , s:t0 , s:t4 , 'none' , '' )
|
||||
cal <sid>h('TabLineSel' , s:g0 , s:g4 , s:t0 , s:t4 , 'none' , '' )
|
||||
cal <sid>h('TermCursor' , s:g0 , s:g4 , s:t0 , s:t4 , 'none' , '' )
|
||||
|
||||
" line numbers
|
||||
cal <sid>h('CursorLineNr' , s:g0 , s:g3 , s:t0 , s:t3 , 'none' , '' )
|
||||
cal <sid>h('LineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
|
||||
" basic text
|
||||
cal <sid>h('Bold' , '' , '' , '' , '' , 'bold' , '' )
|
||||
cal <sid>h('Directory' , s:g5 , '' , s:t5 , '' , 'bold' , '' )
|
||||
cal <sid>h('Italic' , '' , '' , '' , '' , 'italic' , '' )
|
||||
cal <sid>h('Normal' , s:g5 , s:g0 , s:t5 , s:t0 , 'none' , '' )
|
||||
cal <sid>h('Underlined' , s:g5 , '' , s:t5 , '' , 'underline' , '' )
|
||||
|
||||
" commented-out text
|
||||
cal <sid>h('Comment' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
cal <sid>h('Conceal' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
cal <sid>h('EndOfBuffer' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
cal <sid>h('Ignore' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
cal <sid>h('NonText' , s:g3 , '' , s:t3 , '' , 'none' , '' )
|
||||
|
||||
" highlighted background
|
||||
cal <sid>h('ColorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('CursorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('CursorLine' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('QuickFixLine' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('StatusLineNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('StatusLineTermNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('TabLineFill' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
cal <sid>h('TermCursorNC' , '' , s:g1 , '' , s:t1 , 'none' , '' )
|
||||
|
||||
" muted text on highlighted background
|
||||
cal <sid>h('DiffChange' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('FoldColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('Folded' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('SignColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('TabLine' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('VisualNOS' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
|
||||
" strongly highlighted background
|
||||
cal <sid>h('MatchParen' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
|
||||
cal <sid>h('Pmenu' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
|
||||
cal <sid>h('Visual' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
|
||||
|
||||
" selected menu item
|
||||
cal <sid>h('PmenuSel' , s:g0 , s:g5 , s:t0 , s:t5 , 'none' , '' )
|
||||
cal <sid>h('WildMenu' , s:g0 , s:g6 , s:t0 , s:t6 , 'none' , '' )
|
||||
|
||||
" solid lines
|
||||
cal <sid>h('PmenuSbar' , s:g1 , s:g1 , s:t1 , s:t1 , 'none' , '' )
|
||||
cal <sid>h('PmenuThumb' , s:g4 , s:g4 , s:t4 , s:t4 , 'none' , '' )
|
||||
cal <sid>h('VertSplit' , s:g2 , s:g2 , s:t2 , s:t2 , 'none' , '' )
|
||||
|
||||
|
||||
"=== ALERT/SYNTAX HIGHLIGHTING ================================================
|
||||
|
||||
" RED for warning elements
|
||||
cal <sid>h('DiffDelete' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' )
|
||||
cal <sid>h('Error' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' )
|
||||
cal <sid>h('ErrorMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' )
|
||||
cal <sid>h('SpellBad' , '' , '' , s:t0 , s:t8 , 'undercurl' , s:g8)
|
||||
cal <sid>h('TooLong' , s:g8 , '' , s:t8 , '' , 'none' , '' )
|
||||
cal <sid>h('WarningMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' )
|
||||
|
||||
" ORANGE for preliminary elements
|
||||
cal <sid>h('Define' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('IncSearch' , s:g9 , s:g0 , s:t9 , s:t0 , 'reverse' , '' )
|
||||
cal <sid>h('Include' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('Macro' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('PreCondit' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('PreProc' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
cal <sid>h('SpellCap' , '' , '' , s:t0 , s:t9 , 'undercurl' , s:g9)
|
||||
cal <sid>h('Title' , s:g9 , '' , s:t9 , '' , 'none' , '' )
|
||||
|
||||
" YELLOW for highlighted elements
|
||||
cal <sid>h('DiffText' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
|
||||
cal <sid>h('Search' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
|
||||
cal <sid>h('Todo' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
|
||||
|
||||
" GREEN for action elements
|
||||
cal <sid>h('Conditional' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('DiffAdd' , s:gB , s:g0 , s:tB , s:t0 , 'reverse' , '' )
|
||||
cal <sid>h('Exception' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Keyword' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Label' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('ModeMsg' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('MoreMsg' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Operator' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Question' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Repeat' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
cal <sid>h('Statement' , s:gB , '' , s:tB , '' , 'none' , '' )
|
||||
|
||||
" TEAL for object types
|
||||
cal <sid>h('SpellLocal' , '' , '' , s:t0 , s:tC , 'undercurl' , s:gC)
|
||||
cal <sid>h('StorageClass' , s:gC , '' , s:tC , '' , 'none' , '' )
|
||||
cal <sid>h('Structure' , s:gC , '' , s:tC , '' , 'none' , '' )
|
||||
cal <sid>h('Type' , s:gC , '' , s:tC , '' , 'none' , '' )
|
||||
cal <sid>h('Typedef' , s:gC , '' , s:tC , '' , 'none' , '' )
|
||||
|
||||
" BLUE for constants
|
||||
cal <sid>h('Boolean' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('Character' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('Constant' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('Float' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('Number' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
cal <sid>h('String' , s:gD , '' , s:tD , '' , 'none' , '' )
|
||||
|
||||
" PURPLE for special text
|
||||
cal <sid>h('Debug' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('Delimiter' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('Special' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('SpecialChar' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('SpecialComment' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('SpecialKey' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
cal <sid>h('SpellRare' , '' , '' , s:t0 , s:tE , 'undercurl' , s:gE)
|
||||
cal <sid>h('Tag' , s:gE , '' , s:tE , '' , 'none' , '' )
|
||||
|
||||
" PINK for object names
|
||||
cal <sid>h('Function' , s:gF , '' , s:tF , '' , 'none' , '' )
|
||||
cal <sid>h('Identifier' , s:gF , '' , s:tF , '' , 'none' , '' )
|
||||
|
||||
|
||||
"=== OPTIONS ==================================================================
|
||||
|
||||
" disable highlighted CursorLineNr
|
||||
if exists('g:simplifysimplify_light_CursorLineNr')
|
||||
if g:simplifysimplify_light_CursorLineNr == 'off'
|
||||
cal <sid>h('CursorLineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
|
||||
endif
|
||||
endif
|
||||
|
||||
" disable LineNr background altogether
|
||||
if exists('g:simplifysimplify_light_LineNr')
|
||||
if g:simplifysimplify_light_LineNr == 'off'
|
||||
cal <sid>h('CursorLineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' )
|
||||
cal <sid>h('LineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' )
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
Donker grijs #424242
|
||||
|
|
@ -1,209 +0,0 @@
|
|||
" tungsten.vim a colorscheme for vim
|
||||
" Maintainer: Michael Lerch (github.com/mdlerch)
|
||||
" Version: 1.1
|
||||
|
||||
" A darkish color scheme for 256 and gui vim.
|
||||
" Goals: easy on the eyes,
|
||||
" non-distracting,
|
||||
" eye drawn to important parts,
|
||||
" completeness of highlight groups,
|
||||
" very obvious diffs,
|
||||
" consistency between gui and 256 term,
|
||||
|
||||
|
||||
" black 1 (dark)
|
||||
" red 1 (brick)
|
||||
" green 1 (sea green)
|
||||
" yellow 1 (yellow)
|
||||
" blue 1 (dark)
|
||||
" magenta 1 (medium black)
|
||||
" cyan 1 (medium white)
|
||||
" white 1 (light)
|
||||
" black 2 (light)
|
||||
" red 2 (bright)
|
||||
" green 2 (bright)
|
||||
" yellow 2 (orange)
|
||||
" blue 2 (light)
|
||||
" magenta 2 (magenta)
|
||||
" cyan 2 (cyan)
|
||||
" white 2 (dark)
|
||||
|
||||
" normal: 6, 5
|
||||
|
||||
" theme colors [ [ 256 , true ] ]
|
||||
let s:themecol = [[234, "#1c1c1c"],
|
||||
\ [131, "#af5f5f"],
|
||||
\ [115, "#87d7af"],
|
||||
\ [187, "#d7d7af"],
|
||||
\ [60, "#5f5f87"],
|
||||
\ [236, "#303030"],
|
||||
\ [252, "#d0d0d0"],
|
||||
\ [254, "#e4e4e4"],
|
||||
\ [238, "#444444"],
|
||||
\ [196, "#ff0000"],
|
||||
\ [118, "#87ff00"],
|
||||
\ [180, "#d7af87"],
|
||||
\ [110, "#87afd7"],
|
||||
\ [138, "#af8787"],
|
||||
\ [123, "#87ffff"],
|
||||
\ [246, "#949494"]]
|
||||
" {{{ Setup
|
||||
set background=dark
|
||||
|
||||
" highlight clear removes user colors which is annoying if you use them, for
|
||||
" example, for your status bar.
|
||||
" highlight clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
let g:colors_name = "tungsten"
|
||||
|
||||
" }}}
|
||||
" {{{ Function
|
||||
|
||||
function! s:Tungsten(group, fg, bg, cterm, gui)
|
||||
exec "hi clear " . a:group
|
||||
if a:fg =~ '\d'
|
||||
exec "hi " . a:group . " ctermfg=" . expand(s:themecol[a:fg][0]) . "guifg=" . expand(s:themecol[a:fg][1])
|
||||
elseif a:fg == "NONE"
|
||||
exec "hi " . a:group . " ctermfg=NONE" . " guifg=NONE"
|
||||
endif
|
||||
if a:bg =~ '\d'
|
||||
exec "hi " . a:group . " ctermbg=" . expand(s:themecol[a:bg][0])
|
||||
elseif a:bg == "NONE"
|
||||
exec "hi " . a:group . " ctermbg=NONE" . " guibg=NONE"
|
||||
endif
|
||||
if a:cterm != "" && a:cterm != "NONE"
|
||||
exec "hi " . a:group . " cterm=" . a:cterm
|
||||
elseif a:cterm == "NONE"
|
||||
exec "hi " . a:group . " cterm=NONE"
|
||||
endif
|
||||
if a:gui != "" && a:gui != "NONE"
|
||||
exec "hi " . a:group . " gui=" . a:gui
|
||||
elseif a:gui == "NONE"
|
||||
exec "hi " . a:group . " gui=NONE"
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" }}}
|
||||
" {{{ Vim groups
|
||||
|
||||
" Group fg bg term gui
|
||||
call s:Tungsten("ColorColumn" , "" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("Conceal" , 15 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("Cursor" , "" , "" , "" , "")
|
||||
" call s:Tungsten ("CursorIM" , "NONE" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("CursorColumn" , "NONE" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("CursorLine" , "" , 8 , "NONE" , "NONE")
|
||||
" call s:Tungsten("Directory" , "NONE" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("DiffAdd" , 10 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("DiffChange" , 14 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("DiffDelete" , 9 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("DiffText" , 9 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("ErrorMsg" , 1 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("VertSplit" , 4 , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("Folded" , 15 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("FoldColumn" , 8 , 0 , "NONE" , "NONE")
|
||||
" call s:Tungsten("SignColumn" , "NONE" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("IncSearch" , 5 , 3 , "NONE" , "NONE")
|
||||
call s:Tungsten("LineNr" , 8 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("CursorLineNr" , 7 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("MatchParen" , "" , 0 , "NONE" , "NONE")
|
||||
" call s:Tungsten("ModeMsg" , "NONE" , 8 , "NONE" , "NONE")
|
||||
" call s:Tungsten("MoreMsg" , "NONE" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("NonText" , 8 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("Normal" , 6 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("Pmenu" , 15 , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("PmenuSel" , 7 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("PmenuSbar" , "" , "NONE" , "NONE" , "NONE")
|
||||
call s:Tungsten("PmenuThumb" , "" , "NONE" , "NONE" , "NONE")
|
||||
call s:Tungsten("Question" , 6 , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("Search" , 5 , 13 , "NONE" , "NONE")
|
||||
call s:Tungsten("SignColumn" , 9 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("SpecialKey" , 8 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("SpellBad" , 13 , "" , "underline" , "undercurl")
|
||||
call s:Tungsten("SpellCap" , 13 , "" , "underline" , "undercurl")
|
||||
" call s:Tungsten("SpellLocal" , "NONE" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("SpellRare" , 13 , "" , "NONE" , "NONE")
|
||||
" call s:Tungsten("StatusLine" , "NONE" , 8 , "NONE" , "NONE")
|
||||
" call s:Tungsten("StatusLineNC" , "NONE" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("TabLine" , 15 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("TabLineFill" , 15 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("TabLineSel" , 7 , 5 , "NONE" , "NONE")
|
||||
call s:Tungsten("Title" , 2 , "NONE" , "NONE" , "NONE")
|
||||
call s:Tungsten("Visual" , "" , 0 , "NONE" , "NONE")
|
||||
" call s:Tungsten("VisualNOS" , "NONE" , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("WarningMSG" , 4 , 0 , "NONE" , "NONE")
|
||||
" call s:Tungsten("WildMenu" , "NONE" , 8 , "NONE" , "NONE")
|
||||
" }}} Vim groups
|
||||
" {{{ Highlight groups
|
||||
|
||||
call s:Tungsten("Comment" , 4 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Constant" , 11 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("String" , 2 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Character" , 1 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Number" , 12 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Boolean" , 12 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Float" , 12 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Identifier" , 2 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Function" , 15 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Statement" , 11 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Conditional" , 3 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Repeat" , 3 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Label" , "" , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Operator" , 1 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Keyword" , 3 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Exception" , 13 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("PreProc" , 14 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Include" , 14 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Define" , 14 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Macro" , 14 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("PreCondit" , 1 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Type" , 11 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("StorageClass" , 12 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Structure" , "" , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Typedef" , "" , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Special" , 1 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("SpecialChar" , 6 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Tag" , "" , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Delimiter" , 15 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("SpecialComment" , 6 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Debug" , 6 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Underlined" , 6 , 5 , "underline" , "underline")
|
||||
call s:Tungsten("Error" , 9 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("Todo" , 9 , 8 , "NONE" , "NONE")
|
||||
|
||||
" }}} Highlight groups
|
||||
" {{{ Misc
|
||||
|
||||
" TagHighlight
|
||||
call s:Tungsten("CTagsLocalVariable" , "" , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("CTagsMember" , "" , "" , "NONE" , "NONE")
|
||||
" mail
|
||||
call s:Tungsten("mailQuoted1" , 11 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("mailQuoted2" , 13 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("mailQuoted3" , 1 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("mailQuoted4" , 4 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("mailQuoted5" , 12 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("mailQuoted6" , 2 , "" , "NONE" , "NONE")
|
||||
" Nvim-R / Vim-R-plugin
|
||||
call s:Tungsten("routInput" , 3 , "" , "NONE" , "NONE")
|
||||
" status
|
||||
call s:Tungsten("status1" , 12 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("status2" , 11 , 8 , "NONE" , "NONE")
|
||||
call s:Tungsten("status3" , 9 , 0 , "NONE" , "NONE")
|
||||
" vim
|
||||
call s:Tungsten("vimOption" , 3 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("qfLineNr" , 1 , 5 , "NONE" , "NONE")
|
||||
" yaml
|
||||
call s:Tungsten("yamlKey" , 11 , "" , "NONE" , "NONE")
|
||||
" ycm
|
||||
call s:Tungsten("YcmErrorSign" , 1 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("YcmWarningSign" , 1 , 0 , "NONE" , "NONE")
|
||||
call s:Tungsten("YcmErrorSection" , 1 , "" , "NONE" , "NONE")
|
||||
call s:Tungsten("YcmWarningSection" , 1 , "" , "NONE" , "NONE")
|
||||
|
||||
|
||||
" }}}
|
||||
|
||||
" vim: set fdm=marker:fdl=1
|
||||
|
|
@ -1,468 +0,0 @@
|
|||
" Vim color file
|
||||
" Maintainer: Jani Nurminen <slinky@iki.fi>
|
||||
" URL: http://kippura.org/zenburnpage/
|
||||
" License: GNU GPL <http://www.gnu.org/licenses/gpl.html>
|
||||
"
|
||||
" Nothing too fancy, just some alien fruit salad to keep you in the zone.
|
||||
" This syntax file was designed to be used with dark environments and
|
||||
" low light situations. Of course, if it works during a daybright office, go
|
||||
" ahead :)
|
||||
"
|
||||
" Owes heavily to other Vim color files! With special mentions
|
||||
" to "BlackDust", "Camo" and "Desert".
|
||||
"
|
||||
" To install, copy to ~/.vim/colors directory.
|
||||
"
|
||||
" Alternatively, you can use Vimball installation:
|
||||
" vim zenburn.vba
|
||||
" :so %
|
||||
" :q
|
||||
"
|
||||
" For details, see :help vimball
|
||||
"
|
||||
" After installation, use it with :colorscheme zenburn.
|
||||
" See also :help syntax
|
||||
"
|
||||
" Credits:
|
||||
" - Jani Nurminen - original Zenburn, maintainer
|
||||
" - Steve Hall & Cream posse - higher-contrast Visual selection
|
||||
" - Kurt Maier - 256 color console coloring, low and high contrast toggle,
|
||||
" bug fixing
|
||||
" - Charlie - spotted too bright StatusLine in non-high contrast mode
|
||||
" - Pablo Castellazzi - CursorLine fix for 256 color mode
|
||||
" - Tim Smith - force dark background
|
||||
" - John Gabriele - spotted bad Ignore-group handling
|
||||
" - Zac Thompson - spotted invisible NonText in low contrast mode
|
||||
" - Christophe-Marie Duquesne - suggested making a Vimball,
|
||||
" suggested support for ctags_highlighting.vim
|
||||
" - Andrew Wagner - noted the CursorColumn bug (guifg was unintentionally set),
|
||||
" unify CursorColumn colour
|
||||
" - Martin Langasek - clarify the license, whitespace fixes
|
||||
" - Marcin Szamotulski - support autocomplete for Zenburn configuration
|
||||
" parameters
|
||||
" - Clayton Parker (claytron) - Convinced by Kurt Maier to use Zenburn. Point
|
||||
" out issues with LineNr, fix directory styles, and their usage in MacVim.
|
||||
" - Paweł Piekarski - Spotted bad FoldColumn and TabLine. Made better
|
||||
" FoldColumn colors, fixed TabLine colors.
|
||||
" - Jim - Fix for missing Include group for terminal
|
||||
" - Peter (Sakartu) - ColorColumn fixes
|
||||
" - Please see git log for the others not listed here
|
||||
"
|
||||
" CONFIGURABLE PARAMETERS:
|
||||
"
|
||||
" You can use the default (don't set any parameters), or you can
|
||||
" set some parameters to tweak the Zenburn colours.
|
||||
"
|
||||
" To use them, put them into your .vimrc file before loading the color scheme,
|
||||
" example:
|
||||
" let g:zenburn_high_Contrast=1
|
||||
" colors zenburn
|
||||
"
|
||||
" You can also do ":let g:zenburn" then hit Ctrl-d or Tab to scroll through the
|
||||
" list of configurable parameters.
|
||||
"
|
||||
" * You can now set a darker background for bright environments. To activate, use:
|
||||
" let g:zenburn_high_Contrast = 1
|
||||
"
|
||||
" * For transparent terminals set the background to black with:
|
||||
" let g:zenburn_transparent = 1
|
||||
"
|
||||
" * For example, Vim help files uses the Ignore-group for the pipes in tags
|
||||
" like "|somelink.txt|". By default, the pipes are not visible, as they
|
||||
" map to Ignore group. If you wish to enable coloring of the Ignore group,
|
||||
" set the following parameter to 1. Warning, it might make some syntax files
|
||||
" look strange.
|
||||
"
|
||||
" let g:zenburn_color_also_Ignore = 1
|
||||
"
|
||||
" * To get more contrast to the Visual selection, use
|
||||
"
|
||||
" let g:zenburn_alternate_Visual = 1
|
||||
"
|
||||
" Note: this is enabled only if the old-style Visual
|
||||
" if used, see g:zenburn_old_Visual
|
||||
"
|
||||
" * To use alternate colouring for Error message, use
|
||||
"
|
||||
" let g:zenburn_alternate_Error = 1
|
||||
"
|
||||
" * The new default for Include is a duller orange. To use the original
|
||||
" colouring for Include, use
|
||||
"
|
||||
" let g:zenburn_alternate_Include = 1
|
||||
"
|
||||
" * To disable underlining for Labels, use
|
||||
"
|
||||
" let g:zenburn_disable_Label_underline = 1
|
||||
"
|
||||
" * Work-around to a Vim bug, it seems to misinterpret ctermfg and 234 and 237
|
||||
" as light values, and sets background to light for some people. If you have
|
||||
" this problem, use:
|
||||
"
|
||||
" let g:zenburn_force_dark_Background = 1
|
||||
"
|
||||
" * By default the CursorColumn is of a lighter colour. I find it more readable
|
||||
" that way, but some people may want to align it with the darker CursorLine
|
||||
" color, for visual uniformity. To do so, use:
|
||||
"
|
||||
" let g:zenburn_unified_CursorColumn = 1
|
||||
"
|
||||
" Note: you can ignore this unless you use
|
||||
" ":set cursorline cursorcolumn", since otherwise the effect won't be
|
||||
" seen.
|
||||
"
|
||||
" * New (dark) Visual coloring has been introduced.
|
||||
" The dark Visual is more aligned with the rest of the colour scheme,
|
||||
" especially if you use line numbers. If you wish to use the
|
||||
" old Visual coloring, use
|
||||
"
|
||||
" let g:zenburn_old_Visual = 1
|
||||
"
|
||||
" Default is to use the new Visual.
|
||||
"
|
||||
" * EXPERIMENTAL FEATURE: Zenburn would like to support TagHighlight
|
||||
" (an evolved ctags-highlighter) by Al Budden (homepage:
|
||||
" http://www.cgtk.co.uk/vim-scripts/taghighlight).
|
||||
" Current support status is broken: there is no automatic detection of
|
||||
" TagHighlight, no specific language support; however there is some basic
|
||||
" support for Python. If you are a user of TagHighlight and want to help,
|
||||
" please enable:
|
||||
"
|
||||
" let g:zenburn_enable_TagHighlight=1
|
||||
"
|
||||
" and improve the corresponding block at the end of the file.
|
||||
"
|
||||
" NOTE:
|
||||
"
|
||||
" * To turn the parameter(s) back to defaults, use UNLET or set them to 0:
|
||||
"
|
||||
" unlet g:zenburn_alternate_Include
|
||||
" or
|
||||
" let g:zenburn_alternate_Include = 0
|
||||
"
|
||||
"
|
||||
" That's it, enjoy!
|
||||
"
|
||||
" TODO
|
||||
" - Visual alternate color is broken? Try GVim >= 7.0.66 if you have trouble
|
||||
" - IME colouring (CursorIM)
|
||||
|
||||
" Finish if we are in a term lacking 256 color support
|
||||
if ! has("gui_running") && &t_Co <= 255
|
||||
finish
|
||||
endif
|
||||
|
||||
" Set defaults, but keep any parameters already set by the user
|
||||
if ! exists("g:zenburn_high_Contrast")
|
||||
let g:zenburn_high_Contrast = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_transparent")
|
||||
let g:zenburn_transparent = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_color_also_Ignore")
|
||||
let g:zenburn_color_also_Ignore = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_alternate_Error")
|
||||
let g:zenburn_alternate_Error = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_force_dark_Background")
|
||||
let g:zenburn_force_dark_Background = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_alternate_Visual")
|
||||
let g:zenburn_alternate_Visual = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_alternate_Include")
|
||||
let g:zenburn_alternate_Include = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_disable_Label_underline")
|
||||
let g:zenburn_disable_Label_underline = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_unified_CursorColumn")
|
||||
let g:zenburn_unified_CursorColumn = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_old_Visual")
|
||||
let g:zenburn_old_Visual = 0
|
||||
endif
|
||||
|
||||
if ! exists("g:zenburn_enable_TagHighlight")
|
||||
let g:zenburn_enable_TagHighlight = 0
|
||||
endif
|
||||
|
||||
" -----------------------------------------------
|
||||
|
||||
set background=dark
|
||||
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
let g:colors_name="zenburn"
|
||||
|
||||
hi Boolean guifg=#dca3a3 ctermfg=181
|
||||
hi Character guifg=#dca3a3 gui=bold ctermfg=181 cterm=bold
|
||||
hi Comment guifg=#7f9f7f gui=italic ctermfg=108
|
||||
hi Conditional guifg=#f0dfaf gui=bold ctermfg=223 cterm=bold
|
||||
hi Constant guifg=#dca3a3 gui=bold ctermfg=181 cterm=bold
|
||||
hi Cursor guifg=#000d18 guibg=#8faf9f gui=bold ctermfg=233 ctermbg=109 cterm=bold
|
||||
hi Debug guifg=#bca3a3 gui=bold ctermfg=181 cterm=bold
|
||||
hi Define guifg=#ffcfaf gui=bold ctermfg=223 cterm=bold
|
||||
hi Delimiter guifg=#8f8f8f ctermfg=245
|
||||
hi DiffAdd guifg=#709080 guibg=#313c36 gui=bold ctermfg=66 ctermbg=237 cterm=bold
|
||||
hi DiffChange guibg=#333333 ctermbg=236
|
||||
hi DiffDelete guifg=#333333 guibg=#464646 ctermfg=236 ctermbg=238
|
||||
hi DiffText guifg=#ecbcbc guibg=#41363c gui=bold ctermfg=217 ctermbg=237 cterm=bold
|
||||
hi Directory guifg=#9fafaf gui=bold ctermfg=109 cterm=bold
|
||||
hi ErrorMsg guifg=#80d4aa guibg=#2f2f2f gui=bold ctermfg=115 ctermbg=236 cterm=bold
|
||||
hi Exception guifg=#c3bf9f gui=bold ctermfg=249 cterm=bold
|
||||
hi Float guifg=#c0bed1 ctermfg=251
|
||||
hi FoldColumn guifg=#93b3a3 guibg=#3f4040
|
||||
hi Folded guifg=#93b3a3 guibg=#3f4040
|
||||
hi Function guifg=#efef8f ctermfg=228
|
||||
hi Identifier guifg=#efdcbc ctermfg=223 cterm=none
|
||||
hi IncSearch guifg=#f8f893 guibg=#385f38 ctermfg=228 ctermbg=23
|
||||
hi Keyword guifg=#f0dfaf gui=bold ctermfg=223 cterm=bold
|
||||
hi Macro guifg=#ffcfaf gui=bold ctermfg=223 cterm=bold
|
||||
hi ModeMsg guifg=#ffcfaf gui=none ctermfg=223 cterm=none
|
||||
hi MoreMsg guifg=#ffffff gui=bold ctermfg=231 cterm=bold
|
||||
hi Number guifg=#8cd0d3 ctermfg=116
|
||||
hi Operator guifg=#f0efd0 ctermfg=230
|
||||
hi PmenuSbar guibg=#2e3330 guifg=#000000 ctermfg=16 ctermbg=236
|
||||
hi PmenuThumb guibg=#a0afa0 guifg=#040404 ctermfg=232 ctermbg=151
|
||||
hi PreCondit guifg=#dfaf8f gui=bold ctermfg=180 cterm=bold
|
||||
hi PreProc guifg=#ffcfaf gui=bold ctermfg=223 cterm=bold
|
||||
hi Question guifg=#ffffff gui=bold ctermfg=231 cterm=bold
|
||||
hi Repeat guifg=#ffd7a7 gui=bold ctermfg=223 cterm=bold
|
||||
hi Search guifg=#ffffe0 guibg=#284f28 ctermfg=230 ctermbg=22
|
||||
hi SignColumn guifg=#9fafaf gui=bold ctermfg=109 cterm=bold
|
||||
hi SpecialChar guifg=#dca3a3 gui=bold ctermfg=181 cterm=bold
|
||||
hi SpecialComment guifg=#82a282 gui=bold ctermfg=108 cterm=bold
|
||||
hi Special guifg=#cfbfaf ctermfg=181
|
||||
hi SpecialKey guifg=#9ece9e ctermfg=151
|
||||
hi Statement guifg=#e3ceab gui=none ctermfg=187 cterm=none
|
||||
hi StatusLine guifg=#313633 guibg=#ccdc90 ctermfg=236 ctermbg=186
|
||||
hi StatusLineNC guifg=#2e3330 guibg=#88b090 ctermfg=235 ctermbg=108
|
||||
hi StorageClass guifg=#c3bf9f gui=bold ctermfg=249 cterm=bold
|
||||
hi String guifg=#cc9393 ctermfg=174
|
||||
hi Structure guifg=#efefaf gui=bold ctermfg=229 cterm=bold
|
||||
hi Tag guifg=#e89393 gui=bold ctermfg=181 cterm=bold
|
||||
hi Title guifg=#efefef gui=bold ctermfg=255 ctermbg=NONE cterm=bold
|
||||
hi Todo guifg=#dfdfdf guibg=NONE gui=bold ctermfg=254 ctermbg=NONE cterm=bold
|
||||
hi Typedef guifg=#dfe4cf gui=bold ctermfg=253 cterm=bold
|
||||
hi Type guifg=#dfdfbf gui=bold ctermfg=187 cterm=bold
|
||||
hi Underlined guifg=#dcdccc gui=underline ctermfg=188 cterm=underline
|
||||
hi VertSplit guifg=#2e3330 guibg=#688060 ctermfg=236 ctermbg=65
|
||||
hi VisualNOS guifg=#333333 guibg=#f18c96 gui=bold,underline ctermfg=236 ctermbg=210 cterm=bold
|
||||
hi WarningMsg guifg=#ffffff guibg=#333333 gui=bold ctermfg=231 ctermbg=236 cterm=bold
|
||||
hi WildMenu guifg=#cbecd0 guibg=#2c302d gui=underline ctermfg=194 ctermbg=236 cterm=underline
|
||||
|
||||
" spellchecking, always "bright" term background
|
||||
hi SpellBad guisp=#bc6c4c guifg=#dc8c6c ctermfg=209 ctermbg=237
|
||||
hi SpellCap guisp=#6c6c9c guifg=#8c8cbc ctermfg=103 ctermbg=237
|
||||
hi SpellRare guisp=#bc6c9c guifg=#bc8cbc ctermfg=139 ctermbg=237
|
||||
hi SpellLocal guisp=#7cac7c guifg=#9ccc9c ctermfg=151 ctermbg=237
|
||||
|
||||
if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
|
||||
" use new darker background
|
||||
hi Normal guifg=#dcdccc guibg=#1f1f1f ctermfg=188 ctermbg=234
|
||||
hi ColorColumn guibg=#33332f ctermbg=235
|
||||
hi CursorLine guibg=#121212 gui=bold ctermbg=233 cterm=none
|
||||
hi CursorLineNr guifg=#f2f3bb guibg=#161616 ctermfg=229 ctermbg=233
|
||||
if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
|
||||
hi CursorColumn guibg=#121212 gui=bold ctermbg=233 cterm=none
|
||||
else
|
||||
hi CursorColumn guibg=#2b2b2b ctermbg=235 cterm=none
|
||||
endif
|
||||
hi FoldColumn guibg=#161616 ctermbg=233 ctermfg=109
|
||||
hi Folded guibg=#161616 ctermbg=233 ctermfg=109
|
||||
hi LineNr guifg=#9fafaf guibg=#161616 ctermfg=248 ctermbg=233
|
||||
hi NonText guifg=#404040 gui=bold ctermfg=238
|
||||
hi Pmenu guibg=#242424 guifg=#ccccbc ctermfg=251 ctermbg=235
|
||||
hi PmenuSel guibg=#353a37 guifg=#ccdc90 gui=bold ctermfg=187 ctermbg=236 cterm=bold
|
||||
hi MatchParen guifg=#f0f0c0 guibg=#383838 gui=bold ctermfg=229 ctermbg=237 cterm=bold
|
||||
hi SignColumn guibg=#181818 ctermbg=233
|
||||
hi SpecialKey guibg=#242424
|
||||
hi TabLine guifg=#88b090 guibg=#313633 gui=none ctermbg=236 ctermfg=108 cterm=none
|
||||
hi TabLineSel guifg=#ccd990 guibg=#222222 ctermbg=235 ctermfg=186 cterm=bold
|
||||
hi TabLineFill guifg=#88b090 guibg=#313633 gui=none ctermbg=236 ctermfg=108 cterm=none
|
||||
else
|
||||
" Original, lighter background
|
||||
hi Normal guifg=#dcdccc guibg=#3f3f3f ctermfg=188 ctermbg=237
|
||||
hi ColorColumn guibg=#484848 ctermbg=238
|
||||
hi CursorLine guibg=#434443 ctermbg=238 cterm=none
|
||||
hi CursorLineNr guifg=#d2d39b guibg=#262626 ctermfg=230 ctermbg=235
|
||||
if exists("g:zenburn_unified_CursorColumn") && g:zenburn_unified_CursorColumn
|
||||
hi CursorColumn guibg=#434343 ctermbg=238 cterm=none
|
||||
else
|
||||
hi CursorColumn guibg=#4f4f4f ctermbg=239 cterm=none
|
||||
endif
|
||||
hi FoldColumn guibg=#333333 ctermbg=236 ctermfg=109
|
||||
hi Folded guibg=#333333 ctermbg=236 ctermfg=109
|
||||
hi LineNr guifg=#9fafaf guibg=#262626 ctermfg=248 ctermbg=235
|
||||
hi NonText guifg=#5b605e gui=bold ctermfg=240
|
||||
hi Pmenu guibg=#2c2e2e guifg=#9f9f9f ctermfg=248 ctermbg=235
|
||||
hi PmenuSel guibg=#242424 guifg=#d0d0a0 gui=bold ctermfg=187 ctermbg=235 cterm=bold
|
||||
hi MatchParen guifg=#b2b2a0 guibg=#2e2e2e gui=bold ctermfg=145 ctermbg=236 cterm=bold
|
||||
hi SignColumn guibg=#343434 ctermbg=236
|
||||
hi SpecialKey guibg=#444444
|
||||
hi TabLine guifg=#d0d0b8 guibg=#222222 gui=none ctermbg=235 ctermfg=187 cterm=none
|
||||
hi TabLineSel guifg=#f0f0b0 guibg=#333333 gui=bold ctermbg=236 ctermfg=229 cterm=bold
|
||||
hi TabLineFill guifg=#dccdcc guibg=#101010 gui=none ctermbg=233 ctermfg=188 cterm=none
|
||||
|
||||
hi StatusLine ctermbg=144
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_force_dark_Background") && g:zenburn_force_dark_Background
|
||||
" Force dark background, because of a bug in VIM: VIM sets background
|
||||
" automatically during "hi Normal ctermfg=X"; it misinterprets the high
|
||||
" value (234 or 237 above) as a light color, and wrongly sets background to
|
||||
" light. See ":help highlight" for details.
|
||||
set background=dark
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_transparent") && g:zenburn_transparent
|
||||
hi Normal ctermbg=0 guibg=#000000
|
||||
hi Statement ctermbg=NONE
|
||||
hi Title ctermbg=NONE
|
||||
hi Todo ctermbg=NONE
|
||||
hi Underlined ctermbg=NONE
|
||||
hi DiffAdd ctermbg=NONE
|
||||
hi DiffText ctermbg=NONE
|
||||
hi ErrorMsg ctermbg=NONE
|
||||
hi LineNr ctermbg=NONE
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_old_Visual") && g:zenburn_old_Visual
|
||||
if exists("g:zenburn_alternate_Visual") && g:zenburn_alternate_Visual
|
||||
" Visual with more contrast, thanks to Steve Hall & Cream posse
|
||||
" gui=none fixes weird highlight problem in at least GVim 7.0.66, thanks to Kurt Maier
|
||||
hi Visual guifg=#000000 guibg=#71d3b4 gui=none ctermfg=16 ctermbg=79 cterm=none
|
||||
hi VisualNOS guifg=#000000 guibg=#71d3b4 gui=none ctermfg=16 ctermbg=79 cterm=none
|
||||
else
|
||||
" use default visual
|
||||
hi Visual guifg=#233323 guibg=#71d3b4 gui=none ctermfg=235 ctermbg=79 cterm=none
|
||||
hi VisualNOS guifg=#233323 guibg=#71d3b4 gui=none ctermfg=235 ctermbg=79 cterm=none
|
||||
endif
|
||||
else
|
||||
" new Visual style
|
||||
if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
|
||||
" high contrast
|
||||
"hi Visual guibg=#304a3d
|
||||
"hi VisualNos guibg=#304a3d
|
||||
"TODO no nice greenish in console, 65 is closest. use full black instead,
|
||||
"although i like the green..!
|
||||
hi Visual guibg=#0f0f0f ctermbg=232
|
||||
hi VisualNOS guibg=#0f0f0f ctermbg=232
|
||||
if exists("g:zenburn_transparent") && g:zenburn_transparent
|
||||
hi Visual ctermbg=235
|
||||
endif
|
||||
else
|
||||
" low contrast
|
||||
hi Visual guibg=#2f2f2f ctermbg=235
|
||||
hi VisualNOS guibg=#2f2f2f ctermbg=235
|
||||
endif
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_alternate_Error") && g:zenburn_alternate_Error
|
||||
" use more jumpy Error
|
||||
hi Error guifg=#e37170 guibg=#664040 gui=bold ctermfg=210 ctermbg=52 cterm=bold
|
||||
else
|
||||
" default is something more zenburn-compatible
|
||||
hi Error guifg=#e37170 guibg=#3d3535 gui=bold ctermfg=167 ctermbg=236 cterm=bold
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_alternate_Include") && g:zenburn_alternate_Include
|
||||
" original setting
|
||||
hi Include guifg=#ffcfaf gui=bold ctermfg=223 cterm=bold
|
||||
else
|
||||
" new, less contrasted one
|
||||
hi Include guifg=#dfaf8f gui=bold ctermfg=180 cterm=bold
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_disable_Label_underline") && g:zenburn_disable_Label_underline
|
||||
hi Label guifg=#dfcfaf ctermfg=187
|
||||
else
|
||||
hi Label guifg=#dfcfaf gui=underline ctermfg=187 cterm=underline
|
||||
endif
|
||||
|
||||
if exists("g:zenburn_color_also_Ignore") && g:zenburn_color_also_Ignore
|
||||
" color the Ignore groups
|
||||
" note: if you get strange coloring for your files, turn this off (unlet)
|
||||
if exists("g:zenburn_high_Contrast") && g:zenburn_high_Contrast
|
||||
hi Ignore ctermfg=238
|
||||
else
|
||||
hi Ignore guifg=#545a4f ctermfg=240
|
||||
endif
|
||||
endif
|
||||
|
||||
" EXPERIMENTAL TagHighlight support
|
||||
" link/set sensible defaults here;
|
||||
"
|
||||
" For now I mostly link to subset of Zenburn colors, the linkage is based
|
||||
" on appearance, not semantics. In later versions I might define more new colours.
|
||||
"
|
||||
" HELP NEEDED to make this work properly.
|
||||
|
||||
if exists("g:zenburn_enable_TagHighlight") && g:zenburn_enable_TagHighlight
|
||||
" CTag support may vary, but the first step is to start using it so
|
||||
" we can fix it!
|
||||
"
|
||||
" Consult /plugin/TagHighlight/data/kinds.txt for info on your
|
||||
" language and what's been defined.
|
||||
"
|
||||
" There is potential for language indepedent features here. (Acutally,
|
||||
" seems it may be required for this to be useful...) This way we can
|
||||
" implement features depending on how well CTags are currently implemented
|
||||
" for the language. ie. Global problem for python is annoying. Special
|
||||
" colors are defined for special language features, etc..
|
||||
"
|
||||
" For now all I care about is python supported features:
|
||||
" c:CTagsClass
|
||||
" f:CTagsFunction
|
||||
" i:CTagsImport
|
||||
" m:CTagsMember
|
||||
" v:CTagsGlobalVariable
|
||||
"
|
||||
" Note: TagHighlight defaults to setting new tags to Keyword
|
||||
" highlighting.
|
||||
|
||||
" TODO conditionally run each section
|
||||
" BEGIN Python Section
|
||||
hi link Class Function
|
||||
hi link Import PythonInclude
|
||||
hi link Member Function
|
||||
"Note: Function is already defined
|
||||
|
||||
" Highlighter seems to think a lot of things are global variables even
|
||||
" though they're not. Example: python method-local variable is
|
||||
" coloured as a global variable. They should not be global, since
|
||||
" they're not visible outside the method.
|
||||
" If this is some very bright colour group then things look bad.
|
||||
" hi link GlobalVariable Identifier
|
||||
|
||||
" Because of this problem I am disabling the feature by setting it to
|
||||
" Normal instead
|
||||
hi link GlobalVariable Normal
|
||||
" END Python Section
|
||||
|
||||
" Starting point for other languages.
|
||||
hi link GlobalConstant Constant
|
||||
hi link EnumerationValue Float
|
||||
hi link EnumerationName Identifier
|
||||
hi link DefinedName WarningMsg
|
||||
hi link LocalVariable WarningMsg
|
||||
hi link Structure WarningMsg
|
||||
hi link Union WarningMsg
|
||||
endif
|
||||
|
||||
" TODO check for more obscure syntax groups that they're ok
|
||||
|
||||
|
||||
304
vim/syntax/python.vim
Normal file
304
vim/syntax/python.vim
Normal file
|
|
@ -0,0 +1,304 @@
|
|||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Keywords
|
||||
"
|
||||
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 '\<from\>'
|
||||
syn match pythonImport '^\s*\zsfrom\>'
|
||||
|
||||
|
||||
syn keyword pythonStatement print
|
||||
syn keyword pythonStatement exec
|
||||
syn keyword pythonImport as
|
||||
syn match pythonFunction '[a-zA-Z_][a-zA-Z0-9_]*' display contained
|
||||
syn keyword pythonStatement as nonlocal
|
||||
syn match pythonStatement '\v\.@<!<await>'
|
||||
syn match pythonFunction '\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*' display contained
|
||||
syn match pythonStatement '\<async\s\+def\>' nextgroup=pythonFunction skipwhite
|
||||
syn match pythonStatement '\<async\s\+with\>'
|
||||
syn match pythonStatement '\<async\s\+for\>'
|
||||
syn cluster pythonExpression contains=pythonStatement,pythonRepeat,pythonConditional,pythonOperator,pythonNumber,pythonHexNumber,pythonOctNumber,pythonBinNumber,pythonFloat,pythonString,pythonBytes,pythonBoolean,pythonBuiltinObj,pythonBuiltinFunc
|
||||
|
||||
|
||||
"
|
||||
" Operators
|
||||
"
|
||||
syn keyword pythonOperator and in is not or
|
||||
syn match pythonOperator '\V=\|-\|+\|*\|@\|/\|%\|&\||\|^\|~\|<\|>\|!='
|
||||
syn match pythonError '[$?]\|\([-+@%&|^~]\)\1\{1,}\|\([=*/<>]\)\2\{2,}\|\([+@/%&|^~<>]\)\3\@![-+*@/%&|^~<>]\|\*\*[*@/%&|^<>]\|=[*@/%&|^<>]\|-[+*@/%&|^~<]\|[<!>]\+=\{2,}\|!\{2,}=\+' display
|
||||
|
||||
"
|
||||
" Decorators (new in Python 2.4)
|
||||
"
|
||||
|
||||
syn match pythonDecorator '^\s*\zs@' display nextgroup=pythonDottedName skipwhite
|
||||
syn match pythonDottedName '[a-zA-Z_][a-zA-Z0-9_]*\%(\.[a-zA-Z_][a-zA-Z0-9_]*\)*' display contained
|
||||
syn match pythonDottedName '\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\%(\.\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\)*' display contained
|
||||
syn match pythonDot '\.' display containedin=pythonDottedName
|
||||
|
||||
"
|
||||
" Comments
|
||||
"
|
||||
|
||||
syn match pythonComment '#.*$' display contains=pythonTodo,@Spell
|
||||
syn match pythonRun '\%^#!.*$'
|
||||
syn match pythonCoding '\%^.*\%(\n.*\)\?#.*coding[:=]\s*[0-9A-Za-z-_.]\+.*$'
|
||||
syn keyword pythonTodo TODO FIXME XXX contained
|
||||
|
||||
"
|
||||
" Errors
|
||||
"
|
||||
|
||||
syn match pythonError '\<\d\+[^0-9[:space:]]\+\>' display
|
||||
|
||||
" Mixing spaces and tabs also may be used for pretty formatting multiline
|
||||
" statements
|
||||
syn match pythonIndentError '^\s*\%( \t\|\t \)\s*\S'me=e-1 display
|
||||
|
||||
" Trailing space errors
|
||||
syn match pythonSpaceError '\s\+$' display
|
||||
|
||||
"
|
||||
" Strings
|
||||
"
|
||||
|
||||
" Python 2 strings
|
||||
syn region pythonString start=+[bB]\='+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,@Spell
|
||||
syn region pythonString start=+[bB]\="+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,@Spell
|
||||
syn region pythonString start=+[bB]\="""+ skip=+\\"+ end=+"""+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,pythonDocTest2,pythonSpaceError,@Spell
|
||||
syn region pythonString start=+[bB]\='''+ skip=+\\'+ end=+'''+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,pythonDocTest,pythonSpaceError,@Spell
|
||||
" Python 3 byte strings
|
||||
syn region pythonBytes start=+[bB]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonBytesError,pythonBytesContent,@Spell
|
||||
syn region pythonBytes start=+[bB]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonBytesError,pythonBytesContent,@Spell
|
||||
syn region pythonBytes start=+[bB]'''+ skip=+\\'+ end=+'''+ keepend contains=pythonBytesError,pythonBytesContent,pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonBytes start=+[bB]"""+ skip=+\\"+ end=+"""+ keepend contains=pythonBytesError,pythonBytesContent,pythonDocTest2,pythonSpaceError,@Spell
|
||||
|
||||
syn match pythonBytesError '.\+' display contained
|
||||
syn match pythonBytesContent '[\u0000-\u00ff]\+' display contained contains=pythonBytesEscape,pythonBytesEscapeError
|
||||
|
||||
syn match pythonBytesEscape +\\[abfnrtv'"\\]+ display contained
|
||||
syn match pythonBytesEscape '\\\o\o\=\o\=' display contained
|
||||
syn match pythonBytesEscapeError '\\\o\{,2}[89]' display contained
|
||||
syn match pythonBytesEscape '\\x\x\{2}' display contained
|
||||
syn match pythonBytesEscapeError '\\x\x\=\X' display contained
|
||||
syn match pythonBytesEscape '\\$'
|
||||
|
||||
syn match pythonUniEscape '\\u\x\{4}' display contained
|
||||
syn match pythonUniEscapeError '\\u\x\{,3}\X' display contained
|
||||
syn match pythonUniEscape '\\U\x\{8}' display contained
|
||||
syn match pythonUniEscapeError '\\U\x\{,7}\X' display contained
|
||||
syn match pythonUniEscape '\\N{[A-Z ]\+}' display contained
|
||||
syn match pythonUniEscapeError '\\N{[^A-Z ]\+}' display contained
|
||||
|
||||
" Python 2 Unicode strings
|
||||
syn region pythonUniString start=+[uU]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,@Spell
|
||||
syn region pythonUniString start=+[uU]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,@Spell
|
||||
syn region pythonUniString start=+[uU]'''+ skip=+\\'+ end=+'''+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonUniString start=+[uU]"""+ skip=+\\"+ end=+"""+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,pythonDocTest2,pythonSpaceError,@Spell
|
||||
" Python 3 strings
|
||||
syn region pythonString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,@Spell
|
||||
syn region pythonString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,@Spell
|
||||
syn region pythonString start=+'''+ skip=+\\'+ end=+'''+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonString start=+"""+ skip=+\\"+ end=+"""+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,pythonDocTest2,pythonSpaceError,@Spell
|
||||
|
||||
syn region pythonFString start=+[fF]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,@Spell
|
||||
syn region pythonFString start=+[fF]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,@Spell
|
||||
syn region pythonFString start=+[fF]'''+ skip=+\\'+ end=+'''+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonFString start=+[fF]"""+ skip=+\\"+ end=+"""+ keepend contains=pythonBytesEscape,pythonBytesEscapeError,pythonUniEscape,pythonUniEscapeError,pythonDocTest2,pythonSpaceError,@Spell
|
||||
|
||||
" Python 2 Unicode raw strings
|
||||
syn region pythonUniRawString start=+[uU][rR]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonRawEscape,pythonUniRawEscape,pythonUniRawEscapeError,@Spell
|
||||
syn region pythonUniRawString start=+[uU][rR]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonRawEscape,pythonUniRawEscape,pythonUniRawEscapeError,@Spell
|
||||
syn region pythonUniRawString start=+[uU][rR]'''+ skip=+\\'+ end=+'''+ keepend contains=pythonUniRawEscape,pythonUniRawEscapeError,pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonUniRawString start=+[uU][rR]"""+ skip=+\\"+ end=+"""+ keepend contains=pythonUniRawEscape,pythonUniRawEscapeError,pythonDocTest2,pythonSpaceError,@Spell
|
||||
|
||||
syn match pythonUniRawEscape '\%([^\\]\%(\\\\\)*\)\@<=\\u\x\{4}' display contained
|
||||
syn match pythonUniRawEscapeError '\%([^\\]\%(\\\\\)*\)\@<=\\u\x\{,3}\X' display contained
|
||||
|
||||
" Python 2/3 raw strings
|
||||
syn region pythonRawString start=+[bB]\=[rR]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonRawEscape,@Spell
|
||||
syn region pythonRawString start=+[bB]\=[rR]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonRawEscape,@Spell
|
||||
syn region pythonRawString start=+[bB]\=[rR]'''+ skip=+\\'+ end=+'''+ keepend contains=pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonRawString start=+[bB]\=[rR]"""+ skip=+\\"+ end=+"""+ keepend contains=pythonDocTest2,pythonSpaceError,@Spell
|
||||
syn region pythonRawString start=+[rR]'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonRawEscape,@Spell
|
||||
syn region pythonRawString start=+[rR]"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonRawEscape,@Spell
|
||||
syn region pythonRawString start=+[rR]'''+ skip=+\\'+ end=+'''+ keepend contains=pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonRawString start=+[rR]"""+ skip=+\\"+ end=+"""+ keepend contains=pythonDocTest2,pythonSpaceError,@Spell
|
||||
|
||||
syn region pythonRawFString start=+\%([fF][rR]\|[rR][fF]\)'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonRawEscape,@Spell
|
||||
syn region pythonRawFString start=+\%([fF][rR]\|[rR][fF]\)"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonRawEscape,@Spell
|
||||
syn region pythonRawFString start=+\%([fF][rR]\|[rR][fF]\)'''+ skip=+\\'+ end=+'''+ keepend contains=pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonRawFString start=+\%([fF][rR]\|[rR][fF]\)"""+ skip=+\\"+ end=+"""+ keepend contains=pythonDocTest,pythonSpaceError,@Spell
|
||||
|
||||
syn region pythonRawBytes start=+\%([bB][rR]\|[rR][bB]\)'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end=+$+ keepend contains=pythonRawEscape,@Spell
|
||||
syn region pythonRawBytes start=+\%([bB][rR]\|[rR][bB]\)"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end=+$+ keepend contains=pythonRawEscape,@Spell
|
||||
syn region pythonRawBytes start=+\%([bB][rR]\|[rR][bB]\)'''+ skip=+\\'+ end=+'''+ keepend contains=pythonDocTest,pythonSpaceError,@Spell
|
||||
syn region pythonRawBytes start=+\%([bB][rR]\|[rR][bB]\)"""+ skip=+\\"+ end=+"""+ keepend contains=pythonDocTest2,pythonSpaceError,@Spell
|
||||
|
||||
syn match pythonRawEscape +\\['"]+ display contained
|
||||
|
||||
" % operator string formatting
|
||||
syn match pythonStrFormatting '%\%(([^)]\+)\)\=[-#0 +]*\d*\%(\.\d\+\)\=[hlL]\=[diouxXeEfFgGcrs%]' contained containedin=pythonString,pythonUniString,pythonUniRawString,pythonRawString,pythonBytesContent
|
||||
syn match pythonStrFormatting '%[-#0 +]*\%(\*\|\d\+\)\=\%(\.\%(\*\|\d\+\)\)\=[hlL]\=[diouxXeEfFgGcrs%]' contained containedin=pythonString,pythonUniString,pythonUniRawString,pythonRawString,pythonBytesContent
|
||||
syn match pythonStrFormatting '%\%(([^)]\+)\)\=[-#0 +]*\d*\%(\.\d\+\)\=[hlL]\=[diouxXeEfFgGcrs%]' contained containedin=pythonString,pythonRawString,pythonBytesContent
|
||||
syn match pythonStrFormatting '%[-#0 +]*\%(\*\|\d\+\)\=\%(\.\%(\*\|\d\+\)\)\=[hlL]\=[diouxXeEfFgGcrs%]' contained containedin=pythonString,pythonRawString,pythonBytesContent
|
||||
|
||||
" str.format syntax
|
||||
syn match pythonStrFormat '{{\|}}' contained containedin=pythonString,pythonUniString,pythonUniRawString,pythonRawString
|
||||
syn match pythonStrFormat '{\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)\=\%(\.\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\[\%(\d\+\|[^!:\}]\+\)\]\)*\%(![rsa]\)\=\%(:\%({\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)}\|\%([^}]\=[<>=^]\)\=[ +-]\=#\=0\=\d*,\=\%(\.\d\+\)\=[bcdeEfFgGnosxX%]\=\)\=\)\=}' contained containedin=pythonString,pythonUniString,pythonUniRawString,pythonRawString
|
||||
syn match pythonStrFormat "{\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)\=\%(\.\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\[\%(\d\+\|[^!:\}]\+\)\]\)*\%(![rsa]\)\=\%(:\%({\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)}\|\%([^}]\=[<>=^]\)\=[ +-]\=#\=0\=\d*,\=\%(\.\d\+\)\=[bcdeEfFgGnosxX%]\=\)\=\)\=}" contained containedin=pythonString,pythonRawString
|
||||
syn region pythonStrInterpRegion start="{"he=e+1,rs=e+1 end="\%(![rsa]\)\=\%(:\%({\%(\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*\|\d\+\)}\|\%([^}]\=[<>=^]\)\=[ +-]\=#\=0\=\d*,\=\%(\.\d\+\)\=[bcdeEfFgGnosxX%]\=\)\=\)\=}"hs=s-1,re=s-1 extend contained containedin=pythonFString,pythonRawFString contains=pythonStrInterpRegion,@pythonExpression
|
||||
syn match pythonStrFormat "{{\|}}" contained containedin=pythonString,pythonRawString,pythonFString,pythonRawFString
|
||||
|
||||
" string.Template format
|
||||
syn match pythonStrTemplate '\$\$' contained containedin=pythonString,pythonUniString,pythonUniRawString,pythonRawString
|
||||
syn match pythonStrTemplate '\${[a-zA-Z_][a-zA-Z0-9_]*}' contained containedin=pythonString,pythonUniString,pythonUniRawString,pythonRawString
|
||||
syn match pythonStrTemplate '\$[a-zA-Z_][a-zA-Z0-9_]*' contained containedin=pythonString,pythonUniString,pythonUniRawString,pythonRawString
|
||||
syn match pythonStrTemplate '\$\$' contained containedin=pythonString,pythonRawString
|
||||
syn match pythonStrTemplate '\${[a-zA-Z_][a-zA-Z0-9_]*}' contained containedin=pythonString,pythonRawString
|
||||
syn match pythonStrTemplate '\$[a-zA-Z_][a-zA-Z0-9_]*' contained containedin=pythonString,pythonRawString
|
||||
|
||||
" DocTests
|
||||
syn region pythonDocTest start='^\s*>>>' skip=+\\'+ end=+'''+he=s-1 end='^\s*$' contained
|
||||
syn region pythonDocTest2 start='^\s*>>>' skip=+\\"+ end=+"""+he=s-1 end='^\s*$' contained
|
||||
|
||||
"
|
||||
" Numbers (ints, longs, floats, complex)
|
||||
"
|
||||
|
||||
syn match pythonHexError '\<0[xX]\x*[g-zG-Z]\+\x*[lL]\=\>' display
|
||||
syn match pythonOctError '\<0[oO]\=\o*\D\+\d*[lL]\=\>' display
|
||||
syn match pythonBinError '\<0[bB][01]*\D\+\d*[lL]\=\>' display
|
||||
|
||||
syn match pythonHexNumber '\<0[xX]\x\+[lL]\=\>' display
|
||||
syn match pythonOctNumber '\<0[oO]\o\+[lL]\=\>' display
|
||||
syn match pythonBinNumber '\<0[bB][01]\+[lL]\=\>' display
|
||||
|
||||
syn match pythonNumberError '\<\d\+\D[lL]\=\>' display
|
||||
syn match pythonNumber '\<\d[lL]\=\>' display
|
||||
syn match pythonNumber '\<[0-9]\d\+[lL]\=\>' display
|
||||
syn match pythonNumber '\<\d\+[lLjJ]\>' display
|
||||
|
||||
syn match pythonOctError '\<0[oO]\=\o*[8-9]\d*[lL]\=\>' display
|
||||
syn match pythonBinError '\<0[bB][01]*[2-9]\d*[lL]\=\>' display
|
||||
|
||||
syn match pythonFloat '\.\d\+\%([eE][+-]\=\d\+\)\=[jJ]\=\>' display
|
||||
syn match pythonFloat '\<\d\+[eE][+-]\=\d\+[jJ]\=\>' display
|
||||
syn match pythonFloat '\<\d\+\.\d*\%([eE][+-]\=\d\+\)\=[jJ]\=' display
|
||||
syn match pythonOctError '\<0[oO]\=\o*\D\+\d*\>' display
|
||||
" pythonHexError comes after pythonOctError so that 0xffffl is pythonHexError
|
||||
syn match pythonHexError '\<0[xX]\x*[g-zG-Z]\x*\>' display
|
||||
syn match pythonBinError '\<0[bB][01]*\D\+\d*\>' display
|
||||
|
||||
syn match pythonHexNumber '\<0[xX][_0-9a-fA-F]*\x\>' display
|
||||
syn match pythonOctNumber '\<0[oO][_0-7]*\o\>' display
|
||||
syn match pythonBinNumber '\<0[bB][_01]*[01]\>' display
|
||||
|
||||
syn match pythonNumberError '\<\d[_0-9]*\D\>' display
|
||||
syn match pythonNumberError '\<0[_0-9]\+\>' display
|
||||
syn match pythonNumberError '\<0_x\S*\>' display
|
||||
syn match pythonNumberError '\<0[bBxXoO][_0-9a-fA-F]*_\>' display
|
||||
syn match pythonNumberError '\<\d[_0-9]*_\>' display
|
||||
syn match pythonNumber '\<\d\>' display
|
||||
syn match pythonNumber '\<[1-9][_0-9]*\d\>' display
|
||||
syn match pythonNumber '\<\d[jJ]\>' display
|
||||
syn match pythonNumber '\<[1-9][_0-9]*\d[jJ]\>' display
|
||||
|
||||
syn match pythonOctError '\<0[oO]\=\o*[8-9]\d*\>' display
|
||||
syn match pythonBinError '\<0[bB][01]*[2-9]\d*\>' display
|
||||
|
||||
syn match pythonFloat '\.\d\%([_0-9]*\d\)\=\%([eE][+-]\=\d\%([_0-9]*\d\)\=\)\=[jJ]\=\>' display
|
||||
syn match pythonFloat '\<\d\%([_0-9]*\d\)\=[eE][+-]\=\d\%([_0-9]*\d\)\=[jJ]\=\>' display
|
||||
syn match pythonFloat '\<\d\%([_0-9]*\d\)\=\.\d\%([_0-9]*\d\)\=\%([eE][+-]\=\d\%([_0-9]*\d\)\=\)\=[jJ]\=' display
|
||||
|
||||
"
|
||||
" Builtin objects and types
|
||||
"
|
||||
|
||||
syn keyword pythonNone None
|
||||
syn keyword pythonBoolean True False
|
||||
syn keyword pythonBuiltinObj Ellipsis NotImplemented
|
||||
syn match pythonBuiltinObj '\v\.@<!<%(object|bool|int|float|tuple|str|list|dict|set|frozenset|bytearray|bytes)>'
|
||||
syn keyword pythonBuiltinObj __debug__ __doc__ __file__ __name__ __package__
|
||||
syn keyword pythonBuiltinObj __loader__ __spec__ __path__ __cached__
|
||||
|
||||
"
|
||||
" Builtin functions
|
||||
"
|
||||
syn sync minlines=2000
|
||||
" This is fast but code inside triple quoted strings screws it up. It
|
||||
" is impossible to fix because the only way to know if you are inside a
|
||||
" triple quoted string is to start from the beginning of the file.
|
||||
syn sync match pythonSync grouphere NONE '):$'
|
||||
syn sync maxlines=200
|
||||
|
||||
hi link pythonStatement Statement
|
||||
hi link pythonRaiseFromStatement Statement
|
||||
hi link pythonImport Include
|
||||
hi link pythonFunction Function
|
||||
hi link pythonConditional Conditional
|
||||
hi link pythonRepeat Repeat
|
||||
hi link pythonException Exception
|
||||
hi link pythonOperator Operator
|
||||
hi link pythonDecorator Define
|
||||
hi link pythonDottedName Function
|
||||
hi link pythonDot Normal
|
||||
hi link pythonComment Comment
|
||||
hi link pythonCoding Special
|
||||
hi link pythonRun Special
|
||||
hi link pythonTodo Todo
|
||||
hi link pythonError Error
|
||||
hi link pythonIndentError Error
|
||||
hi link pythonSpaceError Error
|
||||
hi link pythonString String
|
||||
hi link pythonRawString String
|
||||
hi link pythonRawEscape Special
|
||||
hi link pythonUniEscape Special
|
||||
hi link pythonUniEscapeError Error
|
||||
hi link pythonUniString String
|
||||
hi link pythonUniRawString String
|
||||
hi link pythonUniRawEscape Special
|
||||
hi link pythonUniRawEscapeError Error
|
||||
hi link pythonBytes String
|
||||
hi link pythonRawBytes String
|
||||
hi link pythonBytesContent String
|
||||
hi link pythonBytesError Error
|
||||
hi link pythonBytesEscape Special
|
||||
hi link pythonBytesEscapeError Error
|
||||
hi link pythonFString String
|
||||
hi link pythonRawFString String
|
||||
hi link pythonStrInterpRegion Special
|
||||
hi link pythonStrFormatting Special
|
||||
hi link pythonStrFormat Special
|
||||
hi link pythonStrTemplate Special
|
||||
hi link pythonDocTest Special
|
||||
hi link pythonDocTest2 Special
|
||||
hi link pythonNumber Number
|
||||
hi link pythonHexNumber Number
|
||||
hi link pythonOctNumber Number
|
||||
hi link pythonBinNumber Number
|
||||
hi link pythonFloat Float
|
||||
hi link pythonNumberError Error
|
||||
hi link pythonOctError Error
|
||||
hi link pythonHexError Error
|
||||
hi link pythonBinError Error
|
||||
hi link pythonBoolean Boolean
|
||||
hi link pythonNone Constant
|
||||
hi link pythonBuiltinObj Structure
|
||||
hi link pythonBuiltinFunc Function
|
||||
hi link pythonExClass Structure
|
||||
hi link pythonClassVar Identifier
|
||||
|
||||
let b:current_syntax = 'python'
|
||||
Loading…
Add table
Add a link
Reference in a new issue