diff --git a/UltiSnips/all.snippets b/UltiSnips/all.snippets deleted file mode 100644 index e69de29..0000000 diff --git a/UltiSnips/css.snippets b/UltiSnips/css.snippets deleted file mode 100644 index b08516c..0000000 --- a/UltiSnips/css.snippets +++ /dev/null @@ -1,182 +0,0 @@ -snippet sld "/* stylelint-disable-next-line ... */" -/* stylelint-disable-next-line ${1:declaration-block-no-shorthand-property-overrides} */ -endsnippet - -snippet @m "@media ..." -@media (${1:min}-${2:width}: $3) { - $0 -} -endsnippet - -snippet lg "linear-gradient( ... )" -linear-gradient( - ${1:to bottom}, - ${2:transparent}, - ${3:transparent} -)$0 -endsnippet - -snippet bglg "background: linear-gradient ..." -background: linear-gradient( - ${2:to bottom}, - ${3:transparent}, - ${4:transparent} - ); -endsnippet - -snippet flex "display: flex ..." -display: flex; -flex-direction: ${1:row}; -justify-content: ${2:center}; -align-items: ${3:center}; -endsnippet - -snippet w "width: ;" -width: ${1:100%}; -endsnippet - -snippet h "height: ;" -height: ${1:100%}; -endsnippet - -snippet maxw "max-width: ;" -max-width: ${1:100%}; -endsnippet - -snippet maxh "max-height: ;" -max-height: ${1:100%}; -endsnippet - -snippet minw "min-width: ;" -min-width: ${1:100%}; -endsnippet - -snippet minh "min-height: ;" -min-height: ${1:100%}; -endsnippet - -snippet bgc "background-color: ;" -background-color: ${1:transparent}; -endsnippet - -snippet t "top: ... ;" -top: ${1:0}; -endsnippet - -snippet b "bottom: ... ;" -bottom: ${1:0}; -endsnippet - -snippet l "left: ... ;" -left: ${1:0}; -endsnippet - -snippet r "right: ... ;" -right: ${1:0}; -endsnippet - -snippet m "margin: ... ;" -margin: ${1:0}; -endsnippet - -snippet mt "margin-top: ... ;" -margin-top: ${1:0}; -endsnippet - -snippet mb "margin-bottom: ... ;" -margin-bottom: ${1:0}; -endsnippet - -snippet ml "margin-left: ... ;" -margin-left: ${1:0}; -endsnippet - -snippet mr "margin-right: ... ;" -margin-right: ${1:0}; -endsnippet - -snippet p "padding: ... ;" -padding: ${1:0}; -endsnippet - -snippet pt "padding-top: ... ;" -padding-top: ${1:0}; -endsnippet - -snippet pb "padding-bottom: ... ;" -padding-bottom: ${1:0}; -endsnippet - -snippet pl "padding-left: ... ;" -padding-left: ${1:0}; -endsnippet - -snippet pr "padding-right: ... ;" -padding-right: ${1:0}; -endsnippet - -snippet fs "font-size: ... ;" -font-size: ${1:1}${2:rem}; -endsnippet - -snippet o "opacity: ... ;" -opacity: ${1:0}; -endsnippet - -snippet rgbw "rgba( ... )" -rgba(${1:#fff}, ${2:0.5}) -endsnippet - -snippet rgbb "rgba( ... )" -rgba(${1:#000}, ${2:0.5}) -endsnippet - -snippet before "::before { ... }" -${1:&}::before { - content: '$2'; - display: ${3:block}; - position: ${4:absolute}; - width: ${5:100%}; - height: ${6:100%}; - ${7:top}: ${8:0}; - ${9:left}: ${10:0}; -} -endsnippet - -snippet after "::after { ... }" -${1:&}::after { - content: '$2'; - display: ${3:block}; - position: ${4:absolute}; - width: ${5:100%}; - height: ${6:100%}; - ${7:top}: ${8:0}; - ${9:left}: ${10:0}; -} -endsnippet - -snippet befaft "::before, ::after { ... }" -${1:&}::before { -$1::after { - content: '$2'; - display: ${3:block}; - position: ${4:absolute}; - width: ${5:100%}; - height: ${6:100%}; - ${7:top}: ${8:0}; - ${9:left}: ${10:0}; - $0 -} -endsnippet - -snippet bs "box-shadow ...;" -box-shadow: ${1:0} ${2:0} $3px $4px ${5:#000} ${6:inset}; -endsnippet - -snippet pabs "Position: absolute ..." -position: absolute; -width: 100%; -height: 100%; -top: 0; -left: 0; -endsnippet diff --git a/UltiSnips/dosini.snippets b/UltiSnips/dosini.snippets deleted file mode 100644 index 5283cc8..0000000 --- a/UltiSnips/dosini.snippets +++ /dev/null @@ -1,3 +0,0 @@ -snippet polycolor "${colors.color}" -\$\{colors.${1:foreground}}$0 -endsnippet diff --git a/UltiSnips/eruby.snippets b/UltiSnips/eruby.snippets deleted file mode 100644 index fb247de..0000000 --- a/UltiSnips/eruby.snippets +++ /dev/null @@ -1,3 +0,0 @@ -snippet cldef "Colour definition" -$1 = ["#$2", $3, "$4"] -endsnippet diff --git a/UltiSnips/html.snippets b/UltiSnips/html.snippets deleted file mode 100644 index 8b5630a..0000000 --- a/UltiSnips/html.snippets +++ /dev/null @@ -1,37 +0,0 @@ -snippet html5 "HTML% boilerplate." - - - - - - ${2: - } - $1 - - $0 ${4: - } - - -endsnippet - -snippet option "$0 -endsnippet - -snippet c "class= ... " -class="$1"$0 -endsnippet - -snippet plc " - $0 - - - - - -endsnippet - -snippet byinput "Beufy Input Field" -
- -
- -
-
$0 -endsnippet - -snippet byselect "Buefy Select Field" -
- -
-
- -
-
-
-endsnippet - -snippet nt "this.$nextTick( () => { ... })" -this.$nextTick( () => { - $0 -}) -endsnippet - -snippet props "props: { ... }" -props: { - $1: { - type: ${2:Boolean}, - required: ${3:false}, - default() { - return ${4:false}; - }, - }, -},$0 -endsnippet - -snippet prop "property: { ... }" -$1: { - type: ${2:Boolean}, - required: ${3:false}, - default() { - return ${4:false}; - }, -},$0 -endsnippet - -snippet comps "components { ... }" -components: { - $0, -}, -endsnippet - -snippet data "data() { return { ... } }" -data() { - return { - $1: $2,$0 - }; -}, -endsnippet - -snippet compd "computed: { ... }" -computed: { - $1() { - $0 - }, -}, -endsnippet - -snippet meth "methods: { ... }" -methods: { - $1() { - $0 - }, -}, -endsnippet - -snippet style " -endsnippet - -snippet impc "import ... from '~/components...';" -import $1 from '~/components/$1';$0 -endsnippet - -snippet tran " - ${VISUAL}$0 - -endsnippet - -snippet .tran "vue transition selector" -.$1 { - &-enter-active { - transition: ${2:opacity} ${3:1}s; - } - - &-leave-active { - transition: $2 ${4:1}s; - } - - &-enter, - &-leave-to { - $2: ${5:0}; - } -}$0 -endsnippet - -snippet script "" - -endsnippet - -snippet s ":style='{ ... }" -:style="{ '$1': $2 }"$0 -endsnippet diff --git a/after/ftdetect/octobercms.vim b/after/ftdetect/octobercms.vim deleted file mode 100644 index 7de87ef..0000000 --- a/after/ftdetect/octobercms.vim +++ /dev/null @@ -1 +0,0 @@ -au BufNewFile,BufRead *.htm set filetype=octobercms diff --git a/after/ftplugin/help.vim b/after/ftplugin/help.vim deleted file mode 100644 index aa798a4..0000000 --- a/after/ftplugin/help.vim +++ /dev/null @@ -1 +0,0 @@ -nmap q :q diff --git a/after/ftplugin/html.vim b/after/ftplugin/html.vim deleted file mode 100644 index f7175aa..0000000 --- a/after/ftplugin/html.vim +++ /dev/null @@ -1,2 +0,0 @@ -set foldlevelstart=2 -set foldnestmax=5 diff --git a/after/ftplugin/javascript.vim b/after/ftplugin/javascript.vim deleted file mode 100644 index 101be7c..0000000 --- a/after/ftplugin/javascript.vim +++ /dev/null @@ -1,107 +0,0 @@ -" https://gist.github.com/romainl/1f50c55b0ee92e5420de51e6c4b38491 - -nnoremap cF :call CocAction('runCommand', 'eslint.executeAutofix') - -setlocal includeexpr=RESOLVE(v:fname) - -function! RESOLVE(module) abort - let built_ins = [ - \ "assert", - \ "async_hooks", - \ "child_process", - \ "cluster", - \ "crypto", - \ "dns", - \ "domain", - \ "events", - \ "fs", - \ "http", - \ "http2", - \ "https", - \ "inspector", - \ "net", - \ "os", - \ "path", - \ "perf_hooks", - \ "punycode", - \ "querystring", - \ "readline", - \ "stream", - \ "string_decoder", - \ "tls", - \ "tty", - \ "dgram", - \ "url", - \ "util", - \ "v8", - \ "vm", - \ "zlib" ] - - " There's no source file for built-in node modules. - " Example: var http = require('http'); - if index(built_ins, a:module) != -1 - return 0 - endif - - " Handling absolute and relative paths. - " Example: var foo = require('./foo.js'); - if a:module =~ '^\/' || a:module =~ '^\.\{1,2}\/' - let root = fnamemodify(substitute(finddir("node_modules", ".;"), '/node_modules', '', ''), ':p:h:h') - if a:module =~ '^\.\{1,2}\/' - let module = substitute(a:module, '^\.\{1,2}\/', '', '') - endif - - let filename = 0 - try - let filename = findfile(module, root) - catch - try - let filename = findfile(module . ".js", root) - catch - try - let filename = findfile(module . "/index.js", root) - catch - let filename = 0 - endtry - endtry - endtry - - return filename - endif - - " Handling vendored-in modules. - " Example: var _ = require('lodash'); - for dir in NODE_MODULES_PATHS() - " require('module') => node_modules/module/package.json#main => node_modules/module/**/... - if filereadable(dir . "/" . a:module . "/package.json") - let package = json_decode(join(readfile(dir . "/" . a:module . "/package.json"))) - return dir . "/" . a:module . "/" . substitute(get(package, "main", "index.js"), '^\.\{1,2}\/', '', '') - endif - - " require('module') => node_modules/module/index.js - if filereadable(dir . "/" . a:module . "/index.js") - return dir . "/" . a:module . "/index.js" - endif - - " require('module') => node_modules/module.js - if filereadable(dir . "/" . a:module . ".js") - return dir . "/" . a:module . ".js" - endif - endfor - - " well, well, well - return 0 -endfunction - -function! NODE_MODULES_PATHS() abort - " node_modules/ - let node_modules = finddir("node_modules", ".;") - - " node_modules/foo/node_modules/ - let basic_dirs = extend([node_modules], globpath(node_modules, "*/node_modules", 1, 1)) - - " node_modules/@foo/bar/node_modules/ - let all_dirs = extend(basic_dirs, globpath(node_modules, "@*/*/node_modules", 1, 1)) - - return all_dirs -endfunction diff --git a/after/ftplugin/netrw.vim b/after/ftplugin/netrw.vim deleted file mode 100644 index f8d0c79..0000000 --- a/after/ftplugin/netrw.vim +++ /dev/null @@ -1,4 +0,0 @@ -nmap o -nmap q :call CloseNetrw(1) -nmap Q :call CloseNetrw(0) -setl bufhidden=wipe diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim deleted file mode 100644 index 07cea3a..0000000 --- a/after/ftplugin/python.vim +++ /dev/null @@ -1,19 +0,0 @@ -set tabstop=4 -set softtabstop=0 -set shiftwidth=4 -set noexpandtab - -" set softtabstop=8 -" set tabstop=4 -" set shiftwidth=4 - -set textwidth=88 - -set foldmethod=indent -set foldnestmax=1 - -set colorcolumn=88 - -noremap :w:silent !clear;python % :redraw! -nnoremap :call SaveAndExecute('python') -command! CTagsPython !ctags -R --fields=+l --languages=python --python-kinds=-iv -f ./.tags-py $(python -c "import os, sys; print(' '.join('{}'.format(d) for d in sys.path if os.path.isdir(d)))") diff --git a/after/ftplugin/qf.vim b/after/ftplugin/qf.vim deleted file mode 100644 index 78fb903..0000000 --- a/after/ftplugin/qf.vim +++ /dev/null @@ -1,2 +0,0 @@ -nmap o -nmap q :q diff --git a/after/ftplugin/sass.vim b/after/ftplugin/sass.vim deleted file mode 100644 index 79981e1..0000000 --- a/after/ftplugin/sass.vim +++ /dev/null @@ -1,2 +0,0 @@ - -set includeexpr=substitute(substitute(substitute(v:fname,'\%(.*/\|^\)\zs','_',''),'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','') diff --git a/after/ftplugin/vim.vim b/after/ftplugin/vim.vim deleted file mode 100644 index 03361bb..0000000 --- a/after/ftplugin/vim.vim +++ /dev/null @@ -1,2 +0,0 @@ - set foldmethod=marker - diff --git a/after/syntax/gitcommit.vim b/after/syntax/gitcommit.vim deleted file mode 100644 index 11db794..0000000 --- a/after/syntax/gitcommit.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn match gitCommitNumber "\<\d\+\>" containedin=gitCommitComment -syn keyword gitCommitAhead ahead containedin=gitCommitOnBranch -syn keyword gitCommitBehind behind containedin=gitCommitOnBranch diff --git a/after/syntax/html.vim b/after/syntax/html.vim deleted file mode 100644 index eb0b8bf..0000000 --- a/after/syntax/html.vim +++ /dev/null @@ -1,79 +0,0 @@ -syn clear htmlArg -syn clear htmlCssDefinition - -" css classes -syn region cssClassRegion contained start=+class="+hs=s+7 end=+"+he=e-1 contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend -syn region cssClassRegion contained start=+class='+hs=s+7 end=+'+he=e-1 contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend -syn region cssClassName contained start=+"+hs=s+1 end=+"+he=e-1 contains=cssAttrNoise keepend -syn region cssClassName contained start=+'+hs=s+1 end=+'+he=e-1 contains=cssAttrNoise keepend -syn match cssClassAttr "class" contained - -" css IDs -syn region cssIdRegion contained start=+id="+hs=s+4 end=+"+he=e-1 contains=htmlSpecialChar,cssIdentifierAttr,cssAttrNoise,cssIdentifier containedin=htmlTag,htmlTagN keepend -syn region cssIdRegion contained start=+id='+hs=s+4 end=+'+he=e-1 contains=htmlSpecialChar,cssIdentifierAttr,cssAttrNoise,cssIdentifier containedin=htmlTag,htmlTagN keepend -syn region cssIdentifier contained start=+"+hs=s+1 end=+"+he=s-1 contains=cssAttrNoise keepend -syn region cssIdentifier contained start=+'+hs=s+1 end=+'+he=s-1 contains=cssAttrNoise keepend -syn match cssIdentifierAttr "id" contained - -" img arguments -syn region htmlArgRegion contained start=+src="+hs=s+5 end=+"+he=e-1 contains=htmlSpecialChar,cssAttrNoise,htmlSrcArg,htmlSrcValue containedin=htmlTag,htmlTagN keepend -syn region htmlArgRegion contained start=+src='+hs=s+5 end=+'+he=e-1 contains=htmlSpecialChar,cssAttrNoise,htmlSrcArg,htmlSrcValue containedin=htmlTag,htmlTagN keepend -syn region htmlSrcValue contained start=+"+hs=s+1 end=+"+he=s-1 contains=cssAttrNoise keepend -syn region htmlSrcValue contained start=+'+hs=s+1 end=+'+he=s-1 contains=cssAttrNoise keepend -syn match htmlSrcArg "src" contained - -syn region htmlArgRegion contained start=+srcset="+hs=s+8 end=+"+he=e-1 contains=htmlSpecialChar,htmlSrcsetArg,htmlSrcsetValue,cssAttrNoise containedin=htmlTag,htmlTagN keepend -syn region htmlArgRegion contained start=+srcset='+hs=s+8 end=+'+he=e-1 contains=htmlSpecialChar,htmlSrcsetArg,htmlSrcsetValue,cssAttrNoise containedin=htmlTag,htmlTagN keepend -syn region htmlSrcsetValue contained start=+"+hs=s+1 end=+"+he=s-1 contains=cssAttrNoise keepend -syn region htmlSrcsetValue contained start=+'+hs=s+1 end=+'+he=s-1 contains=cssAttrNoise keepend -syn match htmlSrcsetArg "srcset" contained - -syn region htmlArgRegion contained start=+\\)" containedin=htmlTag,vueTag,htmlTagN -syn region vueLink start="[^>]*" end=""me=e-14 contains=@Spell,vueTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLeadingSpace,javaScript,@htmlPreproc,vueComponentName -syn region vueTag start=+<[^/]+ end=+>+ fold contained contains=htmlString,htmlArg,htmlValue,htmlTagError,htmlEvent,htmlCssDefinition,@htmlPreproc,@htmlArgCluster,vueDynamicComponent -syn match vueComponentName contained "router-link" containedin=vueTag,htmlEndTag -hi! def link vueLink htmlLink - -syn match vueDynamicComponent contained "\\|\\|\" containedin=htmlTag,vueTag,htmlTagN -syn match vueTransitionComponent contained "\" containedin=htmlTag,vueTag,htmlTagN nextgroup=vueTransitionName,vueTransitionMode -syn region vueTransitionName contained start=+\sname="+hs=s+7 end=+"+he=e-1 containedin=htmlTag,vueTag,htmlTagN -syn region vueTransitionMode contained start=+\smode="+hs=s+7 end=+"+he=e-1 containedin=htmlTag,vueTag,htmlTagN - -syn keyword vueTagSpecial contained template script style containedin=htmlTagN -syn keyword htmlArg contained scoped ts - -" syn region cssClassRegion contained start=+classes="+hs=s+9 end=+"+he=e-1 contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend -" syn region cssClassRegion contained start=+classes='+hs=s+9 end=+'+he=e-1 contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend - -syn match cssClassesAttr contained "\<[-a-zA-z0-9]*class[-a-zA-z0-9]*=" contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,vueTag,htmlTagN keepend nextgroup=vueClassesName - -syn region vueClassesName contained start=+"+hs=s+1 end=+"+he=e-1 - -hi def link cssClassesAttr cssClassAttr -hi def link vueClassesname cssClassName -hi def link vueObjectKey cssClassName -hi def link vueDirectiveClass Noise -hi def link vueDirectiveClassName vueClassesName -hi def link vueMustache Identifier diff --git a/autoload/ft/compileeruby.vim b/autoload/ft/compileeruby.vim deleted file mode 100644 index a21ba6e..0000000 --- a/autoload/ft/compileeruby.vim +++ /dev/null @@ -1,9 +0,0 @@ -function! ft#compileeruby#CompileEruby(reload) abort - silent execute 'update | edit' - execute '!erb -T - % > %:r.vim' - if a:reload - source $MYVIMRC - endif -endfunction - - diff --git a/autoload/plug.vim b/autoload/plug.vim deleted file mode 100644 index 4e05630..0000000 --- a/autoload/plug.vim +++ /dev/null @@ -1,2526 +0,0 @@ -" vim-plug: Vim plugin manager -" ============================ -" -" Download plug.vim and put it in ~/.vim/autoload -" -" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ -" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -" -" Edit your .vimrc -" -" call plug#begin('~/.vim/plugged') -" -" " Make sure you use single quotes -" -" " Shorthand notation; fetches https://github.com/junegunn/vim-easy-align -" Plug 'junegunn/vim-easy-align' -" -" " Any valid git URL is allowed -" Plug 'https://github.com/junegunn/vim-github-dashboard.git' -" -" " Multiple Plug commands can be written in a single line using | separators -" Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' -" -" " On-demand loading -" Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } -" Plug 'tpope/vim-fireplace', { 'for': 'clojure' } -" -" " Using a non-master branch -" Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' } -" -" " Using a tagged release; wildcard allowed (requires git 1.9.2 or above) -" Plug 'fatih/vim-go', { 'tag': '*' } -" -" " Plugin options -" Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' } -" -" " Plugin outside ~/.vim/plugged with post-update hook -" Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } -" -" " Unmanaged plugin (manually installed and updated) -" Plug '~/my-prototype-plugin' -" -" " Initialize plugin system -" call plug#end() -" -" Then reload .vimrc and :PlugInstall to install plugins. -" -" Plug options: -" -"| Option | Description | -"| ----------------------- | ------------------------------------------------ | -"| `branch`/`tag`/`commit` | Branch/tag/commit of the repository to use | -"| `rtp` | Subdirectory that contains Vim plugin | -"| `dir` | Custom directory for the plugin | -"| `as` | Use different name for the plugin | -"| `do` | Post-update hook (string or funcref) | -"| `on` | On-demand loading: Commands or ``-mappings | -"| `for` | On-demand loading: File types | -"| `frozen` | Do not update unless explicitly specified | -" -" More information: https://github.com/junegunn/vim-plug -" -" -" Copyright (c) 2017 Junegunn Choi -" -" MIT License -" -" 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. - -if exists('g:loaded_plug') - finish -endif -let g:loaded_plug = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let s:plug_src = 'https://github.com/junegunn/vim-plug.git' -let s:plug_tab = get(s:, 'plug_tab', -1) -let s:plug_buf = get(s:, 'plug_buf', -1) -let s:mac_gui = has('gui_macvim') && has('gui_running') -let s:is_win = has('win32') -let s:nvim = has('nvim-0.2') || (has('nvim') && exists('*jobwait') && !s:is_win) -let s:vim8 = has('patch-8.0.0039') && exists('*job_start') -let s:me = resolve(expand(':p')) -let s:base_spec = { 'branch': 'master', 'frozen': 0 } -let s:TYPE = { -\ 'string': type(''), -\ 'list': type([]), -\ 'dict': type({}), -\ 'funcref': type(function('call')) -\ } -let s:loaded = get(s:, 'loaded', {}) -let s:triggers = get(s:, 'triggers', {}) - -function! plug#begin(...) - if a:0 > 0 - let s:plug_home_org = a:1 - let home = s:path(fnamemodify(expand(a:1), ':p')) - elseif exists('g:plug_home') - let home = s:path(g:plug_home) - elseif !empty(&rtp) - let home = s:path(split(&rtp, ',')[0]) . '/plugged' - else - return s:err('Unable to determine plug home. Try calling plug#begin() with a path argument.') - endif - if fnamemodify(home, ':t') ==# 'plugin' && fnamemodify(home, ':h') ==# s:first_rtp - return s:err('Invalid plug home. '.home.' is a standard Vim runtime path and is not allowed.') - endif - - let g:plug_home = home - let g:plugs = {} - let g:plugs_order = [] - let s:triggers = {} - - call s:define_commands() - return 1 -endfunction - -function! s:define_commands() - command! -nargs=+ -bar Plug call plug#() - if !executable('git') - return s:err('`git` executable not found. Most commands will not be available. To suppress this message, prepend `silent!` to `call plug#begin(...)`.') - endif - command! -nargs=* -bar -bang -complete=customlist,s:names PlugInstall call s:install(0, []) - command! -nargs=* -bar -bang -complete=customlist,s:names PlugUpdate call s:update(0, []) - command! -nargs=0 -bar -bang PlugClean call s:clean(0) - command! -nargs=0 -bar PlugUpgrade if s:upgrade() | execute 'source' s:esc(s:me) | endif - command! -nargs=0 -bar PlugStatus call s:status() - command! -nargs=0 -bar PlugDiff call s:diff() - command! -nargs=? -bar -bang -complete=file PlugSnapshot call s:snapshot(0, ) -endfunction - -function! s:to_a(v) - return type(a:v) == s:TYPE.list ? a:v : [a:v] -endfunction - -function! s:to_s(v) - return type(a:v) == s:TYPE.string ? a:v : join(a:v, "\n") . "\n" -endfunction - -function! s:glob(from, pattern) - return s:lines(globpath(a:from, a:pattern)) -endfunction - -function! s:source(from, ...) - let found = 0 - for pattern in a:000 - for vim in s:glob(a:from, pattern) - execute 'source' s:esc(vim) - let found = 1 - endfor - endfor - return found -endfunction - -function! s:assoc(dict, key, val) - let a:dict[a:key] = add(get(a:dict, a:key, []), a:val) -endfunction - -function! s:ask(message, ...) - call inputsave() - echohl WarningMsg - let answer = input(a:message.(a:0 ? ' (y/N/a) ' : ' (y/N) ')) - echohl None - call inputrestore() - echo "\r" - return (a:0 && answer =~? '^a') ? 2 : (answer =~? '^y') ? 1 : 0 -endfunction - -function! s:ask_no_interrupt(...) - try - return call('s:ask', a:000) - catch - return 0 - endtry -endfunction - -function! s:lazy(plug, opt) - return has_key(a:plug, a:opt) && - \ (empty(s:to_a(a:plug[a:opt])) || - \ !isdirectory(a:plug.dir) || - \ len(s:glob(s:rtp(a:plug), 'plugin')) || - \ len(s:glob(s:rtp(a:plug), 'after/plugin'))) -endfunction - -function! plug#end() - if !exists('g:plugs') - return s:err('Call plug#begin() first') - endif - - if exists('#PlugLOD') - augroup PlugLOD - autocmd! - augroup END - augroup! PlugLOD - endif - let lod = { 'ft': {}, 'map': {}, 'cmd': {} } - - if exists('g:did_load_filetypes') - filetype off - endif - for name in g:plugs_order - if !has_key(g:plugs, name) - continue - endif - let plug = g:plugs[name] - if get(s:loaded, name, 0) || !s:lazy(plug, 'on') && !s:lazy(plug, 'for') - let s:loaded[name] = 1 - continue - endif - - if has_key(plug, 'on') - let s:triggers[name] = { 'map': [], 'cmd': [] } - for cmd in s:to_a(plug.on) - if cmd =~? '^.\+' - if empty(mapcheck(cmd)) && empty(mapcheck(cmd, 'i')) - call s:assoc(lod.map, cmd, name) - endif - call add(s:triggers[name].map, cmd) - elseif cmd =~# '^[A-Z]' - let cmd = substitute(cmd, '!*$', '', '') - if exists(':'.cmd) != 2 - call s:assoc(lod.cmd, cmd, name) - endif - call add(s:triggers[name].cmd, cmd) - else - call s:err('Invalid `on` option: '.cmd. - \ '. Should start with an uppercase letter or ``.') - endif - endfor - endif - - if has_key(plug, 'for') - let types = s:to_a(plug.for) - if !empty(types) - augroup filetypedetect - call s:source(s:rtp(plug), 'ftdetect/**/*.vim', 'after/ftdetect/**/*.vim') - augroup END - endif - for type in types - call s:assoc(lod.ft, type, name) - endfor - endif - endfor - - for [cmd, names] in items(lod.cmd) - execute printf( - \ 'command! -nargs=* -range -bang -complete=file %s call s:lod_cmd(%s, "", , , , %s)', - \ cmd, string(cmd), string(names)) - endfor - - for [map, names] in items(lod.map) - for [mode, map_prefix, key_prefix] in - \ [['i', '', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']] - execute printf( - \ '%snoremap %s %s:call lod_map(%s, %s, %s, "%s")', - \ mode, map, map_prefix, string(map), string(names), mode != 'i', key_prefix) - endfor - endfor - - for [ft, names] in items(lod.ft) - augroup PlugLOD - execute printf('autocmd FileType %s call lod_ft(%s, %s)', - \ ft, string(ft), string(names)) - augroup END - endfor - - call s:reorg_rtp() - filetype plugin indent on - if has('vim_starting') - if has('syntax') && !exists('g:syntax_on') - syntax enable - end - else - call s:reload_plugins() - endif -endfunction - -function! s:loaded_names() - return filter(copy(g:plugs_order), 'get(s:loaded, v:val, 0)') -endfunction - -function! s:load_plugin(spec) - call s:source(s:rtp(a:spec), 'plugin/**/*.vim', 'after/plugin/**/*.vim') -endfunction - -function! s:reload_plugins() - for name in s:loaded_names() - call s:load_plugin(g:plugs[name]) - endfor -endfunction - -function! s:trim(str) - return substitute(a:str, '[\/]\+$', '', '') -endfunction - -function! s:version_requirement(val, min) - for idx in range(0, len(a:min) - 1) - let v = get(a:val, idx, 0) - if v < a:min[idx] | return 0 - elseif v > a:min[idx] | return 1 - endif - endfor - return 1 -endfunction - -function! s:git_version_requirement(...) - if !exists('s:git_version') - let s:git_version = map(split(split(s:system('git --version'))[2], '\.'), 'str2nr(v:val)') - endif - return s:version_requirement(s:git_version, a:000) -endfunction - -function! s:progress_opt(base) - return a:base && !s:is_win && - \ s:git_version_requirement(1, 7, 1) ? '--progress' : '' -endfunction - -if s:is_win - function! s:rtp(spec) - return s:path(a:spec.dir . get(a:spec, 'rtp', '')) - endfunction - - function! s:path(path) - return s:trim(substitute(a:path, '/', '\', 'g')) - endfunction - - function! s:dirpath(path) - return s:path(a:path) . '\' - endfunction - - function! s:is_local_plug(repo) - return a:repo =~? '^[a-z]:\|^[%~]' - endfunction -else - function! s:rtp(spec) - return s:dirpath(a:spec.dir . get(a:spec, 'rtp', '')) - endfunction - - function! s:path(path) - return s:trim(a:path) - endfunction - - function! s:dirpath(path) - return substitute(a:path, '[/\\]*$', '/', '') - endfunction - - function! s:is_local_plug(repo) - return a:repo[0] =~ '[/$~]' - endfunction -endif - -function! s:err(msg) - echohl ErrorMsg - echom '[vim-plug] '.a:msg - echohl None -endfunction - -function! s:warn(cmd, msg) - echohl WarningMsg - execute a:cmd 'a:msg' - echohl None -endfunction - -function! s:esc(path) - return escape(a:path, ' ') -endfunction - -function! s:escrtp(path) - return escape(a:path, ' ,') -endfunction - -function! s:remove_rtp() - for name in s:loaded_names() - let rtp = s:rtp(g:plugs[name]) - execute 'set rtp-='.s:escrtp(rtp) - let after = globpath(rtp, 'after') - if isdirectory(after) - execute 'set rtp-='.s:escrtp(after) - endif - endfor -endfunction - -function! s:reorg_rtp() - if !empty(s:first_rtp) - execute 'set rtp-='.s:first_rtp - execute 'set rtp-='.s:last_rtp - endif - - " &rtp is modified from outside - if exists('s:prtp') && s:prtp !=# &rtp - call s:remove_rtp() - unlet! s:middle - endif - - let s:middle = get(s:, 'middle', &rtp) - let rtps = map(s:loaded_names(), 's:rtp(g:plugs[v:val])') - let afters = filter(map(copy(rtps), 'globpath(v:val, "after")'), '!empty(v:val)') - let rtp = join(map(rtps, 'escape(v:val, ",")'), ',') - \ . ','.s:middle.',' - \ . join(map(afters, 'escape(v:val, ",")'), ',') - let &rtp = substitute(substitute(rtp, ',,*', ',', 'g'), '^,\|,$', '', 'g') - let s:prtp = &rtp - - if !empty(s:first_rtp) - execute 'set rtp^='.s:first_rtp - execute 'set rtp+='.s:last_rtp - endif -endfunction - -function! s:doautocmd(...) - if exists('#'.join(a:000, '#')) - execute 'doautocmd' ((v:version > 703 || has('patch442')) ? '' : '') join(a:000) - endif -endfunction - -function! s:dobufread(names) - for name in a:names - let path = s:rtp(g:plugs[name]).'/**' - for dir in ['ftdetect', 'ftplugin'] - if len(finddir(dir, path)) - if exists('#BufRead') - doautocmd BufRead - endif - return - endif - endfor - endfor -endfunction - -function! plug#load(...) - if a:0 == 0 - return s:err('Argument missing: plugin name(s) required') - endif - if !exists('g:plugs') - return s:err('plug#begin was not called') - endif - let names = a:0 == 1 && type(a:1) == s:TYPE.list ? a:1 : a:000 - let unknowns = filter(copy(names), '!has_key(g:plugs, v:val)') - if !empty(unknowns) - let s = len(unknowns) > 1 ? 's' : '' - return s:err(printf('Unknown plugin%s: %s', s, join(unknowns, ', '))) - end - let unloaded = filter(copy(names), '!get(s:loaded, v:val, 0)') - if !empty(unloaded) - for name in unloaded - call s:lod([name], ['ftdetect', 'after/ftdetect', 'plugin', 'after/plugin']) - endfor - call s:dobufread(unloaded) - return 1 - end - return 0 -endfunction - -function! s:remove_triggers(name) - if !has_key(s:triggers, a:name) - return - endif - for cmd in s:triggers[a:name].cmd - execute 'silent! delc' cmd - endfor - for map in s:triggers[a:name].map - execute 'silent! unmap' map - execute 'silent! iunmap' map - endfor - call remove(s:triggers, a:name) -endfunction - -function! s:lod(names, types, ...) - for name in a:names - call s:remove_triggers(name) - let s:loaded[name] = 1 - endfor - call s:reorg_rtp() - - for name in a:names - let rtp = s:rtp(g:plugs[name]) - for dir in a:types - call s:source(rtp, dir.'/**/*.vim') - endfor - if a:0 - if !s:source(rtp, a:1) && !empty(s:glob(rtp, a:2)) - execute 'runtime' a:1 - endif - call s:source(rtp, a:2) - endif - call s:doautocmd('User', name) - endfor -endfunction - -function! s:lod_ft(pat, names) - let syn = 'syntax/'.a:pat.'.vim' - call s:lod(a:names, ['plugin', 'after/plugin'], syn, 'after/'.syn) - execute 'autocmd! PlugLOD FileType' a:pat - call s:doautocmd('filetypeplugin', 'FileType') - call s:doautocmd('filetypeindent', 'FileType') -endfunction - -function! s:lod_cmd(cmd, bang, l1, l2, args, names) - call s:lod(a:names, ['ftdetect', 'after/ftdetect', 'plugin', 'after/plugin']) - call s:dobufread(a:names) - execute printf('%s%s%s %s', (a:l1 == a:l2 ? '' : (a:l1.','.a:l2)), a:cmd, a:bang, a:args) -endfunction - -function! s:lod_map(map, names, with_prefix, prefix) - call s:lod(a:names, ['ftdetect', 'after/ftdetect', 'plugin', 'after/plugin']) - call s:dobufread(a:names) - let extra = '' - while 1 - let c = getchar(0) - if c == 0 - break - endif - let extra .= nr2char(c) - endwhile - - if a:with_prefix - let prefix = v:count ? v:count : '' - let prefix .= '"'.v:register.a:prefix - if mode(1) == 'no' - if v:operator == 'c' - let prefix = "\" . prefix - endif - let prefix .= v:operator - endif - call feedkeys(prefix, 'n') - endif - call feedkeys(substitute(a:map, '^', "\", '') . extra) -endfunction - -function! plug#(repo, ...) - if a:0 > 1 - return s:err('Invalid number of arguments (1..2)') - endif - - try - let repo = s:trim(a:repo) - let opts = a:0 == 1 ? s:parse_options(a:1) : s:base_spec - let name = get(opts, 'as', fnamemodify(repo, ':t:s?\.git$??')) - let spec = extend(s:infer_properties(name, repo), opts) - if !has_key(g:plugs, name) - call add(g:plugs_order, name) - endif - let g:plugs[name] = spec - let s:loaded[name] = get(s:loaded, name, 0) - catch - return s:err(v:exception) - endtry -endfunction - -function! s:parse_options(arg) - let opts = copy(s:base_spec) - let type = type(a:arg) - if type == s:TYPE.string - let opts.tag = a:arg - elseif type == s:TYPE.dict - call extend(opts, a:arg) - if has_key(opts, 'dir') - let opts.dir = s:dirpath(expand(opts.dir)) - endif - else - throw 'Invalid argument type (expected: string or dictionary)' - endif - return opts -endfunction - -function! s:infer_properties(name, repo) - let repo = a:repo - if s:is_local_plug(repo) - return { 'dir': s:dirpath(expand(repo)) } - else - if repo =~ ':' - let uri = repo - else - if repo !~ '/' - throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo) - endif - let fmt = get(g:, 'plug_url_format', 'https://git::@github.com/%s.git') - let uri = printf(fmt, repo) - endif - return { 'dir': s:dirpath(g:plug_home.'/'.a:name), 'uri': uri } - endif -endfunction - -function! s:install(force, names) - call s:update_impl(0, a:force, a:names) -endfunction - -function! s:update(force, names) - call s:update_impl(1, a:force, a:names) -endfunction - -function! plug#helptags() - if !exists('g:plugs') - return s:err('plug#begin was not called') - endif - for spec in values(g:plugs) - let docd = join([s:rtp(spec), 'doc'], '/') - if isdirectory(docd) - silent! execute 'helptags' s:esc(docd) - endif - endfor - return 1 -endfunction - -function! s:syntax() - syntax clear - syntax region plug1 start=/\%1l/ end=/\%2l/ contains=plugNumber - syntax region plug2 start=/\%2l/ end=/\%3l/ contains=plugBracket,plugX - syn match plugNumber /[0-9]\+[0-9.]*/ contained - syn match plugBracket /[[\]]/ contained - syn match plugX /x/ contained - syn match plugDash /^-/ - syn match plugPlus /^+/ - syn match plugStar /^*/ - syn match plugMessage /\(^- \)\@<=.*/ - syn match plugName /\(^- \)\@<=[^ ]*:/ - syn match plugSha /\%(: \)\@<=[0-9a-f]\{4,}$/ - syn match plugTag /(tag: [^)]\+)/ - syn match plugInstall /\(^+ \)\@<=[^:]*/ - syn match plugUpdate /\(^* \)\@<=[^:]*/ - syn match plugCommit /^ \X*[0-9a-f]\{7,9} .*/ contains=plugRelDate,plugEdge,plugTag - syn match plugEdge /^ \X\+$/ - syn match plugEdge /^ \X*/ contained nextgroup=plugSha - syn match plugSha /[0-9a-f]\{7,9}/ contained - syn match plugRelDate /([^)]*)$/ contained - syn match plugNotLoaded /(not loaded)$/ - syn match plugError /^x.*/ - syn region plugDeleted start=/^\~ .*/ end=/^\ze\S/ - syn match plugH2 /^.*:\n-\+$/ - syn keyword Function PlugInstall PlugStatus PlugUpdate PlugClean - hi def link plug1 Title - hi def link plug2 Repeat - hi def link plugH2 Type - hi def link plugX Exception - hi def link plugBracket Structure - hi def link plugNumber Number - - hi def link plugDash Special - hi def link plugPlus Constant - hi def link plugStar Boolean - - hi def link plugMessage Function - hi def link plugName Label - hi def link plugInstall Function - hi def link plugUpdate Type - - hi def link plugError Error - hi def link plugDeleted Ignore - hi def link plugRelDate Comment - hi def link plugEdge PreProc - hi def link plugSha Identifier - hi def link plugTag Constant - - hi def link plugNotLoaded Comment -endfunction - -function! s:lpad(str, len) - return a:str . repeat(' ', a:len - len(a:str)) -endfunction - -function! s:lines(msg) - return split(a:msg, "[\r\n]") -endfunction - -function! s:lastline(msg) - return get(s:lines(a:msg), -1, '') -endfunction - -function! s:new_window() - execute get(g:, 'plug_window', 'vertical topleft new') -endfunction - -function! s:plug_window_exists() - let buflist = tabpagebuflist(s:plug_tab) - return !empty(buflist) && index(buflist, s:plug_buf) >= 0 -endfunction - -function! s:switch_in() - if !s:plug_window_exists() - return 0 - endif - - if winbufnr(0) != s:plug_buf - let s:pos = [tabpagenr(), winnr(), winsaveview()] - execute 'normal!' s:plug_tab.'gt' - let winnr = bufwinnr(s:plug_buf) - execute winnr.'wincmd w' - call add(s:pos, winsaveview()) - else - let s:pos = [winsaveview()] - endif - - setlocal modifiable - return 1 -endfunction - -function! s:switch_out(...) - call winrestview(s:pos[-1]) - setlocal nomodifiable - if a:0 > 0 - execute a:1 - endif - - if len(s:pos) > 1 - execute 'normal!' s:pos[0].'gt' - execute s:pos[1] 'wincmd w' - call winrestview(s:pos[2]) - endif -endfunction - -function! s:finish_bindings() - nnoremap R :call retry() - nnoremap D :PlugDiff - nnoremap S :PlugStatus - nnoremap U :call status_update() - xnoremap U :call status_update() - nnoremap ]] :silent! call section('') - nnoremap [[ :silent! call section('b') -endfunction - -function! s:prepare(...) - if empty(getcwd()) - throw 'Invalid current working directory. Cannot proceed.' - endif - - for evar in ['$GIT_DIR', '$GIT_WORK_TREE'] - if exists(evar) - throw evar.' detected. Cannot proceed.' - endif - endfor - - call s:job_abort() - if s:switch_in() - if b:plug_preview == 1 - pc - endif - enew - else - call s:new_window() - endif - - nnoremap q :if b:plug_preview==1pcendifbd - if a:0 == 0 - call s:finish_bindings() - endif - let b:plug_preview = -1 - let s:plug_tab = tabpagenr() - let s:plug_buf = winbufnr(0) - call s:assign_name() - - for k in ['', 'L', 'o', 'X', 'd', 'dd'] - execute 'silent! unmap ' k - endfor - setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline modifiable nospell - if exists('+colorcolumn') - setlocal colorcolumn= - endif - setf vim-plug - if exists('g:syntax_on') - call s:syntax() - endif -endfunction - -function! s:assign_name() - " Assign buffer name - let prefix = '[Plugins]' - let name = prefix - let idx = 2 - while bufexists(name) - let name = printf('%s (%s)', prefix, idx) - let idx = idx + 1 - endwhile - silent! execute 'f' fnameescape(name) -endfunction - -function! s:chsh(swap) - let prev = [&shell, &shellcmdflag, &shellredir] - if s:is_win - set shell=cmd.exe shellcmdflag=/c shellredir=>%s\ 2>&1 - elseif a:swap - set shell=sh shellredir=>%s\ 2>&1 - endif - return prev -endfunction - -function! s:bang(cmd, ...) - try - let [sh, shellcmdflag, shrd] = s:chsh(a:0) - " FIXME: Escaping is incomplete. We could use shellescape with eval, - " but it won't work on Windows. - let cmd = a:0 ? s:with_cd(a:cmd, a:1) : a:cmd - if s:is_win - let batchfile = tempname().'.bat' - call writefile(["@echo off\r", cmd . "\r"], batchfile) - let cmd = batchfile - endif - let g:_plug_bang = (s:is_win && has('gui_running') ? 'silent ' : '').'!'.escape(cmd, '#!%') - execute "normal! :execute g:_plug_bang\\" - finally - unlet g:_plug_bang - let [&shell, &shellcmdflag, &shellredir] = [sh, shellcmdflag, shrd] - if s:is_win - call delete(batchfile) - endif - endtry - return v:shell_error ? 'Exit status: ' . v:shell_error : '' -endfunction - -function! s:regress_bar() - let bar = substitute(getline(2)[1:-2], '.*\zs=', 'x', '') - call s:progress_bar(2, bar, len(bar)) -endfunction - -function! s:is_updated(dir) - return !empty(s:system_chomp('git log --pretty=format:"%h" "HEAD...HEAD@{1}"', a:dir)) -endfunction - -function! s:do(pull, force, todo) - for [name, spec] in items(a:todo) - if !isdirectory(spec.dir) - continue - endif - let installed = has_key(s:update.new, name) - let updated = installed ? 0 : - \ (a:pull && index(s:update.errors, name) < 0 && s:is_updated(spec.dir)) - if a:force || installed || updated - execute 'cd' s:esc(spec.dir) - call append(3, '- Post-update hook for '. name .' ... ') - let error = '' - let type = type(spec.do) - if type == s:TYPE.string - if spec.do[0] == ':' - if !get(s:loaded, name, 0) - let s:loaded[name] = 1 - call s:reorg_rtp() - endif - call s:load_plugin(spec) - try - execute spec.do[1:] - catch - let error = v:exception - endtry - if !s:plug_window_exists() - cd - - throw 'Warning: vim-plug was terminated by the post-update hook of '.name - endif - else - let error = s:bang(spec.do) - endif - elseif type == s:TYPE.funcref - try - let status = installed ? 'installed' : (updated ? 'updated' : 'unchanged') - call spec.do({ 'name': name, 'status': status, 'force': a:force }) - catch - let error = v:exception - endtry - else - let error = 'Invalid hook type' - endif - call s:switch_in() - call setline(4, empty(error) ? (getline(4) . 'OK') - \ : ('x' . getline(4)[1:] . error)) - if !empty(error) - call add(s:update.errors, name) - call s:regress_bar() - endif - cd - - endif - endfor -endfunction - -function! s:hash_match(a, b) - return stridx(a:a, a:b) == 0 || stridx(a:b, a:a) == 0 -endfunction - -function! s:checkout(spec) - let sha = a:spec.commit - let output = s:system('git rev-parse HEAD', a:spec.dir) - if !v:shell_error && !s:hash_match(sha, s:lines(output)[0]) - let output = s:system( - \ 'git fetch --depth 999999 && git checkout '.s:esc(sha).' --', a:spec.dir) - endif - return output -endfunction - -function! s:finish(pull) - let new_frozen = len(filter(keys(s:update.new), 'g:plugs[v:val].frozen')) - if new_frozen - let s = new_frozen > 1 ? 's' : '' - call append(3, printf('- Installed %d frozen plugin%s', new_frozen, s)) - endif - call append(3, '- Finishing ... ') | 4 - redraw - call plug#helptags() - call plug#end() - call setline(4, getline(4) . 'Done!') - redraw - let msgs = [] - if !empty(s:update.errors) - call add(msgs, "Press 'R' to retry.") - endif - if a:pull && len(s:update.new) < len(filter(getline(5, '$'), - \ "v:val =~ '^- ' && v:val !~# 'Already up.to.date'")) - call add(msgs, "Press 'D' to see the updated changes.") - endif - echo join(msgs, ' ') - call s:finish_bindings() -endfunction - -function! s:retry() - if empty(s:update.errors) - return - endif - echo - call s:update_impl(s:update.pull, s:update.force, - \ extend(copy(s:update.errors), [s:update.threads])) -endfunction - -function! s:is_managed(name) - return has_key(g:plugs[a:name], 'uri') -endfunction - -function! s:names(...) - return sort(filter(keys(g:plugs), 'stridx(v:val, a:1) == 0 && s:is_managed(v:val)')) -endfunction - -function! s:check_ruby() - silent! ruby require 'thread'; VIM::command("let g:plug_ruby = '#{RUBY_VERSION}'") - if !exists('g:plug_ruby') - redraw! - return s:warn('echom', 'Warning: Ruby interface is broken') - endif - let ruby_version = split(g:plug_ruby, '\.') - unlet g:plug_ruby - return s:version_requirement(ruby_version, [1, 8, 7]) -endfunction - -function! s:update_impl(pull, force, args) abort - let sync = index(a:args, '--sync') >= 0 || has('vim_starting') - let args = filter(copy(a:args), 'v:val != "--sync"') - let threads = (len(args) > 0 && args[-1] =~ '^[1-9][0-9]*$') ? - \ remove(args, -1) : get(g:, 'plug_threads', 16) - - let managed = filter(copy(g:plugs), 's:is_managed(v:key)') - let todo = empty(args) ? filter(managed, '!v:val.frozen || !isdirectory(v:val.dir)') : - \ filter(managed, 'index(args, v:key) >= 0') - - if empty(todo) - return s:warn('echo', 'No plugin to '. (a:pull ? 'update' : 'install')) - endif - - if !s:is_win && s:git_version_requirement(2, 3) - let s:git_terminal_prompt = exists('$GIT_TERMINAL_PROMPT') ? $GIT_TERMINAL_PROMPT : '' - let $GIT_TERMINAL_PROMPT = 0 - for plug in values(todo) - let plug.uri = substitute(plug.uri, - \ '^https://git::@github\.com', 'https://github.com', '') - endfor - endif - - if !isdirectory(g:plug_home) - try - call mkdir(g:plug_home, 'p') - catch - return s:err(printf('Invalid plug directory: %s. '. - \ 'Try to call plug#begin with a valid directory', g:plug_home)) - endtry - endif - - if has('nvim') && !exists('*jobwait') && threads > 1 - call s:warn('echom', '[vim-plug] Update Neovim for parallel installer') - endif - - let use_job = s:nvim || s:vim8 - let python = (has('python') || has('python3')) && !use_job - let ruby = has('ruby') && !use_job && (v:version >= 703 || v:version == 702 && has('patch374')) && !(s:is_win && has('gui_running')) && threads > 1 && s:check_ruby() - - let s:update = { - \ 'start': reltime(), - \ 'all': todo, - \ 'todo': copy(todo), - \ 'errors': [], - \ 'pull': a:pull, - \ 'force': a:force, - \ 'new': {}, - \ 'threads': (python || ruby || use_job) ? min([len(todo), threads]) : 1, - \ 'bar': '', - \ 'fin': 0 - \ } - - call s:prepare(1) - call append(0, ['', '']) - normal! 2G - silent! redraw - - let s:clone_opt = get(g:, 'plug_shallow', 1) ? - \ '--depth 1' . (s:git_version_requirement(1, 7, 10) ? ' --no-single-branch' : '') : '' - - if has('win32unix') - let s:clone_opt .= ' -c core.eol=lf -c core.autocrlf=input' - endif - - let s:submodule_opt = s:git_version_requirement(2, 8) ? ' --jobs='.threads : '' - - " Python version requirement (>= 2.7) - if python && !has('python3') && !ruby && !use_job && s:update.threads > 1 - redir => pyv - silent python import platform; print platform.python_version() - redir END - let python = s:version_requirement( - \ map(split(split(pyv)[0], '\.'), 'str2nr(v:val)'), [2, 6]) - endif - - if (python || ruby) && s:update.threads > 1 - try - let imd = &imd - if s:mac_gui - set noimd - endif - if ruby - call s:update_ruby() - else - call s:update_python() - endif - catch - let lines = getline(4, '$') - let printed = {} - silent! 4,$d _ - for line in lines - let name = s:extract_name(line, '.', '') - if empty(name) || !has_key(printed, name) - call append('$', line) - if !empty(name) - let printed[name] = 1 - if line[0] == 'x' && index(s:update.errors, name) < 0 - call add(s:update.errors, name) - end - endif - endif - endfor - finally - let &imd = imd - call s:update_finish() - endtry - else - call s:update_vim() - while use_job && sync - sleep 100m - if s:update.fin - break - endif - endwhile - endif -endfunction - -function! s:log4(name, msg) - call setline(4, printf('- %s (%s)', a:msg, a:name)) - redraw -endfunction - -function! s:update_finish() - if exists('s:git_terminal_prompt') - let $GIT_TERMINAL_PROMPT = s:git_terminal_prompt - endif - if s:switch_in() - call append(3, '- Updating ...') | 4 - for [name, spec] in items(filter(copy(s:update.all), 'index(s:update.errors, v:key) < 0 && (s:update.force || s:update.pull || has_key(s:update.new, v:key))')) - let [pos, _] = s:logpos(name) - if !pos - continue - endif - if has_key(spec, 'commit') - call s:log4(name, 'Checking out '.spec.commit) - let out = s:checkout(spec) - elseif has_key(spec, 'tag') - let tag = spec.tag - if tag =~ '\*' - let tags = s:lines(s:system('git tag --list '.s:shellesc(tag).' --sort -version:refname 2>&1', spec.dir)) - if !v:shell_error && !empty(tags) - let tag = tags[0] - call s:log4(name, printf('Latest tag for %s -> %s', spec.tag, tag)) - call append(3, '') - endif - endif - call s:log4(name, 'Checking out '.tag) - let out = s:system('git checkout -q '.s:esc(tag).' -- 2>&1', spec.dir) - else - let branch = s:esc(get(spec, 'branch', 'master')) - call s:log4(name, 'Merging origin/'.branch) - let out = s:system('git checkout -q '.branch.' -- 2>&1' - \. (has_key(s:update.new, name) ? '' : ('&& git merge --ff-only origin/'.branch.' 2>&1')), spec.dir) - endif - if !v:shell_error && filereadable(spec.dir.'/.gitmodules') && - \ (s:update.force || has_key(s:update.new, name) || s:is_updated(spec.dir)) - call s:log4(name, 'Updating submodules. This may take a while.') - let out .= s:bang('git submodule update --init --recursive'.s:submodule_opt.' 2>&1', spec.dir) - endif - let msg = s:format_message(v:shell_error ? 'x': '-', name, out) - if v:shell_error - call add(s:update.errors, name) - call s:regress_bar() - silent execute pos 'd _' - call append(4, msg) | 4 - elseif !empty(out) - call setline(pos, msg[0]) - endif - redraw - endfor - silent 4 d _ - try - call s:do(s:update.pull, s:update.force, filter(copy(s:update.all), 'index(s:update.errors, v:key) < 0 && has_key(v:val, "do")')) - catch - call s:warn('echom', v:exception) - call s:warn('echo', '') - return - endtry - call s:finish(s:update.pull) - call setline(1, 'Updated. Elapsed time: ' . split(reltimestr(reltime(s:update.start)))[0] . ' sec.') - call s:switch_out('normal! gg') - endif -endfunction - -function! s:job_abort() - if (!s:nvim && !s:vim8) || !exists('s:jobs') - return - endif - - for [name, j] in items(s:jobs) - if s:nvim - silent! call jobstop(j.jobid) - elseif s:vim8 - silent! call job_stop(j.jobid) - endif - if j.new - call s:system('rm -rf ' . s:shellesc(g:plugs[name].dir)) - endif - endfor - let s:jobs = {} -endfunction - -function! s:last_non_empty_line(lines) - let len = len(a:lines) - for idx in range(len) - let line = a:lines[len-idx-1] - if !empty(line) - return line - endif - endfor - return '' -endfunction - -function! s:job_out_cb(self, data) abort - let self = a:self - let data = remove(self.lines, -1) . a:data - let lines = map(split(data, "\n", 1), 'split(v:val, "\r", 1)[-1]') - call extend(self.lines, lines) - " To reduce the number of buffer updates - let self.tick = get(self, 'tick', -1) + 1 - if !self.running || self.tick % len(s:jobs) == 0 - let bullet = self.running ? (self.new ? '+' : '*') : (self.error ? 'x' : '-') - let result = self.error ? join(self.lines, "\n") : s:last_non_empty_line(self.lines) - call s:log(bullet, self.name, result) - endif -endfunction - -function! s:job_exit_cb(self, data) abort - let a:self.running = 0 - let a:self.error = a:data != 0 - call s:reap(a:self.name) - call s:tick() -endfunction - -function! s:job_cb(fn, job, ch, data) - if !s:plug_window_exists() " plug window closed - return s:job_abort() - endif - call call(a:fn, [a:job, a:data]) -endfunction - -function! s:nvim_cb(job_id, data, event) dict abort - return a:event == 'stdout' ? - \ s:job_cb('s:job_out_cb', self, 0, join(a:data, "\n")) : - \ s:job_cb('s:job_exit_cb', self, 0, a:data) -endfunction - -function! s:spawn(name, cmd, opts) - let job = { 'name': a:name, 'running': 1, 'error': 0, 'lines': [''], - \ 'batchfile': (s:is_win && (s:nvim || s:vim8)) ? tempname().'.bat' : '', - \ 'new': get(a:opts, 'new', 0) } - let s:jobs[a:name] = job - let cmd = has_key(a:opts, 'dir') ? s:with_cd(a:cmd, a:opts.dir) : a:cmd - if !empty(job.batchfile) - call writefile(["@echo off\r", cmd . "\r"], job.batchfile) - let cmd = job.batchfile - endif - let argv = add(s:is_win ? ['cmd', '/c'] : ['sh', '-c'], cmd) - - if s:nvim - call extend(job, { - \ 'on_stdout': function('s:nvim_cb'), - \ 'on_exit': function('s:nvim_cb'), - \ }) - let jid = jobstart(argv, job) - if jid > 0 - let job.jobid = jid - else - let job.running = 0 - let job.error = 1 - let job.lines = [jid < 0 ? argv[0].' is not executable' : - \ 'Invalid arguments (or job table is full)'] - endif - elseif s:vim8 - let jid = job_start(s:is_win ? join(argv, ' ') : argv, { - \ 'out_cb': function('s:job_cb', ['s:job_out_cb', job]), - \ 'exit_cb': function('s:job_cb', ['s:job_exit_cb', job]), - \ 'out_mode': 'raw' - \}) - if job_status(jid) == 'run' - let job.jobid = jid - else - let job.running = 0 - let job.error = 1 - let job.lines = ['Failed to start job'] - endif - else - let job.lines = s:lines(call('s:system', [cmd])) - let job.error = v:shell_error != 0 - let job.running = 0 - endif -endfunction - -function! s:reap(name) - let job = s:jobs[a:name] - if job.error - call add(s:update.errors, a:name) - elseif get(job, 'new', 0) - let s:update.new[a:name] = 1 - endif - let s:update.bar .= job.error ? 'x' : '=' - - let bullet = job.error ? 'x' : '-' - let result = job.error ? join(job.lines, "\n") : s:last_non_empty_line(job.lines) - call s:log(bullet, a:name, empty(result) ? 'OK' : result) - call s:bar() - - if has_key(job, 'batchfile') && !empty(job.batchfile) - call delete(job.batchfile) - endif - call remove(s:jobs, a:name) -endfunction - -function! s:bar() - if s:switch_in() - let total = len(s:update.all) - call setline(1, (s:update.pull ? 'Updating' : 'Installing'). - \ ' plugins ('.len(s:update.bar).'/'.total.')') - call s:progress_bar(2, s:update.bar, total) - call s:switch_out() - endif -endfunction - -function! s:logpos(name) - for i in range(4, line('$')) - if getline(i) =~# '^[-+x*] '.a:name.':' - for j in range(i + 1, line('$')) - if getline(j) !~ '^ ' - return [i, j - 1] - endif - endfor - return [i, i] - endif - endfor - return [0, 0] -endfunction - -function! s:log(bullet, name, lines) - if s:switch_in() - let [b, e] = s:logpos(a:name) - if b > 0 - silent execute printf('%d,%d d _', b, e) - if b > winheight('.') - let b = 4 - endif - else - let b = 4 - endif - " FIXME For some reason, nomodifiable is set after :d in vim8 - setlocal modifiable - call append(b - 1, s:format_message(a:bullet, a:name, a:lines)) - call s:switch_out() - endif -endfunction - -function! s:update_vim() - let s:jobs = {} - - call s:bar() - call s:tick() -endfunction - -function! s:tick() - let pull = s:update.pull - let prog = s:progress_opt(s:nvim || s:vim8) -while 1 " Without TCO, Vim stack is bound to explode - if empty(s:update.todo) - if empty(s:jobs) && !s:update.fin - call s:update_finish() - let s:update.fin = 1 - endif - return - endif - - let name = keys(s:update.todo)[0] - let spec = remove(s:update.todo, name) - let new = empty(globpath(spec.dir, '.git', 1)) - - call s:log(new ? '+' : '*', name, pull ? 'Updating ...' : 'Installing ...') - redraw - - let has_tag = has_key(spec, 'tag') - if !new - let [error, _] = s:git_validate(spec, 0) - if empty(error) - if pull - let fetch_opt = (has_tag && !empty(globpath(spec.dir, '.git/shallow'))) ? '--depth 99999999' : '' - call s:spawn(name, printf('git fetch %s %s 2>&1', fetch_opt, prog), { 'dir': spec.dir }) - else - let s:jobs[name] = { 'running': 0, 'lines': ['Already installed'], 'error': 0 } - endif - else - let s:jobs[name] = { 'running': 0, 'lines': s:lines(error), 'error': 1 } - endif - else - call s:spawn(name, - \ printf('git clone %s %s %s %s 2>&1', - \ has_tag ? '' : s:clone_opt, - \ prog, - \ s:shellesc(spec.uri), - \ s:shellesc(s:trim(spec.dir))), { 'new': 1 }) - endif - - if !s:jobs[name].running - call s:reap(name) - endif - if len(s:jobs) >= s:update.threads - break - endif -endwhile -endfunction - -function! s:update_python() -let py_exe = has('python') ? 'python' : 'python3' -execute py_exe "<< EOF" -import datetime -import functools -import os -try: - import queue -except ImportError: - import Queue as queue -import random -import re -import shutil -import signal -import subprocess -import tempfile -import threading as thr -import time -import traceback -import vim - -G_NVIM = vim.eval("has('nvim')") == '1' -G_PULL = vim.eval('s:update.pull') == '1' -G_RETRIES = int(vim.eval('get(g:, "plug_retries", 2)')) + 1 -G_TIMEOUT = int(vim.eval('get(g:, "plug_timeout", 60)')) -G_CLONE_OPT = vim.eval('s:clone_opt') -G_PROGRESS = vim.eval('s:progress_opt(1)') -G_LOG_PROB = 1.0 / int(vim.eval('s:update.threads')) -G_STOP = thr.Event() -G_IS_WIN = vim.eval('s:is_win') == '1' - -class PlugError(Exception): - def __init__(self, msg): - self.msg = msg -class CmdTimedOut(PlugError): - pass -class CmdFailed(PlugError): - pass -class InvalidURI(PlugError): - pass -class Action(object): - INSTALL, UPDATE, ERROR, DONE = ['+', '*', 'x', '-'] - -class Buffer(object): - def __init__(self, lock, num_plugs, is_pull): - self.bar = '' - self.event = 'Updating' if is_pull else 'Installing' - self.lock = lock - self.maxy = int(vim.eval('winheight(".")')) - self.num_plugs = num_plugs - - def __where(self, name): - """ Find first line with name in current buffer. Return line num. """ - found, lnum = False, 0 - matcher = re.compile('^[-+x*] {0}:'.format(name)) - for line in vim.current.buffer: - if matcher.search(line) is not None: - found = True - break - lnum += 1 - - if not found: - lnum = -1 - return lnum - - def header(self): - curbuf = vim.current.buffer - curbuf[0] = self.event + ' plugins ({0}/{1})'.format(len(self.bar), self.num_plugs) - - num_spaces = self.num_plugs - len(self.bar) - curbuf[1] = '[{0}{1}]'.format(self.bar, num_spaces * ' ') - - with self.lock: - vim.command('normal! 2G') - vim.command('redraw') - - def write(self, action, name, lines): - first, rest = lines[0], lines[1:] - msg = ['{0} {1}{2}{3}'.format(action, name, ': ' if first else '', first)] - msg.extend([' ' + line for line in rest]) - - try: - if action == Action.ERROR: - self.bar += 'x' - vim.command("call add(s:update.errors, '{0}')".format(name)) - elif action == Action.DONE: - self.bar += '=' - - curbuf = vim.current.buffer - lnum = self.__where(name) - if lnum != -1: # Found matching line num - del curbuf[lnum] - if lnum > self.maxy and action in set([Action.INSTALL, Action.UPDATE]): - lnum = 3 - else: - lnum = 3 - curbuf.append(msg, lnum) - - self.header() - except vim.error: - pass - -class Command(object): - CD = 'cd /d' if G_IS_WIN else 'cd' - - def __init__(self, cmd, cmd_dir=None, timeout=60, cb=None, clean=None): - self.cmd = cmd - if cmd_dir: - self.cmd = '{0} {1} && {2}'.format(Command.CD, cmd_dir, self.cmd) - self.timeout = timeout - self.callback = cb if cb else (lambda msg: None) - self.clean = clean if clean else (lambda: None) - self.proc = None - - @property - def alive(self): - """ Returns true only if command still running. """ - return self.proc and self.proc.poll() is None - - def execute(self, ntries=3): - """ Execute the command with ntries if CmdTimedOut. - Returns the output of the command if no Exception. - """ - attempt, finished, limit = 0, False, self.timeout - - while not finished: - try: - attempt += 1 - result = self.try_command() - finished = True - return result - except CmdTimedOut: - if attempt != ntries: - self.notify_retry() - self.timeout += limit - else: - raise - - def notify_retry(self): - """ Retry required for command, notify user. """ - for count in range(3, 0, -1): - if G_STOP.is_set(): - raise KeyboardInterrupt - msg = 'Timeout. Will retry in {0} second{1} ...'.format( - count, 's' if count != 1 else '') - self.callback([msg]) - time.sleep(1) - self.callback(['Retrying ...']) - - def try_command(self): - """ Execute a cmd & poll for callback. Returns list of output. - Raises CmdFailed -> return code for Popen isn't 0 - Raises CmdTimedOut -> command exceeded timeout without new output - """ - first_line = True - - try: - tfile = tempfile.NamedTemporaryFile(mode='w+b') - preexec_fn = not G_IS_WIN and os.setsid or None - self.proc = subprocess.Popen(self.cmd, stdout=tfile, - stderr=subprocess.STDOUT, - stdin=subprocess.PIPE, shell=True, - preexec_fn=preexec_fn) - thrd = thr.Thread(target=(lambda proc: proc.wait()), args=(self.proc,)) - thrd.start() - - thread_not_started = True - while thread_not_started: - try: - thrd.join(0.1) - thread_not_started = False - except RuntimeError: - pass - - while self.alive: - if G_STOP.is_set(): - raise KeyboardInterrupt - - if first_line or random.random() < G_LOG_PROB: - first_line = False - line = '' if G_IS_WIN else nonblock_read(tfile.name) - if line: - self.callback([line]) - - time_diff = time.time() - os.path.getmtime(tfile.name) - if time_diff > self.timeout: - raise CmdTimedOut(['Timeout!']) - - thrd.join(0.5) - - tfile.seek(0) - result = [line.decode('utf-8', 'replace').rstrip() for line in tfile] - - if self.proc.returncode != 0: - raise CmdFailed([''] + result) - - return result - except: - self.terminate() - raise - - def terminate(self): - """ Terminate process and cleanup. """ - if self.alive: - if G_IS_WIN: - os.kill(self.proc.pid, signal.SIGINT) - else: - os.killpg(self.proc.pid, signal.SIGTERM) - self.clean() - -class Plugin(object): - def __init__(self, name, args, buf_q, lock): - self.name = name - self.args = args - self.buf_q = buf_q - self.lock = lock - self.tag = args.get('tag', 0) - - def manage(self): - try: - if os.path.exists(self.args['dir']): - self.update() - else: - self.install() - with self.lock: - thread_vim_command("let s:update.new['{0}'] = 1".format(self.name)) - except PlugError as exc: - self.write(Action.ERROR, self.name, exc.msg) - except KeyboardInterrupt: - G_STOP.set() - self.write(Action.ERROR, self.name, ['Interrupted!']) - except: - # Any exception except those above print stack trace - msg = 'Trace:\n{0}'.format(traceback.format_exc().rstrip()) - self.write(Action.ERROR, self.name, msg.split('\n')) - raise - - def install(self): - target = self.args['dir'] - if target[-1] == '\\': - target = target[0:-1] - - def clean(target): - def _clean(): - try: - shutil.rmtree(target) - except OSError: - pass - return _clean - - self.write(Action.INSTALL, self.name, ['Installing ...']) - callback = functools.partial(self.write, Action.INSTALL, self.name) - cmd = 'git clone {0} {1} {2} {3} 2>&1'.format( - '' if self.tag else G_CLONE_OPT, G_PROGRESS, self.args['uri'], - esc(target)) - com = Command(cmd, None, G_TIMEOUT, callback, clean(target)) - result = com.execute(G_RETRIES) - self.write(Action.DONE, self.name, result[-1:]) - - def repo_uri(self): - cmd = 'git rev-parse --abbrev-ref HEAD 2>&1 && git config -f .git/config remote.origin.url' - command = Command(cmd, self.args['dir'], G_TIMEOUT,) - result = command.execute(G_RETRIES) - return result[-1] - - def update(self): - actual_uri = self.repo_uri() - expect_uri = self.args['uri'] - regex = re.compile(r'^(?:\w+://)?(?:[^@/]*@)?([^:/]*(?::[0-9]*)?)[:/](.*?)(?:\.git)?/?$') - ma = regex.match(actual_uri) - mb = regex.match(expect_uri) - if ma is None or mb is None or ma.groups() != mb.groups(): - msg = ['', - 'Invalid URI: {0}'.format(actual_uri), - 'Expected {0}'.format(expect_uri), - 'PlugClean required.'] - raise InvalidURI(msg) - - if G_PULL: - self.write(Action.UPDATE, self.name, ['Updating ...']) - callback = functools.partial(self.write, Action.UPDATE, self.name) - fetch_opt = '--depth 99999999' if self.tag and os.path.isfile(os.path.join(self.args['dir'], '.git/shallow')) else '' - cmd = 'git fetch {0} {1} 2>&1'.format(fetch_opt, G_PROGRESS) - com = Command(cmd, self.args['dir'], G_TIMEOUT, callback) - result = com.execute(G_RETRIES) - self.write(Action.DONE, self.name, result[-1:]) - else: - self.write(Action.DONE, self.name, ['Already installed']) - - def write(self, action, name, msg): - self.buf_q.put((action, name, msg)) - -class PlugThread(thr.Thread): - def __init__(self, tname, args): - super(PlugThread, self).__init__() - self.tname = tname - self.args = args - - def run(self): - thr.current_thread().name = self.tname - buf_q, work_q, lock = self.args - - try: - while not G_STOP.is_set(): - name, args = work_q.get_nowait() - plug = Plugin(name, args, buf_q, lock) - plug.manage() - work_q.task_done() - except queue.Empty: - pass - -class RefreshThread(thr.Thread): - def __init__(self, lock): - super(RefreshThread, self).__init__() - self.lock = lock - self.running = True - - def run(self): - while self.running: - with self.lock: - thread_vim_command('noautocmd normal! a') - time.sleep(0.33) - - def stop(self): - self.running = False - -if G_NVIM: - def thread_vim_command(cmd): - vim.session.threadsafe_call(lambda: vim.command(cmd)) -else: - def thread_vim_command(cmd): - vim.command(cmd) - -def esc(name): - return '"' + name.replace('"', '\"') + '"' - -def nonblock_read(fname): - """ Read a file with nonblock flag. Return the last line. """ - fread = os.open(fname, os.O_RDONLY | os.O_NONBLOCK) - buf = os.read(fread, 100000).decode('utf-8', 'replace') - os.close(fread) - - line = buf.rstrip('\r\n') - left = max(line.rfind('\r'), line.rfind('\n')) - if left != -1: - left += 1 - line = line[left:] - - return line - -def main(): - thr.current_thread().name = 'main' - nthreads = int(vim.eval('s:update.threads')) - plugs = vim.eval('s:update.todo') - mac_gui = vim.eval('s:mac_gui') == '1' - - lock = thr.Lock() - buf = Buffer(lock, len(plugs), G_PULL) - buf_q, work_q = queue.Queue(), queue.Queue() - for work in plugs.items(): - work_q.put(work) - - start_cnt = thr.active_count() - for num in range(nthreads): - tname = 'PlugT-{0:02}'.format(num) - thread = PlugThread(tname, (buf_q, work_q, lock)) - thread.start() - if mac_gui: - rthread = RefreshThread(lock) - rthread.start() - - while not buf_q.empty() or thr.active_count() != start_cnt: - try: - action, name, msg = buf_q.get(True, 0.25) - buf.write(action, name, ['OK'] if not msg else msg) - buf_q.task_done() - except queue.Empty: - pass - except KeyboardInterrupt: - G_STOP.set() - - if mac_gui: - rthread.stop() - rthread.join() - -main() -EOF -endfunction - -function! s:update_ruby() - ruby << EOF - module PlugStream - SEP = ["\r", "\n", nil] - def get_line - buffer = '' - loop do - char = readchar rescue return - if SEP.include? char.chr - buffer << $/ - break - else - buffer << char - end - end - buffer - end - end unless defined?(PlugStream) - - def esc arg - %["#{arg.gsub('"', '\"')}"] - end - - def killall pid - pids = [pid] - if /mswin|mingw|bccwin/ =~ RUBY_PLATFORM - pids.each { |pid| Process.kill 'INT', pid.to_i rescue nil } - else - unless `which pgrep 2> /dev/null`.empty? - children = pids - until children.empty? - children = children.map { |pid| - `pgrep -P #{pid}`.lines.map { |l| l.chomp } - }.flatten - pids += children - end - end - pids.each { |pid| Process.kill 'TERM', pid.to_i rescue nil } - end - end - - def compare_git_uri a, b - regex = %r{^(?:\w+://)?(?:[^@/]*@)?([^:/]*(?::[0-9]*)?)[:/](.*?)(?:\.git)?/?$} - regex.match(a).to_a.drop(1) == regex.match(b).to_a.drop(1) - end - - require 'thread' - require 'fileutils' - require 'timeout' - running = true - iswin = VIM::evaluate('s:is_win').to_i == 1 - pull = VIM::evaluate('s:update.pull').to_i == 1 - base = VIM::evaluate('g:plug_home') - all = VIM::evaluate('s:update.todo') - limit = VIM::evaluate('get(g:, "plug_timeout", 60)') - tries = VIM::evaluate('get(g:, "plug_retries", 2)') + 1 - nthr = VIM::evaluate('s:update.threads').to_i - maxy = VIM::evaluate('winheight(".")').to_i - vim7 = VIM::evaluate('v:version').to_i <= 703 && RUBY_PLATFORM =~ /darwin/ - cd = iswin ? 'cd /d' : 'cd' - tot = VIM::evaluate('len(s:update.todo)') || 0 - bar = '' - skip = 'Already installed' - mtx = Mutex.new - take1 = proc { mtx.synchronize { running && all.shift } } - logh = proc { - cnt = bar.length - $curbuf[1] = "#{pull ? 'Updating' : 'Installing'} plugins (#{cnt}/#{tot})" - $curbuf[2] = '[' + bar.ljust(tot) + ']' - VIM::command('normal! 2G') - VIM::command('redraw') - } - where = proc { |name| (1..($curbuf.length)).find { |l| $curbuf[l] =~ /^[-+x*] #{name}:/ } } - log = proc { |name, result, type| - mtx.synchronize do - ing = ![true, false].include?(type) - bar += type ? '=' : 'x' unless ing - b = case type - when :install then '+' when :update then '*' - when true, nil then '-' else - VIM::command("call add(s:update.errors, '#{name}')") - 'x' - end - result = - if type || type.nil? - ["#{b} #{name}: #{result.lines.to_a.last || 'OK'}"] - elsif result =~ /^Interrupted|^Timeout/ - ["#{b} #{name}: #{result}"] - else - ["#{b} #{name}"] + result.lines.map { |l| " " << l } - end - if lnum = where.call(name) - $curbuf.delete lnum - lnum = 4 if ing && lnum > maxy - end - result.each_with_index do |line, offset| - $curbuf.append((lnum || 4) - 1 + offset, line.gsub(/\e\[./, '').chomp) - end - logh.call - end - } - bt = proc { |cmd, name, type, cleanup| - tried = timeout = 0 - begin - tried += 1 - timeout += limit - fd = nil - data = '' - if iswin - Timeout::timeout(timeout) do - tmp = VIM::evaluate('tempname()') - system("(#{cmd}) > #{tmp}") - data = File.read(tmp).chomp - File.unlink tmp rescue nil - end - else - fd = IO.popen(cmd).extend(PlugStream) - first_line = true - log_prob = 1.0 / nthr - while line = Timeout::timeout(timeout) { fd.get_line } - data << line - log.call name, line.chomp, type if name && (first_line || rand < log_prob) - first_line = false - end - fd.close - end - [$? == 0, data.chomp] - rescue Timeout::Error, Interrupt => e - if fd && !fd.closed? - killall fd.pid - fd.close - end - cleanup.call if cleanup - if e.is_a?(Timeout::Error) && tried < tries - 3.downto(1) do |countdown| - s = countdown > 1 ? 's' : '' - log.call name, "Timeout. Will retry in #{countdown} second#{s} ...", type - sleep 1 - end - log.call name, 'Retrying ...', type - retry - end - [false, e.is_a?(Interrupt) ? "Interrupted!" : "Timeout!"] - end - } - main = Thread.current - threads = [] - watcher = Thread.new { - if vim7 - while VIM::evaluate('getchar(1)') - sleep 0.1 - end - else - require 'io/console' # >= Ruby 1.9 - nil until IO.console.getch == 3.chr - end - mtx.synchronize do - running = false - threads.each { |t| t.raise Interrupt } unless vim7 - end - threads.each { |t| t.join rescue nil } - main.kill - } - refresh = Thread.new { - while true - mtx.synchronize do - break unless running - VIM::command('noautocmd normal! a') - end - sleep 0.2 - end - } if VIM::evaluate('s:mac_gui') == 1 - - clone_opt = VIM::evaluate('s:clone_opt') - progress = VIM::evaluate('s:progress_opt(1)') - nthr.times do - mtx.synchronize do - threads << Thread.new { - while pair = take1.call - name = pair.first - dir, uri, tag = pair.last.values_at *%w[dir uri tag] - exists = File.directory? dir - ok, result = - if exists - chdir = "#{cd} #{iswin ? dir : esc(dir)}" - ret, data = bt.call "#{chdir} && git rev-parse --abbrev-ref HEAD 2>&1 && git config -f .git/config remote.origin.url", nil, nil, nil - current_uri = data.lines.to_a.last - if !ret - if data =~ /^Interrupted|^Timeout/ - [false, data] - else - [false, [data.chomp, "PlugClean required."].join($/)] - end - elsif !compare_git_uri(current_uri, uri) - [false, ["Invalid URI: #{current_uri}", - "Expected: #{uri}", - "PlugClean required."].join($/)] - else - if pull - log.call name, 'Updating ...', :update - fetch_opt = (tag && File.exist?(File.join(dir, '.git/shallow'))) ? '--depth 99999999' : '' - bt.call "#{chdir} && git fetch #{fetch_opt} #{progress} 2>&1", name, :update, nil - else - [true, skip] - end - end - else - d = esc dir.sub(%r{[\\/]+$}, '') - log.call name, 'Installing ...', :install - bt.call "git clone #{clone_opt unless tag} #{progress} #{uri} #{d} 2>&1", name, :install, proc { - FileUtils.rm_rf dir - } - end - mtx.synchronize { VIM::command("let s:update.new['#{name}'] = 1") } if !exists && ok - log.call name, result, ok - end - } if running - end - end - threads.each { |t| t.join rescue nil } - logh.call - refresh.kill if refresh - watcher.kill -EOF -endfunction - -function! s:shellesc_cmd(arg) - let escaped = substitute(a:arg, '[&|<>()@^]', '^&', 'g') - let escaped = substitute(escaped, '%', '%%', 'g') - let escaped = substitute(escaped, '"', '\\^&', 'g') - let escaped = substitute(escaped, '\(\\\+\)\(\\^\)', '\1\1\2', 'g') - return '^"'.substitute(escaped, '\(\\\+\)$', '\1\1', '').'^"' -endfunction - -function! s:shellesc(arg) - if &shell =~# 'cmd.exe$' - return s:shellesc_cmd(a:arg) - endif - return shellescape(a:arg) -endfunction - -function! s:glob_dir(path) - return map(filter(s:glob(a:path, '**'), 'isdirectory(v:val)'), 's:dirpath(v:val)') -endfunction - -function! s:progress_bar(line, bar, total) - call setline(a:line, '[' . s:lpad(a:bar, a:total) . ']') -endfunction - -function! s:compare_git_uri(a, b) - " See `git help clone' - " https:// [user@] github.com[:port] / junegunn/vim-plug [.git] - " [git@] github.com[:port] : junegunn/vim-plug [.git] - " file:// / junegunn/vim-plug [/] - " / junegunn/vim-plug [/] - let pat = '^\%(\w\+://\)\='.'\%([^@/]*@\)\='.'\([^:/]*\%(:[0-9]*\)\=\)'.'[:/]'.'\(.\{-}\)'.'\%(\.git\)\=/\?$' - let ma = matchlist(a:a, pat) - let mb = matchlist(a:b, pat) - return ma[1:2] ==# mb[1:2] -endfunction - -function! s:format_message(bullet, name, message) - if a:bullet != 'x' - return [printf('%s %s: %s', a:bullet, a:name, s:lastline(a:message))] - else - let lines = map(s:lines(a:message), '" ".v:val') - return extend([printf('x %s:', a:name)], lines) - endif -endfunction - -function! s:with_cd(cmd, dir) - return printf('cd%s %s && %s', s:is_win ? ' /d' : '', s:shellesc(a:dir), a:cmd) -endfunction - -function! s:system(cmd, ...) - try - let [sh, shellcmdflag, shrd] = s:chsh(1) - let cmd = a:0 > 0 ? s:with_cd(a:cmd, a:1) : a:cmd - if s:is_win - let batchfile = tempname().'.bat' - call writefile(["@echo off\r", cmd . "\r"], batchfile) - let cmd = batchfile - endif - return system(s:is_win ? '('.cmd.')' : cmd) - finally - let [&shell, &shellcmdflag, &shellredir] = [sh, shellcmdflag, shrd] - if s:is_win - call delete(batchfile) - endif - endtry -endfunction - -function! s:system_chomp(...) - let ret = call('s:system', a:000) - return v:shell_error ? '' : substitute(ret, '\n$', '', '') -endfunction - -function! s:git_validate(spec, check_branch) - let err = '' - if isdirectory(a:spec.dir) - let result = s:lines(s:system('git rev-parse --abbrev-ref HEAD 2>&1 && git config -f .git/config remote.origin.url', a:spec.dir)) - let remote = result[-1] - if v:shell_error - let err = join([remote, 'PlugClean required.'], "\n") - elseif !s:compare_git_uri(remote, a:spec.uri) - let err = join(['Invalid URI: '.remote, - \ 'Expected: '.a:spec.uri, - \ 'PlugClean required.'], "\n") - elseif a:check_branch && has_key(a:spec, 'commit') - let result = s:lines(s:system('git rev-parse HEAD 2>&1', a:spec.dir)) - let sha = result[-1] - if v:shell_error - let err = join(add(result, 'PlugClean required.'), "\n") - elseif !s:hash_match(sha, a:spec.commit) - let err = join([printf('Invalid HEAD (expected: %s, actual: %s)', - \ a:spec.commit[:6], sha[:6]), - \ 'PlugUpdate required.'], "\n") - endif - elseif a:check_branch - let branch = result[0] - " Check tag - if has_key(a:spec, 'tag') - let tag = s:system_chomp('git describe --exact-match --tags HEAD 2>&1', a:spec.dir) - if a:spec.tag !=# tag && a:spec.tag !~ '\*' - let err = printf('Invalid tag: %s (expected: %s). Try PlugUpdate.', - \ (empty(tag) ? 'N/A' : tag), a:spec.tag) - endif - " Check branch - elseif a:spec.branch !=# branch - let err = printf('Invalid branch: %s (expected: %s). Try PlugUpdate.', - \ branch, a:spec.branch) - endif - if empty(err) - let [ahead, behind] = split(s:lastline(s:system(printf( - \ 'git rev-list --count --left-right HEAD...origin/%s', - \ a:spec.branch), a:spec.dir)), '\t') - if !v:shell_error && ahead - if behind - " Only mention PlugClean if diverged, otherwise it's likely to be - " pushable (and probably not that messed up). - let err = printf( - \ "Diverged from origin/%s (%d commit(s) ahead and %d commit(s) behind!\n" - \ .'Backup local changes and run PlugClean and PlugUpdate to reinstall it.', a:spec.branch, ahead, behind) - else - let err = printf("Ahead of origin/%s by %d commit(s).\n" - \ .'Cannot update until local changes are pushed.', - \ a:spec.branch, ahead) - endif - endif - endif - endif - else - let err = 'Not found' - endif - return [err, err =~# 'PlugClean'] -endfunction - -function! s:rm_rf(dir) - if isdirectory(a:dir) - call s:system((s:is_win ? 'rmdir /S /Q ' : 'rm -rf ') . s:shellesc(a:dir)) - endif -endfunction - -function! s:clean(force) - call s:prepare() - call append(0, 'Searching for invalid plugins in '.g:plug_home) - call append(1, '') - - " List of valid directories - let dirs = [] - let errs = {} - let [cnt, total] = [0, len(g:plugs)] - for [name, spec] in items(g:plugs) - if !s:is_managed(name) - call add(dirs, spec.dir) - else - let [err, clean] = s:git_validate(spec, 1) - if clean - let errs[spec.dir] = s:lines(err)[0] - else - call add(dirs, spec.dir) - endif - endif - let cnt += 1 - call s:progress_bar(2, repeat('=', cnt), total) - normal! 2G - redraw - endfor - - let allowed = {} - for dir in dirs - let allowed[s:dirpath(fnamemodify(dir, ':h:h'))] = 1 - let allowed[dir] = 1 - for child in s:glob_dir(dir) - let allowed[child] = 1 - endfor - endfor - - let todo = [] - let found = sort(s:glob_dir(g:plug_home)) - while !empty(found) - let f = remove(found, 0) - if !has_key(allowed, f) && isdirectory(f) - call add(todo, f) - call append(line('$'), '- ' . f) - if has_key(errs, f) - call append(line('$'), ' ' . errs[f]) - endif - let found = filter(found, 'stridx(v:val, f) != 0') - end - endwhile - - 4 - redraw - if empty(todo) - call append(line('$'), 'Already clean.') - else - let s:clean_count = 0 - call append(3, ['Directories to delete:', '']) - redraw! - if a:force || s:ask_no_interrupt('Delete all directories?') - call s:delete([6, line('$')], 1) - else - call setline(4, 'Cancelled.') - nnoremap d :set opfunc=delete_opg@ - nmap dd d_ - xnoremap d :call delete_op(visualmode(), 1) - echo 'Delete the lines (d{motion}) to delete the corresponding directories' - endif - endif - 4 - setlocal nomodifiable -endfunction - -function! s:delete_op(type, ...) - call s:delete(a:0 ? [line("'<"), line("'>")] : [line("'["), line("']")], 0) -endfunction - -function! s:delete(range, force) - let [l1, l2] = a:range - let force = a:force - while l1 <= l2 - let line = getline(l1) - if line =~ '^- ' && isdirectory(line[2:]) - execute l1 - redraw! - let answer = force ? 1 : s:ask('Delete '.line[2:].'?', 1) - let force = force || answer > 1 - if answer - call s:rm_rf(line[2:]) - setlocal modifiable - call setline(l1, '~'.line[1:]) - let s:clean_count += 1 - call setline(4, printf('Removed %d directories.', s:clean_count)) - setlocal nomodifiable - endif - endif - let l1 += 1 - endwhile -endfunction - -function! s:upgrade() - echo 'Downloading the latest version of vim-plug' - redraw - let tmp = tempname() - let new = tmp . '/plug.vim' - - try - let out = s:system(printf('git clone --depth 1 %s %s', s:plug_src, tmp)) - if v:shell_error - return s:err('Error upgrading vim-plug: '. out) - endif - - if readfile(s:me) ==# readfile(new) - echo 'vim-plug is already up-to-date' - return 0 - else - call rename(s:me, s:me . '.old') - call rename(new, s:me) - unlet g:loaded_plug - echo 'vim-plug has been upgraded' - return 1 - endif - finally - silent! call s:rm_rf(tmp) - endtry -endfunction - -function! s:upgrade_specs() - for spec in values(g:plugs) - let spec.frozen = get(spec, 'frozen', 0) - endfor -endfunction - -function! s:status() - call s:prepare() - call append(0, 'Checking plugins') - call append(1, '') - - let ecnt = 0 - let unloaded = 0 - let [cnt, total] = [0, len(g:plugs)] - for [name, spec] in items(g:plugs) - let is_dir = isdirectory(spec.dir) - if has_key(spec, 'uri') - if is_dir - let [err, _] = s:git_validate(spec, 1) - let [valid, msg] = [empty(err), empty(err) ? 'OK' : err] - else - let [valid, msg] = [0, 'Not found. Try PlugInstall.'] - endif - else - if is_dir - let [valid, msg] = [1, 'OK'] - else - let [valid, msg] = [0, 'Not found.'] - endif - endif - let cnt += 1 - let ecnt += !valid - " `s:loaded` entry can be missing if PlugUpgraded - if is_dir && get(s:loaded, name, -1) == 0 - let unloaded = 1 - let msg .= ' (not loaded)' - endif - call s:progress_bar(2, repeat('=', cnt), total) - call append(3, s:format_message(valid ? '-' : 'x', name, msg)) - normal! 2G - redraw - endfor - call setline(1, 'Finished. '.ecnt.' error(s).') - normal! gg - setlocal nomodifiable - if unloaded - echo "Press 'L' on each line to load plugin, or 'U' to update" - nnoremap L :call status_load(line('.')) - xnoremap L :call status_load(line('.')) - end -endfunction - -function! s:extract_name(str, prefix, suffix) - return matchstr(a:str, '^'.a:prefix.' \zs[^:]\+\ze:.*'.a:suffix.'$') -endfunction - -function! s:status_load(lnum) - let line = getline(a:lnum) - let name = s:extract_name(line, '-', '(not loaded)') - if !empty(name) - call plug#load(name) - setlocal modifiable - call setline(a:lnum, substitute(line, ' (not loaded)$', '', '')) - setlocal nomodifiable - endif -endfunction - -function! s:status_update() range - let lines = getline(a:firstline, a:lastline) - let names = filter(map(lines, 's:extract_name(v:val, "[x-]", "")'), '!empty(v:val)') - if !empty(names) - echo - execute 'PlugUpdate' join(names) - endif -endfunction - -function! s:is_preview_window_open() - silent! wincmd P - if &previewwindow - wincmd p - return 1 - endif -endfunction - -function! s:find_name(lnum) - for lnum in reverse(range(1, a:lnum)) - let line = getline(lnum) - if empty(line) - return '' - endif - let name = s:extract_name(line, '-', '') - if !empty(name) - return name - endif - endfor - return '' -endfunction - -function! s:preview_commit() - if b:plug_preview < 0 - let b:plug_preview = !s:is_preview_window_open() - endif - - let sha = matchstr(getline('.'), '^ \X*\zs[0-9a-f]\{7,9}') - if empty(sha) - return - endif - - let name = s:find_name(line('.')) - if empty(name) || !has_key(g:plugs, name) || !isdirectory(g:plugs[name].dir) - return - endif - - if exists('g:plug_pwindow') && !s:is_preview_window_open() - execute g:plug_pwindow - execute 'e' sha - else - execute 'pedit' sha - wincmd P - endif - setlocal previewwindow filetype=git buftype=nofile nobuflisted modifiable - try - let [sh, shellcmdflag, shrd] = s:chsh(1) - let cmd = 'cd '.s:shellesc(g:plugs[name].dir).' && git show --no-color --pretty=medium '.sha - if s:is_win - let batchfile = tempname().'.bat' - call writefile(["@echo off\r", cmd . "\r"], batchfile) - let cmd = batchfile - endif - execute 'silent %!' cmd - finally - let [&shell, &shellcmdflag, &shellredir] = [sh, shellcmdflag, shrd] - if s:is_win - call delete(batchfile) - endif - endtry - setlocal nomodifiable - nnoremap q :q - wincmd p -endfunction - -function! s:section(flags) - call search('\(^[x-] \)\@<=[^:]\+:', a:flags) -endfunction - -function! s:format_git_log(line) - let indent = ' ' - let tokens = split(a:line, nr2char(1)) - if len(tokens) != 5 - return indent.substitute(a:line, '\s*$', '', '') - endif - let [graph, sha, refs, subject, date] = tokens - let tag = matchstr(refs, 'tag: [^,)]\+') - let tag = empty(tag) ? ' ' : ' ('.tag.') ' - return printf('%s%s%s%s%s (%s)', indent, graph, sha, tag, subject, date) -endfunction - -function! s:append_ul(lnum, text) - call append(a:lnum, ['', a:text, repeat('-', len(a:text))]) -endfunction - -function! s:diff() - call s:prepare() - call append(0, ['Collecting changes ...', '']) - let cnts = [0, 0] - let bar = '' - let total = filter(copy(g:plugs), 's:is_managed(v:key) && isdirectory(v:val.dir)') - call s:progress_bar(2, bar, len(total)) - for origin in [1, 0] - let plugs = reverse(sort(items(filter(copy(total), (origin ? '' : '!').'(has_key(v:val, "commit") || has_key(v:val, "tag"))')))) - if empty(plugs) - continue - endif - call s:append_ul(2, origin ? 'Pending updates:' : 'Last update:') - for [k, v] in plugs - let range = origin ? '..origin/'.v.branch : 'HEAD@{1}..' - let cmd = 'git log --graph --color=never '.join(map(['--pretty=format:%x01%h%x01%d%x01%s%x01%cr', range], 's:shellesc(v:val)')) - if has_key(v, 'rtp') - let cmd .= ' -- '.s:shellesc(v.rtp) - endif - let diff = s:system_chomp(cmd, v.dir) - if !empty(diff) - let ref = has_key(v, 'tag') ? (' (tag: '.v.tag.')') : has_key(v, 'commit') ? (' '.v.commit) : '' - call append(5, extend(['', '- '.k.':'.ref], map(s:lines(diff), 's:format_git_log(v:val)'))) - let cnts[origin] += 1 - endif - let bar .= '=' - call s:progress_bar(2, bar, len(total)) - normal! 2G - redraw - endfor - if !cnts[origin] - call append(5, ['', 'N/A']) - endif - endfor - call setline(1, printf('%d plugin(s) updated.', cnts[0]) - \ . (cnts[1] ? printf(' %d plugin(s) have pending updates.', cnts[1]) : '')) - - if cnts[0] || cnts[1] - nnoremap (plug-preview) :silent! call preview_commit() - if empty(maparg("\", 'n')) - nmap (plug-preview) - endif - if empty(maparg('o', 'n')) - nmap o (plug-preview) - endif - endif - if cnts[0] - nnoremap X :call revert() - echo "Press 'X' on each block to revert the update" - endif - normal! gg - setlocal nomodifiable -endfunction - -function! s:revert() - if search('^Pending updates', 'bnW') - return - endif - - let name = s:find_name(line('.')) - if empty(name) || !has_key(g:plugs, name) || - \ input(printf('Revert the update of %s? (y/N) ', name)) !~? '^y' - return - endif - - call s:system('git reset --hard HEAD@{1} && git checkout '.s:esc(g:plugs[name].branch).' --', g:plugs[name].dir) - setlocal modifiable - normal! "_dap - setlocal nomodifiable - echo 'Reverted' -endfunction - -function! s:snapshot(force, ...) abort - call s:prepare() - setf vim - call append(0, ['" Generated by vim-plug', - \ '" '.strftime("%c"), - \ '" :source this file in vim to restore the snapshot', - \ '" or execute: vim -S snapshot.vim', - \ '', '', 'PlugUpdate!']) - 1 - let anchor = line('$') - 3 - let names = sort(keys(filter(copy(g:plugs), - \'has_key(v:val, "uri") && !has_key(v:val, "commit") && isdirectory(v:val.dir)'))) - for name in reverse(names) - let sha = s:system_chomp('git rev-parse --short HEAD', g:plugs[name].dir) - if !empty(sha) - call append(anchor, printf("silent! let g:plugs['%s'].commit = '%s'", name, sha)) - redraw - endif - endfor - - if a:0 > 0 - let fn = expand(a:1) - if filereadable(fn) && !(a:force || s:ask(a:1.' already exists. Overwrite?')) - return - endif - call writefile(getline(1, '$'), fn) - echo 'Saved as '.a:1 - silent execute 'e' s:esc(fn) - setf vim - endif -endfunction - -function! s:split_rtp() - return split(&rtp, '\\\@:t:r') -- Is 'background' either used or appropriately set to "light" or "dark"? -- Try setting 'hlsearch' and searching for a pattern, is the match easy to - spot? -- Split a window with ":split" and ":vsplit". Are the status lines and - vertical separators clearly visible? -- In the GUI, is it easy to find the cursor, also in a file with lots of - syntax highlighting? -- Do not use hard coded escape sequences, these will not work in other - terminals. Always use color names or #RRGGBB for the GUI. diff --git a/colors/colordefinitions.rb b/colors/colordefinitions.rb deleted file mode 100644 index 51ec3d5..0000000 --- a/colors/colordefinitions.rb +++ /dev/null @@ -1,145 +0,0 @@ - darkred1 = ["#373030", 237, "darkred"] - darkred2 = ["#6b5d5d", 52, "darkred"] - darkred3 = ["#866b6b", 52, "darkred"] - red1 = ["#967978", 52, "darkred"] - red2 = ["#a78685", 88, "darkred"] - red3 = ["#b79392", 88, "red"] - lightred1 = ["#c4a6a5", 88, "red"] - lightred2 = ["#cab0af", 124, "red"] - lightred3 = ["#d1bab9", 124, "red"] - - graygreen0 = ["#303730", 237, "black"] - green1 = ["#6b866c", 22, "darkgreen"] - green2 = ["#7a9678", 22, "darkgreen"] - green3 = ["#85a786", 28, "darkgreen"] - green4 = ["#95b792", 28, "green"] - green5 = ["#a5c4a5", 28, "green"] - green6 = ["#b1caaf", 34, "green"] - green7 = ["#b9d1bb", 34, "green"] - - grayblue0 = ["#303237", 237, "black"] - blue1 = ["#5c6191", 17, "darkblue"] - blue2 = ["#6a6f9b", 18, "darkblue"] - blue3 = ["#7378b4", 19, "darkblue"] - blue4 = ["#7e84c6", 19, "blue"] - blue5 = ["#898fcb", 20, "blue"] - blue6 = ["#959ad0", 20, "blue"] - blue7 = ["#a1a5d5", 21, "blue"] - - grayindigo0 = ["#323037", 237, "black"] - indigo1 = ["#6c6b86", 17, "darkblue"] - indigo2 = ["#787896", 18, "darkblue"] - indigo3 = ["#8685a7", 19, "darkblue"] - indigo4 = ["#9292b7", 19, "blue"] - indigo5 = ["#a6a5c4", 20, "blue"] - indigo6 = ["#b0afca", 20, "blue"] - indigo7 = ["#beb9d1", 21, "blue"] - - grayyellow0 = ["#373730", 237, "black"] - yellow1 = ["#90905c", 22, "darkyellow"] - yellow2 = ["#a2a268", 22, "darkyellow"] - yellow3 = ["#b4b473", 28, "darkyellow"] - yellow4 = ["#c3c67e", 28, "yellow"] - yellow5 = ["#c6c689", 28, "yellow"] - yellow6 = ["#d0d095", 34, "yellow"] - yellow7 = ["#d5d5a1", 34, "yellow"] - - - bg_cursorline = ["#1B1C1D", 232, "gray"] - bg_colorcolumn = bg_cursorline - bg_cursorcolumn = ["#1F1F1F", 232, "gray"] - bg = ["#202122", 234, "black"] - bg_cursorline_input = ["#384046", 17, "darkblue"] - fg_weak1 = ["#494646", 238, "gray"] - fg_comment = ["#5d5d5d", 240, "gray"] - fg_weak2 = ["#716c6c", 243, "gray"] - fg = ["#767070", 243, "gray"] - fg_strong1 = ["#857f7f", 244, "darkgray"] - fg_strong2 = ["#9a9393", 247, "darkgray"] - fg_strong3 = ["#aeadad", 250, "white"] - fg_strong4 = ["#eee4e4", 255, "white"] - - fg_error = ["#c74444", 196, "red"] - fg_spellcap = ["#a67038", 166, "yellow"] - fg_spellrare = ["#797532", 247, "darkyellow"] - fg_spelllocal = fg_spellrare - bg_whitespace_error = ["#6a2e2e", 196, "red"] - - color_primary_weak1 = darkred1 - color_primary_weak2 = darkred2 - color_primary_weak3 = darkred3 - color_primary1 = red1 - color_primary2 = red2 - color_primary3 = red3 - color_primary_strong1 = lightred1 - color_primary_strong2 = lightred2 - color_primary_strong3 = lightred3 - - color_secondary_weak = green5 - color_secondary = green6 - color_secondary_strong = green7 - - color_tertiary_weak = blue3 - color_tertiary = blue4 - color_tertiary_strong = blue7 - - ui_bg = ["#3f3f3f", 238, "gray"] - ui_fg_weak1 = ["#494646", 238, "gray"] - ui_fg_weak2 = ["#5d5959", 240, "gray"] - ui_fg = ["#716c6c", 243, "gray"] - ui_fg_strong1 = ["#857f7f", 244, "darkgray"] - ui_fg_strong2 = ["#9a9393", 247, "darkgray"] - ui_fg_strong3 = ["#aeadad", 250, "white"] - ui_fg_strong4 = ["#eee4e4", 255, "white"] - - ui_cursor_bg = ["#eee4e4", 255, "white"] - ui_cursor_fg = ["#131313", 0, "black"] - - ui_linenr = fg_weak1 - ui_cursorlinenr = fg_weak2 - - ui_search = ["#49535a", 17, "darkblue"] - ui_incsearch = ["#93adc2", 17, "darkblue"] - - ui_visual_bg = ["#384046", 17, "darkblue"] - ui_visualnos_bg = ["#463838", 52, "darkred"] - - menu_bg = ["#333535", 237, "black"] - menu_fg = ui_fg_strong1 - menu_sel = ui_fg_strong3 - - diff_delete_bg = ["#282020", 52, "darkred"] - diff_add_bg = ["#202820", 22, "darkgreen"] - diff_change_bg = ["#242528", 17, "darkblue"] - diff_change_fg = ["#656a7c", 21, "white"] - - ui_sign_add = ["#496349", 34, "green"] - ui_sign_change = ["#596171", 19, "blue"] - ui_sign_delete = ["#725454", 124, "red"] - ui_sign_changedelete = ["#5c4a5a", 126, "magenta"] - - ui_statusbar_mod = ["#655757", 124, "red"] - ui_statusbar_mod_active = ["#916c6c", 124, "red"] - ui_statusbar_input = ["#384046", 17, "darkblue"] - - ui_fileinfo = fg_comment - - ui_fg_errormsg = ["#c74444", 196, "red"] - ui_fg_warningmsg = ["#a67038", 166, "yellow"] - ui_fg_question = ["#797532", 247, "darkgray"] - - ui_fg_warning_weak = ["#7b6a6a", 88, "darkred"] - ui_fg_warning = ["#725454", 124, "red"] - ui_fg_warning_strong = ["#916c6c", 196, "red"] - ui_fg_error = ["#7D3636", 196, "red"] - - ui_fg_linter_dash = fg_weak1 - ui_fg_linter_dash_active = fg_comment - ui_fg_linter_error = ui_fg - ui_fg_linter_error_active = ui_fg_error - ui_fg_linter_warning = ui_fg_weak2 - ui_fg_linter_warning_active = ui_fg_warning - ui_fg_linter_info = fg_weak1 - ui_fg_linter_info_active = fg_comment - - diff --git a/colors/monotonous-chroma.erb b/colors/monotonous-chroma.erb deleted file mode 100644 index 28c67b1..0000000 --- a/colors/monotonous-chroma.erb +++ /dev/null @@ -1,795 +0,0 @@ -<% - require 'chroma' - # RNB, A VIM COLORSCHEME TEMPLATE - # Author: Romain Lafourcade (https://github.com/romainl) - # Canonical URL: https://gist.github.com/romainl/5cd2f4ec222805f49eca - - # Step 1: information - # - # Make sure the name of your colorscheme is unique and attractive. - # The description should fit in a single line with no linefeed. - # 'background' can be "light" or "dark". - information = { - author: "studiovx", - email: "studiovx@studiovx.co.uk", - name: "monotonous-chroma", - description: "", - background: "dark", - webpage: "" - } - - # Step 2: colors - # - # black = [ give each color a distinctive name - # "#000000", hexadecimal color for GVim/MacVim and "true colors" terminals - # 0, integer between 0 and 255 for terminals supporting 256 colors - # "black" color name for less capable color terminals, can be "darkred", "red", - # "darkgreen", "green", "darkyellow", "yellow", "darkblue", "blue", - # "darkmagenta", "magenta", "black", "darkgrey", "grey", "white" - # ] - # - # If your colors are defined correctly, the resulting colorscheme is guaranteed - # to work in GVim (Windows/Linux), MacVim, and any properly set up terminal emulator. - - darkred1 = ["#373030", 237, "darkred"] - darkred2 = ["#6b5d5d", 52, "darkred"] - darkred3 = ["#866b6b", 52, "darkred"] - red1 = ["#967978", 52, "darkred"] - red2 = ["#a78685", 88, "darkred"] - red3 = ["#b79392", 88, "red"] - lightred1 = ["#c4a6a5", 88, "red"] - lightred2 = ["#cab0af", 124, "red"] - lightred3 = ["#d1bab9", 124, "red"] - - graygreen0 = ["#303730", 237, "black"] - green1 = ["#6b866c", 22, "darkgreen"] - green2 = ["#7a9678", 22, "darkgreen"] - green3 = ["#85a786", 28, "darkgreen"] - green4 = ["#95b792", 28, "green"] - green5 = ["#a5c4a5", 28, "green"] - green6 = ["#b1caaf", 34, "green"] - green7 = ["#b9d1bb", 34, "green"] - - grayblue0 = ["#303237", 237, "black"] - blue1 = ["#5c6191", 17, "darkblue"] - blue2 = ["#6a6f9b", 18, "darkblue"] - blue3 = ["#7378b4", 19, "darkblue"] - blue4 = ["#7e84c6", 19, "blue"] - blue5 = ["#898fcb", 20, "blue"] - blue6 = ["#959ad0", 20, "blue"] - blue7 = ["#a1a5d5", 21, "blue"] - - grayindigo0 = ["#323037", 237, "black"] - indigo1 = ["#6c6b86", 17, "darkblue"] - indigo2 = ["#787896", 18, "darkblue"] - indigo3 = ["#8685a7", 19, "darkblue"] - indigo4 = ["#9292b7", 19, "blue"] - indigo5 = ["#a6a5c4", 20, "blue"] - indigo6 = ["#b0afca", 20, "blue"] - indigo7 = ["#beb9d1", 21, "blue"] - - grayyellow0 = ["#373730", 237, "black"] - yellow1 = ["#90905c", 22, "darkyellow"] - yellow2 = ["#a2a268", 22, "darkyellow"] - yellow3 = ["#b4b473", 28, "darkyellow"] - yellow4 = ["#c3c67e", 28, "yellow"] - yellow5 = ["#c6c689", 28, "yellow"] - yellow6 = ["#d0d095", 34, "yellow"] - yellow7 = ["#d5d5a1", 34, "yellow"] - - base = "#767070" - - bg_cursorline = ["#1B1C1D", 232, "gray"] - bg_colorcolumn = bg_cursorline - bg_cursorcolumn = ["#1F1F1F", 232, "gray"] - bg = ["#202122", 234, "black"] - bg_cursorline_input = ["#384046", 17, "darkblue"] - fg_weak1 = ["#494646", 238, "gray"] - fg_comment = ["#5d5d5d", 240, "gray"] - fg_weak2 = ["#716c6c", 243, "gray"] - fg = [base, 243, "gray"] - fg_strong1 = [base.paint.lighten(5.8), 244, "darkgray"] - fg_strong2 = [base.paint.lighten(14.1), 247, "darkgray"] - fg_strong3 = [base.paint.lighten(22.4), 250, "white"] - fg_strong4 = [base.paint.lighten(48.2), 255, "white"] - - fg_error = ["#c74444", 196, "red"] - fg_spellcap = ["#a67038", 166, "yellow"] - fg_spellrare = ["#797532", 247, "darkyellow"] - fg_spelllocal = fg_spellrare - bg_whitespace_error = ["#6a2e2e", 196, "red"] - - color_primary_weak1 = darkred1 - color_primary_weak2 = darkred2 - color_primary_weak3 = darkred3 - color_primary1 = red1 - color_primary2 = red2 - color_primary3 = red3 - color_primary_strong1 = lightred1 - color_primary_strong2 = lightred2 - color_primary_strong3 = lightred3 - - color_secondary_weak = green5 - color_secondary = green6 - color_secondary_strong = green7 - - color_tertiary_weak = blue3 - color_tertiary = blue4 - color_tertiary_strong = blue7 - - ui_bg = ["#3f3f3f", 238, "gray"] - ui_fg_weak1 = ["#494646", 238, "gray"] - ui_fg_weak2 = ["#5d5959", 240, "gray"] - ui_fg = ["#716c6c", 243, "gray"] - ui_fg_strong1 = ["#857f7f", 244, "darkgray"] - ui_fg_strong2 = ["#9a9393", 247, "darkgray"] - ui_fg_strong3 = ["#aeadad", 250, "white"] - ui_fg_strong4 = ["#eee4e4", 255, "white"] - - ui_cursor_bg = ["#eee4e4", 255, "white"] - ui_cursor_fg = ["#131313", 0, "black"] - - ui_linenr = fg_weak1 - ui_cursorlinenr = fg_weak2 - - ui_search = ["#49535a", 17, "darkblue"] - ui_incsearch = ["#93adc2", 17, "darkblue"] - - ui_visual_bg = ["#384046", 17, "darkblue"] - ui_visualnos_bg = ["#463838", 52, "darkred"] - - menu_bg = ["#333535", 237, "black"] - menu_fg = ui_fg_strong1 - menu_sel = ui_fg_strong3 - - diff_delete_bg = ["#282020", 52, "darkred"] - diff_add_bg = ["#202820", 22, "darkgreen"] - diff_change_bg = ["#242528", 17, "darkblue"] - diff_change_fg = ["#656a7c", 21, "white"] - - ui_sign_add = ["#496349", 34, "green"] - ui_sign_change = ["#596171", 19, "blue"] - ui_sign_delete = ["#725454", 124, "red"] - ui_sign_changedelete = ["#5c4a5a", 126, "magenta"] - - ui_statusbar_mod = ["#655757", 124, "red"] - ui_statusbar_mod_active = ["#916c6c", 124, "red"] - ui_statusbar_input = ["#384046", 17, "darkblue"] - - ui_fileinfo = fg_comment - - ui_fg_errormsg = ["#c74444", 196, "red"] - ui_fg_warningmsg = ["#a67038", 166, "yellow"] - ui_fg_question = ["#797532", 247, "darkgray"] - - ui_fg_warning_weak = ["#7b6a6a", 88, "darkred"] - ui_fg_warning = ["#725454", 124, "red"] - ui_fg_warning_strong = ["#916c6c", 196, "red"] - ui_fg_error = ["#7D3636", 196, "red"] - - ui_fg_linter_dash = fg_weak1 - ui_fg_linter_dash_active = fg_comment - ui_fg_linter_error = ui_fg - ui_fg_linter_error_active = ui_fg_error - ui_fg_linter_warning = ui_fg_weak2 - ui_fg_linter_warning_active = ui_fg_warning - ui_fg_linter_info = fg_weak1 - ui_fg_linter_info_active = fg_comment - - - - # Step 3: highlights - highlights = [ - [ "Normal", bg, fg, "NONE" ], - - [ "Special", "NONE", lightred2, "bold" ], - [ "NonText", "NONE", lightred3, "NONE" ], - [ "Tag", color_primary_weak1, "NONE", "NONE" ], - - [ "Identifier", "NONE", red3, "NONE" ], - [ "Function", "NONE", lightred1, "bold" ], - - [ "Type", "NONE", red1, "NONE" ], - [ "StorageClass", "NONE", color_primary_weak3, "bold" ], - [ "Structure", "StorageClass"], - [ "TypeDef", "StorageClass"], - - [ "Constant", "NONE", fg_strong4, "italic" ], - [ "String", "NONE", fg_strong3, "italic" ], - [ "Character", "String" ], - [ "Number", "String" ], - [ "Boolean", "String" ], - [ "Float", "String" ], - - [ "Folded", "NONE", fg_strong3, "NONE" ], - - [ "Statement", "NONE", fg, "NONE" ], - [ "Conditional", "NONE", fg_strong3, "bold" ], - [ "Repeat", "NONE", fg_strong2, "bold" ], - [ "Label", "NONE", fg_strong1, "bold" ], - [ "Operator", "NONE", fg_strong2, "bold" ], - [ "Keyword", "NONE", fg_strong1, "bold" ], - [ "Exception", "NONE", color_primary_weak2, "bold" ], - - [ "PreProc", "NONE", fg_weak1, "bold" ], - [ "Include", "NONE", fg_weak1, "NONE" ], - - [ "Comment", "NONE", fg_comment, "italic" ], - [ "SpecialComment", "NONE", fg_strong1, "italic"], - [ "Todo", "NONE", fg_strong2, "italic" ], - - [ "Ignore", "NONE", bg, "NONE" ], - - [ "Error", "NONE", fg_error, "bold" ], - - [ "Underlined", "NONE", "NONE", "underline" ], - - [ "StatusLine", ui_bg, ui_fg_strong3, "NONE" ], - [ "StatusLineNC", ui_bg, ui_fg, "NONE" ], - [ "TabLine", ui_bg, ui_fg, "NONE" ], - [ "TabLineFill", ui_bg, ui_bg, "NONE" ], - [ "TabLineSel", ui_bg, ui_fg_strong3, "NONE" ], - - [ "VertSplit", bg, ui_bg, "NONE" ], - [ "FoldColumn", bg, fg_weak1, "NONE" ], - [ "ColorColumn", bg_colorcolumn, "NONE", "NONE" ], - [ "SignColumn", bg, ui_fg_strong3, "NONE" ], - [ "CursorLine", bg_cursorline, "NONE", "NONE" ], - - [ "Title", "Constant" ], - - [ "LineNr", bg, ui_linenr, "NONE" ], - [ "CursorLineNr", bg, ui_cursorlinenr, "bold" ], - - # [ "helpLeadBlank", "NONE", grayfg, "NONE" ], - # [ "helpNormal", "NONE", grayfg, "NONE" ], - - [ "Pmenu", menu_bg, menu_fg, "NONE" ], - [ "PmenuSbar", menu_bg, menu_bg, "NONE" ], - [ "PmenuSel", menu_bg, menu_sel, "bold" ], - [ "PmenuThumb", menu_fg, menu_fg, "NONE" ], - - [ "SpecialKey", "NONE", lightred3, "NONE" ], - - [ "DiffAdd", diff_add_bg, "NONE", "NONE" ], - [ "DiffChange", diff_change_bg, "NONE", "NONE" ], - [ "DiffDelete", diff_delete_bg, "NONE", "NONE" ], - [ "DiffText", diff_change_bg, diff_change_fg, "NONE" ], - - [ "IncSearch", ui_incsearch, bg, "NONE" ], - [ "Search", ui_search, ui_fg_strong3, "NONE" ], - - [ "Visual", ui_visual_bg, "NONE", "NONE" ], - [ "VisualNOS", ui_visualnos_bg, "NONE", "NONE" ], - - [ "Directory", "NONE", ui_fg_strong3, "NONE" ], - - [ "MatchParen", ui_search, "NONE", "bold" ], - - [ "SpellBad", "NONE", fg_error, "NONE", fg_error ], - [ "SpellCap", "NONE", fg_spellcap, "NONE", fg_spellcap ], - [ "SpellLocal", "NONE", fg_spelllocal, "NONE", fg_spellcap ], - [ "SpellRare", "NONE", fg_spellrare, "NONE", fg_spellcap ], - - [ "WildMenu", ui_bg, ui_fg_strong4, "bold" ], - [ "ErrorMsg", "NONE", ui_fg_errormsg, "bold" ], - [ "ModeMsg", "NONE", ui_fg_strong4, "bold" ], - [ "MoreMsg", "NONE", ui_fg_strong4, "NONE" ], - [ "Question", "NONE", ui_fg_question, "NONE" ], - [ "WarningMsg", "NONE", ui_fg_warningmsg, "bold" ], - - [ "Cursor", ui_cursor_bg, ui_cursor_fg, "bold" ], - [ "CursorColumn", bg_cursorcolumn, "NONE", "NONE" ], - - [ "EndOfBuffer", bg, bg, "NONE" ], - - [ "Noise", "NONE", ui_fg_weak2, "NONE"], - - - # tabline, statusline - - [ "TabLineNum", ui_bg, ui_fg, "bold"], - [ "TabLineNumSel", ui_bg, ui_fg_strong1, "bold"], - - - [ "StatusLineNoise", ui_bg, ui_fg_weak2, "NONE"], - [ "StatusLineNoiseActive", ui_bg, ui_fg, "NONE"], - - [ "StatusLineBufferNr", ui_bg, ui_fg_strong2, "bold"], - [ "StatusLineBufferNrActive", ui_bg, ui_fg_strong3, "bold"], - - [ "StatusLinePercent", ui_bg, ui_fg, "bold"], - [ "StatusLinePercentActive", ui_bg, ui_fg_strong2, "bold"], - [ "StatusLineLinecount", ui_bg, ui_fg, "bold"], - [ "StatusLineLinecountActive", ui_bg, ui_fg_strong1, "bold"], - - [ "StatusLineDivActive", ui_fg, ui_fg, "NONE"], - [ "StatusLineDivInput", ui_statusbar_input, ui_statusbar_input, "NONE"], - [ "StatusLineDivMod", ui_statusbar_mod, ui_statusbar_mod, "NONE"], - [ "StatusLineDivModActive", ui_statusbar_mod_active, ui_statusbar_mod_active, "NONE"], - - [ "StatusLineFileInfo", "NONE", ui_fileinfo, "italic"], - - [ "StatusLineFile", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineFileActive", ui_bg, ui_fg_strong3, "italic"], - [ "StatusLineDir", ui_bg, ui_fg, "italic"], - [ "StatusLineDirActive", ui_bg, ui_fg, "italic"], - [ "StatusLineExt", ui_bg, ui_fg, "italic"], - [ "StatusLineExtActive", ui_bg, ui_fg_strong1, "italic"], - [ "StatusLineDot", ui_bg, ui_fg_weak2, "italic"], - [ "StatusLineDotActive", ui_bg, ui_fg_weak2, "italic"], - - [ "StatusLineFileReadOnly", ui_bg, ui_fg_warning, "italic"], - [ "StatusLineFileReadOnlyActive", "NONE", ui_fg_warning, "italic"], - [ "StatusLineWarning", ui_bg, ui_fg_strong1, "bold"], - [ "StatusLineWarningActive", "NONE", ui_fg_warning, "bold"], - - [ "LinterDash", "NONE", ui_fg_linter_dash, "NONE"], - [ "LinterDashActive", "NONE", ui_fg_linter_dash_active, "NONE"], - - [ "LinterError", "NONE", ui_fg_linter_error, "bold"], - [ "LinterErrorActive", "NONE", ui_fg_linter_error_active, "bold"], - [ "LinterErrorStyle", "NONE", ui_fg_linter_error, "NONE"], - [ "LinterErrorStyleActive", "NONE", ui_fg_linter_error_active, "NONE"], - - [ "LinterWarning", "NONE", ui_fg_linter_warning, "bold"], - [ "LinterWarningActive", "NONE", ui_fg_linter_warning_active, "bold"], - [ "LinterWarningStyle", "NONE", ui_fg_linter_warning, "NONE"], - [ "LinterWarningStyleActive", "NONE", ui_fg_linter_warning_active, "NONE"], - - [ "LinterInfo", "NONE", ui_fg_linter_info, "NONE"], - [ "LinterInfoActive", "NONE", ui_fg_linter_info_active, "NONE"], - - [ "GitGutterDelete", "NONE", ui_sign_delete, "bold"], - [ "GitGutterChange", "NONE", ui_sign_change, "bold"], - [ "GitGutterAdd", "NONE", ui_sign_add, "bold"], - [ "GitGutterChangeDelete", "NONE", ui_sign_changedelete, "bold"], - - # css, scss - - [ "cssIdentifier", "NONE", color_secondary, "bold" ], - [ "cssClass", "NONE", color_secondary_weak, "NONE" ], - [ "cssFunction", "NONE", fg_strong1, "bold" ], - [ "cssProp", "NONE", fg_weak2, "NONE" ], - [ "scssVariable", "NONE", color_secondary_strong, "bold" ], - - [ "cssAttr", "String"], - [ "cssIdentifierAttr", "Noise" ], - [ "cssClassAttr", "cssIdentifierAttr" ], - [ "cssAttrNoise", "Noise" ], - [ "atKeyword", "PreProc" ], - [ "cssIdentifier", "cssIdentifier" ], - [ "cssClassName", "cssClass" ], - [ "cssClassNameDot", "cssClass" ], - [ "cssTagName", "htmlTagName" ], - [ "cssPseudoClassId", "cssClassName" ], - [ "cssKeyFrameSelector", "Label" ], - [ "cssFunctionName", "cssIdentifier" ], - [ "cssBraces", "Noise" ], - [ "cssUnitDecorators", "NONE", fg_strong2, "NONE" ], - [ "scssSelector", "cssClass" ], - [ "scssSelectorName", "scssSelector" ], - [ "scssSelectorChar", "cssIdentifier" ], - [ "scssFunctionName", "cssFunction" ], - [ "scssMixin", "keyword" ], - [ "scssMixinName", "cssFunction" ], - [ "scssampersand", "scssSelectorName" ], - [ "scssAtRoot", "atKeyword" ], - [ "vue_scss", "cssIdentifier" ], - - #html - - ["htmlTagName", "NONE", color_tertiary_weak, "NONE"], - ["htmlSpecialTagName", "NONE", color_tertiary, "bold"], - ["htmlLink", "NONE", color_tertiary_strong, "underline"], - - [ "htmlNormal", "Normal" ], - - [ "htmlTitle", "Title" ], - [ "htmlH1", "htmlTitle" ], - [ "htmlTag", "Noise" ], - [ "htmlEndTag", "htmlTag" ], - [ "htmlArg", "PreProc" ], - [ "htmlValue", "String" ], - [ "htmlSpecialChar", "Special" ], - [ "htmlPreStmt", "PreProc" ], - [ "htmlPreError", "Error" ], - [ "htmlPreProc", "PreProc" ], - [ "htmlPreAttr", "String" ], - [ "htmlPreProcAttrName", "PreProc" ], - [ "htmlPreProcAttrError", "Error" ], - [ "htmlSpecial", "Special" ], - [ "htmlSpecialChar", "Special" ], - [ "htmlString", "String" ], - [ "htmlStatement", "Statement" ], - [ "htmlComment", "Comment" ], - [ "htmlCommentPart", "Comment" ], - [ "htmlValue", "String" ], - [ "htmlCommentError", "htmlError" ], - [ "htmlTagError", "htmlError" ], - [ "htmlEvent", "javaScript" ], - [ "htmlError", "Error" ], - - [ "javaScript", "Special" ], - [ "javaScriptExpression", "javaScript" ], - [ "htmlCssStyleComment", "Comment" ], - [ "htmlCssDefinition", "Special" ], - - [ "htmlImgArg", "htmlArg" ], - [ "htmlSrcValue", "String" ], - [ "htmlSrcsetValue", "htmlSrcValue" ], - [ "htmlAltValue", "String" ], - [ "htmlDataArg", "htmlTagName" ], - [ "htmlDataValue", "Constant" ], - [ "htmlHrefArg", "htmlArg" ], - [ "htmlHrefValue", "htmlSrcValue" ], - - # vue - - [ "vueTagSpecial", "NONE", indigo5, "bold" ], - [ "vueTagComponentName", "NONE", indigo3, "bold" ], - [ "vueDynamicComponent", "NONE", indigo1, "bold" ], - - [ "vueTransitionComponent", "vueDynamicComponent" ], - [ "vueTransitionName", "cssIdentifier" ], - [ "vueTransitionMode", "String" ], - [ "vueDirective", "Identifier" ], - [ "vueEvent", "Function" ], - [ "vueConditional", "Special" ], - [ "vueFor", "vueConditional" ], - [ "vueRef", "vueDirective" ], - [ "vueSlot", "Noise" ], - - [ "vueDirectiveValue", "Type" ], - [ "vueEventValue", "vueDirectiveValue" ], - [ "vueConditionalValue", "vueDirectiveValue" ], - [ "vueForValue", "vueConditionalValue" ], - [ "vueRefValue", "Constant" ], - [ "vueSlotName", "Constant" ], - [ "vueObjectKey", "cssClass" ], - [ "vueObjectValue", "vueDirectiveValue" ], - [ "vueDirectiveClass", "Noise" ], - [ "vueMustache", "Type" ], - - # javascript - [ "jsFunctionKey", "Function" ], - [ "jsFuncCall", "NONE", red2, "bold" ], - [ "jsFuncCall", "Identifier" ], - [ "jsOperator", "Operator" ], - [ "jsVariableDef", "Identifier" ], - [ "jsGlobalObjects", "NONE", fg_strong2, "bold" ], - [ "jsGlobalNodeObjects", "jsGlobalObjects" ], - [ "jsExceptions", "jsGlobalObjects" ], - [ "jsBuiltins", "jsGlobalObjects" ], - [ "jsStorageClass", "Include" ], - [ "jsObjectKey", "NONE", red3, "NONE"], - [ "jsObjectProp", "Type" ], - [ "jsObjectValue", "NONE", color_primary_weak3, "NONE" ], - [ "jsModuleKeyword", "Type" ], - [ "jsOperatorKeyword", "Label" ], - [ "jsThis", "jsGlobalObjects" ], - [ "jsArrowFunction", "Function" ], - - # python - - [ "pythonBuiltin", "Type" ], - [ "pythonBuiltinObj", "Special" ], - [ "pythonDottedName", "Identifier" ], - [ "pythonBrackets", "Noise" ], - [ "pythonQuotes", "Noise" ], - [ "pythonDot", "Noise" ], - [ "pythonNoise", "Noise" ], - [ "pythonExtraOperator", "Operator" ], - [ "pythonDocString", "SpecialComment" ], - [ "pythonSelf", "NONE", fg_weak1, "bold" ], - - # sql - - [ "sqlOperator", "Operator" ], - - # vim - - [ "vimFoldMarker", "NONE", fg_weak1, "NONE"], - [ "vimMap", "Noise" ], - [ "vimAbb", "vimMap" ], - [ "VimCommand", "Statement" ], - [ "VimOption", "String" ], - [ "vimFunction", "Function" ], - [ "vimFuncKey", "Special" ], - [ "vimHighlight", "Noise" ], - [ "vimAuGroupKey", "Noise" ], - [ "vimAutoCmd", "Noise" ], - [ "vimHiTerm", "Include" ], - [ "vimHiAttrib", "Number" ], - [ "VimIsCommand", "Type" ], - [ "vimNotation", "StorageClass" ], - [ "vimMapLhs", "Special" ], - [ "vimMapRhs", "Label" ], - [ "vimNotFunc", "Conditional" ], - [ "vimSep", "Noise" ], - [ "vimParenSep", "vimSep" ], - [ "vimContinue", "vimSep" ], - [ "vimBracket", "vimSep" ], - [ "vimOperParen", "Normal" ], - [ "vimUserFunc", "Identifier" ], - [ "vimFoldMarker", "Noise" ], - - # yaml - - ["yamlKeyValueDelimiter", "Noise" ], - ["yamlFowIndicator", "Noise" ], - - # config highlighting - - [ "confComment", "Comment" ], - - - # extra whitespace - - [ "ExtraWhitespace", bg_whitespace_error ,"NONE", "NONE" ], - - # php - - [ "phpRegion", "Normal" ], - [ "phpComparison", "Operator" ], - - # quickfix - - [ "QuickfixLine", "NONE", ui_fg_strong2, "bold" ], - [ "qfLineNr", "NONE", ui_fg_weak2, "italic"], - [ "qfFilename", "NONE", ui_fg_strong1, "bold" ], - [ "qfSeparator", "Ignore" ], - [ "qfError", "ErrorMsg" ], - - # json - - [ "jsonKeyword", "Identifier" ], - [ "jsonValue", "String" ], - [ "jsonQuote", "Noise" ], - - # plugins - - [ "LspErrorText", "ErrorMsg" ], - [ "LspWarningText", "WarningMsg" ], - [ "LspInformationText", "Question" ], - [ "LspHintText", "Question" ], - - # ctrl-p highlighting - # :h ctrlp-customization - - [ "CtrlPPrtBase", ui_cursor_bg, ui_cursor_fg, "bold" ], - [ "CtrlPPrtText", ui_cursor_bg, ui_cursor_fg, "bold"], - [ "CtrlPMatch", "NONE", ui_fg_strong2, "bold"], - [ "CtrlPMode1", "NONE", ui_fg_strong3, "bold"], - [ "CtrlPMode2", "NONE", ui_fg_strong1, "NONE"], - [ "CtrlPNoEntries", "NONE", ui_fg_warning_strong, "bold" ], - [ "CtrlPBufferNr", "NONE", ui_fg_strong2, "bold" ], - [ "CtrlPBufferInd", "NONE", ui_fg_strong4, "bold" ], - [ "CtrlPBufferPath", "NONE", ui_fg_weak2, "NONE" ], - [ "CtrlPBufferHid", "NONE", ui_fg, "NONE" ], - [ "CtrlPBufferHidMod", "NONE", ui_fg_warning_weak, "NONE" ], - [ "CtrlPBufferVis", "Normal" ], - [ "CtrlPBufferVisMod", "NONE", ui_fg_warning, "NONE" ], - [ "CtrlPBufferCur", "NONE", ui_fg_strong3, "bold" ], - [ "CtrlPBufferCurMod", "NONE", ui_fg_warning_strong, "NONE" ], - - [ "CtrlPBufName", "NONE", ui_fg_strong2, "NONE" ], - [ "CtrlPTagKind", "NONE", ui_fg_strong3, "bold" ], - [ "CtrlPqfLineCol", "NONE", ui_fg_warning, "bold" ], - [ "CtrlPUndoT", "NONE", ui_fg_strong1, "NONE" ], - [ "CtrlPUndoBr", "NONE", ui_fg_weak1, "NONE" ], - [ "CtrlPUndoNr", "NONE", ui_fg_weak2, "NONE" ], - [ "CtrlPUndoSv", "NONE", ui_fg_warning, "NONE" ], - [ "CtrlPUndoPo", "NONE", ui_fg_strong3, "bold" ], - - # i3config - [ "Variable", "Function" ], - - # to be implemented - - # "" #shell highlighting - # "{{{ - # "hi! def link shConditional shLoop - # "hi! def link shFunctionTwo mIdentifierBright - # "hi! def link shFunction mIdentifier - # "hi! def link shFunctionKey mStatement - # "hi! def link shCaseEsac mValue - # "hi! def link shCaseBar mNoise - # "hi! def link shEcho mNoiseBright - # "hi! def link bashSpecialVariables mSpecial - # "hi! def link shCmdSubRegion mNoiseBright - # "hi! def link shCommandSub mSpecialDark - # "hi! def link shEscape mNoise - # "hi! def link shTestOpr mNoise - # "hi! def link shSnglCase mNoise - # hi! def link shDerefSimple Type - # hi! def link shDerefVar shDerefSimple - # hi! def link shDerefOp Conditional - # hi! def link shDerefPattern shDerefOp - # hi! def link shCommandSub Type - # hi! def link shOption StorageClass - # ""}}} - - # "" vim-fugitive - # ""{{{ - # "hi! def link gitCommitBranch mValueDarkItalic - # "hi! def link gitCommitDiscarded mNoiseDark - # "hi! def link gitCommitComment mNoiseDark - # "hi! def link gitCommitOnBranch mNoise - # "hi! def link gitCommitWarning mInterfaceError - # "hi! def link gitCommitDiscardedType mNoise - # "hi! def link gitCommitSelectedType mNoise - # "hi! def link gitCommitSelectedFile mValueDarkerItalic - # "hi! def link gitCommitDiscardedFile mInterfaceWarning - # "hi! def link gitCommitUntrackedFile mStatementBright - # "hi! def link gitCommitNumber mInterfaceError - # "hi! def link gitCommitAhead gitCommitNumber - # "hi! def link gitCommitBehind gitCommitNumber - # ""}}} - - # "" #netrw highlighting - # ""{{{ - # "hi! def link netrwVersion mInterfaceH3 - # "hi! def link netrwComment mInterfaceNormalNormal - # "hi! def link netrwClassify mInterfaceNormal - # "hi! def link netrwTreebar mInterfaceNormalDark - # "hi! def link netrwCmdNote mInterfaceHelpBright - # "hi! def link netrwQuickHelp netrwCmdNote - # "hi! def link netrwList mInterfaceSpecial - # "hi! def link netrwHidePat mInterfaceSpecial - # "hi! def link netrwQHTopic mInterfaceKeyword - # "hi! def link netrwHelpCmd mInterfaceKey - # ""}}} - - # "" #tagbar highlighting - # "" TagbarHighlight defined in vimrc as it gets overridden - # "" by plugin when defined in here - # "" hi! def link TagbarFoldIcon InterfaceNormal - # - # "" hi! def link TagbarHelp InterfaceHelp - # "" hi! def link TagbarHelpKey InterfaceHelpDark - # "" hi! def link TagbarHelpTitle InterfaceHelpBright - # - # "" hi! def link TagbarKind InterfaceH1 - # "" hi! def link TagbarNestedKind InterfaceH1 - # - # "" hi! def link TagbarScope InterfaceH1 - # "" hi! def link TagbarType InterfaceH1 - # "" hi! def link TagbarSignature InterfaceNormal - # "" hi! def link TagbarPseudoID InterfaceNormal - # "" hi! def link TagbarHighlight InterfaceCurrent - # - # "" hi! def link TagbarAccessPublic InterfaceH2 - # "" hi! def link TagbarAccessProtected InterfaceH2 - # "" hi! def link TagbarAccessPrivate InterfaceH2 - # - # "" hi! TagbarHighlight ctermfg=255 guifg=#eeeeee ctermbg=240 guibg=#585858 - - # "" #vimwiki highlighting - # "" hi VimwikiLink ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c - # "" hi! def link VimwikiHeaderChar CRNoiseDark - # "" hi VimwikiHeader1 ctermbg=242 guibg=#666666 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader2 ctermbg=238 guibg=#444444 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader3 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader4 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=251 guifg=#c6c6c6 - # "" hi VimwikiHeader5 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=246 guifg=#949494 - # "" hi VimwikiHeader6 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=244 guifg=#808080 - # "" hi VimwikiListTodo ctermbg=233 guibg=#121212 ctermfg=255 guifg=#eeeeee - - - ] - - # Step 4: generation - # - # From a separate shell: - # - # $ erb -T - bar.erb > bar.vim - # - # From Vim: - # - # :!erb -T - % > %:r.vim - - # These online resources can help you design your colorscheme: - # - # * http://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg - # the xterm palette - # * http://whatcolor.herokuapp.com/ - # play with hexadecimal colors right in the address bar (currently down) - # * http://color.hailpixel.com/ - # similar concept, fuzzier implementation - # * http://colourco.de/ - # similar concept, fancier implementation - # * http://www.colr.org/ - # extract a palette from an image - # * http://colores.manugarri.com/ - # search for 'word', get images and color palettes - # * http://www.colourlovers.com/palettes - # user-created palettes - # * http://www.perbang.dk/color+scheme/ - # a no-nonsense colorscheme generator - # * https://color.adobe.com/ - # Adobe's fancy colorscheme generator - # * http://paletton.com/ - # The classic 'Color Scheme Designer', rebranded - # * http://vrl.cs.brown.edu/color - # A very smart palette generator - # * https://cmcenroe.me/2018/04/03/colour-scheme.html - # "I Made My Own Colour Scheme and You Can Too!" - - # A few general advices: - # - # * The Windows console is limited to the 16 so-called "ANSI" colors but it has - # a few of them interverted which makes numbers impractical. Use color names - # instead of numbers: :help cterm-colors - # * The Windows console (yeah…) doesn't do italics, underlines or bolded text; - # it is limited to normal and reverse. Keep that in mind if you want - # your colorscheme to be usable in as many environments as possible by as many - # people as possible. - # * All of the terminal emulators in use these days allow their users to - # change the 16 so-called "ANSI" colors. It is also possible on some platforms - # to change some or all of the 256 colors in the xterm palette. Don't take - # anything for granted. - # * When used against a light background, strong colors work better than muted - # ones. Light or dark doesn't really matters. Also, it is harder to discriminate - # between two similar colors on a light background. - # * Both strong and muted colors work well against a dark background. It is also - # easier to work with similar colors, but dark colors don't work at all. - # * Use as many text samples as possible. String-heavy languages may look completely - # different than keyword-heavy ones. This can have an impact on the usability - # of your colorscheme. - # * Most terminal emulators and terminal multiplexers currently in use on unix-like - # systems support 256 colors but they almost always default to a '$TERM' that tells - # Vim otherwise. Your users will need to make sure their terminal emulator/multiplexer - # is correctly set up if they want to enjoy the best possible experience. - - # Many thanks to Barry Arthur (https://github.com/dahu) for the original idea. - - # You don't need to edit anything beyond this line. --%> -" <%= information[:name] %>.vim -- Vim color scheme. -" Author: <%= information[:author] %> (<%= information[:email] %>) -" Webpage: <%= information[:webpage] %> -" Description: <%= information[:description] %> - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "<%= information[:name] %>" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") -<% for highlight in highlights -%> -<% if highlight.length == 2 -%> - hi link <%= highlight[0] %> <%= highlight[1] %> -<% elsif highlight.length == 4 -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> -<% if highlight[0] == "Normal" -%> - set background=<%= information[:background] %> -<% end -%> -<% else -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> guisp=<%= highlight[4].kind_of?(String) ? highlight[4] : highlight[4][0] %> -<% end -%> -<% end -%> -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 -<% for highlight in highlights -%> -<% if highlight.length == 2 -%> - hi link <%= highlight[0] %> <%= highlight[1] %> -<% else -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][2] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][2] %> cterm=<%= highlight[3] %> -<% if highlight[0] == "Normal" -%> - set background=<%= information[:background] %> -<% end -%> -<% end -%> -<% end -%> -endif - -augroup cursorlinebg - au! - au InsertEnter * hi CursorLine ctermbg=<%= bg_cursorline_input[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_cursorline_input[0] %> guifg=NONE - au InsertLeave * hi CursorLine ctermbg=<%= bg_cursorline[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_cursorline[0] %> guifg=NONE -augroup END - - diff --git a/colors/monotonous-chroma.vim b/colors/monotonous-chroma.vim deleted file mode 100644 index 6b05ed4..0000000 --- a/colors/monotonous-chroma.vim +++ /dev/null @@ -1,629 +0,0 @@ -" monotonous-chroma.vim -- Vim color scheme. -" Author: studiovx (studiovx@studiovx.co.uk) -" Webpage: -" Description: - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "monotonous-chroma" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") - hi Normal ctermbg=234 ctermfg=243 cterm=NONE guibg=#202122 guifg=#767070 gui=NONE - set background=dark - hi Special ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#cab0af gui=bold - hi NonText ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#d1bab9 gui=NONE - hi Tag ctermbg=237 ctermfg=NONE cterm=NONE guibg=#373030 guifg=NONE gui=NONE - hi Identifier ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#b79392 gui=NONE - hi Function ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#c4a6a5 gui=bold - hi Type ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#967978 gui=NONE - hi StorageClass ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#866b6b gui=bold - hi link Structure StorageClass - hi link TypeDef StorageClass - hi Constant ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#eeeded gui=italic - hi String ctermbg=NONE ctermfg=250 cterm=italic guibg=NONE guifg=#aeaaaa gui=italic - hi link Character String - hi link Number String - hi link Boolean String - hi link Float String - hi Folded ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#aeaaaa gui=NONE - hi Statement ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767070 gui=NONE - hi Conditional ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeaaaa gui=bold - hi Repeat ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9494 gui=bold - hi Label ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi Operator ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9494 gui=bold - hi Keyword ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi Exception ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#6b5d5d gui=bold - hi PreProc ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#494646 gui=bold - hi Include ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi Comment ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#5d5d5d gui=italic - hi SpecialComment ctermbg=NONE ctermfg=244 cterm=italic guibg=NONE guifg=#857f7f gui=italic - hi Todo ctermbg=NONE ctermfg=247 cterm=italic guibg=NONE guifg=#9a9494 gui=italic - hi Ignore ctermbg=NONE ctermfg=234 cterm=NONE guibg=NONE guifg=#202122 gui=NONE - hi Error ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold - hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline guibg=NONE guifg=NONE gui=underline - hi StatusLine ctermbg=238 ctermfg=250 cterm=NONE guibg=#3f3f3f guifg=#aeadad gui=NONE - hi StatusLineNC ctermbg=238 ctermfg=243 cterm=NONE guibg=#3f3f3f guifg=#716c6c gui=NONE - hi TabLine ctermbg=238 ctermfg=243 cterm=NONE guibg=#3f3f3f guifg=#716c6c gui=NONE - hi TabLineFill ctermbg=238 ctermfg=238 cterm=NONE guibg=#3f3f3f guifg=#3f3f3f gui=NONE - hi TabLineSel ctermbg=238 ctermfg=250 cterm=NONE guibg=#3f3f3f guifg=#aeadad gui=NONE - hi VertSplit ctermbg=234 ctermfg=238 cterm=NONE guibg=#202122 guifg=#3f3f3f gui=NONE - hi FoldColumn ctermbg=234 ctermfg=238 cterm=NONE guibg=#202122 guifg=#494646 gui=NONE - hi ColorColumn ctermbg=232 ctermfg=NONE cterm=NONE guibg=#1B1C1D guifg=NONE gui=NONE - hi SignColumn ctermbg=234 ctermfg=250 cterm=NONE guibg=#202122 guifg=#aeadad gui=NONE - hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#1B1C1D guifg=NONE gui=NONE - hi link Title Constant - hi LineNr ctermbg=234 ctermfg=238 cterm=NONE guibg=#202122 guifg=#494646 gui=NONE - hi CursorLineNr ctermbg=234 ctermfg=243 cterm=bold guibg=#202122 guifg=#716c6c gui=bold - hi Pmenu ctermbg=237 ctermfg=244 cterm=NONE guibg=#333535 guifg=#857f7f gui=NONE - hi PmenuSbar ctermbg=237 ctermfg=237 cterm=NONE guibg=#333535 guifg=#333535 gui=NONE - hi PmenuSel ctermbg=237 ctermfg=250 cterm=bold guibg=#333535 guifg=#aeadad gui=bold - hi PmenuThumb ctermbg=244 ctermfg=244 cterm=NONE guibg=#857f7f guifg=#857f7f gui=NONE - hi SpecialKey ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#d1bab9 gui=NONE - hi DiffAdd ctermbg=22 ctermfg=NONE cterm=NONE guibg=#202820 guifg=NONE gui=NONE - hi DiffChange ctermbg=17 ctermfg=NONE cterm=NONE guibg=#242528 guifg=NONE gui=NONE - hi DiffDelete ctermbg=52 ctermfg=NONE cterm=NONE guibg=#282020 guifg=NONE gui=NONE - hi DiffText ctermbg=17 ctermfg=21 cterm=NONE guibg=#242528 guifg=#656a7c gui=NONE - hi IncSearch ctermbg=17 ctermfg=234 cterm=NONE guibg=#93adc2 guifg=#202122 gui=NONE - hi Search ctermbg=17 ctermfg=250 cterm=NONE guibg=#49535a guifg=#aeadad gui=NONE - hi Visual ctermbg=17 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE gui=NONE - hi VisualNOS ctermbg=52 ctermfg=NONE cterm=NONE guibg=#463838 guifg=NONE gui=NONE - hi Directory ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#aeadad gui=NONE - hi MatchParen ctermbg=17 ctermfg=NONE cterm=bold guibg=#49535a guifg=NONE gui=bold - hi SpellBad ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE guisp=#c74444 - hi SpellCap ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#a67038 gui=NONE guisp=#a67038 - hi SpellLocal ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038 - hi SpellRare ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038 - hi WildMenu ctermbg=238 ctermfg=255 cterm=bold guibg=#3f3f3f guifg=#eee4e4 gui=bold - hi ErrorMsg ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold - hi ModeMsg ctermbg=NONE ctermfg=255 cterm=bold guibg=NONE guifg=#eee4e4 gui=bold - hi MoreMsg ctermbg=NONE ctermfg=255 cterm=NONE guibg=NONE guifg=#eee4e4 gui=NONE - hi Question ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE - hi WarningMsg ctermbg=NONE ctermfg=166 cterm=bold guibg=NONE guifg=#a67038 gui=bold - hi Cursor ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CursorColumn ctermbg=232 ctermfg=NONE cterm=NONE guibg=#1F1F1F guifg=NONE gui=NONE - hi EndOfBuffer ctermbg=234 ctermfg=234 cterm=NONE guibg=#202122 guifg=#202122 gui=NONE - hi Noise ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi TabLineNum ctermbg=238 ctermfg=243 cterm=bold guibg=#3f3f3f guifg=#716c6c gui=bold - hi TabLineNumSel ctermbg=238 ctermfg=244 cterm=bold guibg=#3f3f3f guifg=#857f7f gui=bold - hi StatusLineNoise ctermbg=238 ctermfg=240 cterm=NONE guibg=#3f3f3f guifg=#5d5959 gui=NONE - hi StatusLineNoiseActive ctermbg=238 ctermfg=243 cterm=NONE guibg=#3f3f3f guifg=#716c6c gui=NONE - hi StatusLineBufferNr ctermbg=238 ctermfg=247 cterm=bold guibg=#3f3f3f guifg=#9a9393 gui=bold - hi StatusLineBufferNrActive ctermbg=238 ctermfg=250 cterm=bold guibg=#3f3f3f guifg=#aeadad gui=bold - hi StatusLinePercent ctermbg=238 ctermfg=243 cterm=bold guibg=#3f3f3f guifg=#716c6c gui=bold - hi StatusLinePercentActive ctermbg=238 ctermfg=247 cterm=bold guibg=#3f3f3f guifg=#9a9393 gui=bold - hi StatusLineLinecount ctermbg=238 ctermfg=243 cterm=bold guibg=#3f3f3f guifg=#716c6c gui=bold - hi StatusLineLinecountActive ctermbg=238 ctermfg=244 cterm=bold guibg=#3f3f3f guifg=#857f7f gui=bold - hi StatusLineDivActive ctermbg=243 ctermfg=243 cterm=NONE guibg=#716c6c guifg=#716c6c gui=NONE - hi StatusLineDivInput ctermbg=17 ctermfg=17 cterm=NONE guibg=#384046 guifg=#384046 gui=NONE - hi StatusLineDivMod ctermbg=124 ctermfg=124 cterm=NONE guibg=#655757 guifg=#655757 gui=NONE - hi StatusLineDivModActive ctermbg=124 ctermfg=124 cterm=NONE guibg=#916c6c guifg=#916c6c gui=NONE - hi StatusLineFileInfo ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#5d5d5d gui=italic - hi StatusLineFile ctermbg=238 ctermfg=247 cterm=italic guibg=#3f3f3f guifg=#9a9393 gui=italic - hi StatusLineFileActive ctermbg=238 ctermfg=250 cterm=italic guibg=#3f3f3f guifg=#aeadad gui=italic - hi StatusLineDir ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLineDirActive ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLineExt ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLineExtActive ctermbg=238 ctermfg=244 cterm=italic guibg=#3f3f3f guifg=#857f7f gui=italic - hi StatusLineDot ctermbg=238 ctermfg=240 cterm=italic guibg=#3f3f3f guifg=#5d5959 gui=italic - hi StatusLineDotActive ctermbg=238 ctermfg=240 cterm=italic guibg=#3f3f3f guifg=#5d5959 gui=italic - hi StatusLineFileReadOnly ctermbg=238 ctermfg=124 cterm=italic guibg=#3f3f3f guifg=#725454 gui=italic - hi StatusLineFileReadOnlyActive ctermbg=NONE ctermfg=124 cterm=italic guibg=NONE guifg=#725454 gui=italic - hi StatusLineWarning ctermbg=238 ctermfg=244 cterm=bold guibg=#3f3f3f guifg=#857f7f gui=bold - hi StatusLineWarningActive ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi LinterDash ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi LinterDashActive ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5d5d gui=NONE - hi LinterError ctermbg=NONE ctermfg=243 cterm=bold guibg=NONE guifg=#716c6c gui=bold - hi LinterErrorActive ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#7D3636 gui=bold - hi LinterErrorStyle ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi LinterErrorStyleActive ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#7D3636 gui=NONE - hi LinterWarning ctermbg=NONE ctermfg=240 cterm=bold guibg=NONE guifg=#5d5959 gui=bold - hi LinterWarningActive ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi LinterWarningStyle ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi LinterWarningStyleActive ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi LinterInfo ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi LinterInfoActive ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5d5d gui=NONE - hi GitGutterDelete ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi GitGutterChange ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#596171 gui=bold - hi GitGutterAdd ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#496349 gui=bold - hi GitGutterChangeDelete ctermbg=NONE ctermfg=126 cterm=bold guibg=NONE guifg=#5c4a5a gui=bold - hi cssIdentifier ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#b1caaf gui=bold - hi cssClass ctermbg=NONE ctermfg=28 cterm=NONE guibg=NONE guifg=#a5c4a5 gui=NONE - hi cssFunction ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi cssProp ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi scssVariable ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#b9d1bb gui=bold - hi link cssAttr String - hi link cssIdentifierAttr Noise - hi link cssClassAttr cssIdentifierAttr - hi link cssAttrNoise Noise - hi link atKeyword PreProc - hi link cssIdentifier cssIdentifier - hi link cssClassName cssClass - hi link cssClassNameDot cssClass - hi link cssTagName htmlTagName - hi link cssPseudoClassId cssClassName - hi link cssKeyFrameSelector Label - hi link cssFunctionName cssIdentifier - hi link cssBraces Noise - hi cssUnitDecorators ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9a9494 gui=NONE - hi link scssSelector cssClass - hi link scssSelectorName scssSelector - hi link scssSelectorChar cssIdentifier - hi link scssFunctionName cssFunction - hi link scssMixin keyword - hi link scssMixinName cssFunction - hi link scssampersand scssSelectorName - hi link scssAtRoot atKeyword - hi link vue_scss cssIdentifier - hi htmlTagName ctermbg=NONE ctermfg=19 cterm=NONE guibg=NONE guifg=#7378b4 gui=NONE - hi htmlSpecialTagName ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#7e84c6 gui=bold - hi htmlLink ctermbg=NONE ctermfg=21 cterm=underline guibg=NONE guifg=#a1a5d5 gui=underline - hi link htmlNormal Normal - hi link htmlTitle Title - hi link htmlH1 htmlTitle - hi link htmlTag Noise - hi link htmlEndTag htmlTag - hi link htmlArg PreProc - hi link htmlValue String - hi link htmlSpecialChar Special - hi link htmlPreStmt PreProc - hi link htmlPreError Error - hi link htmlPreProc PreProc - hi link htmlPreAttr String - hi link htmlPreProcAttrName PreProc - hi link htmlPreProcAttrError Error - hi link htmlSpecial Special - hi link htmlSpecialChar Special - hi link htmlString String - hi link htmlStatement Statement - hi link htmlComment Comment - hi link htmlCommentPart Comment - hi link htmlValue String - hi link htmlCommentError htmlError - hi link htmlTagError htmlError - hi link htmlEvent javaScript - hi link htmlError Error - hi link javaScript Special - hi link javaScriptExpression javaScript - hi link htmlCssStyleComment Comment - hi link htmlCssDefinition Special - hi link htmlImgArg htmlArg - hi link htmlSrcValue String - hi link htmlSrcsetValue htmlSrcValue - hi link htmlAltValue String - hi link htmlDataArg htmlTagName - hi link htmlDataValue Constant - hi link htmlHrefArg htmlArg - hi link htmlHrefValue htmlSrcValue - hi vueTagSpecial ctermbg=NONE ctermfg=20 cterm=bold guibg=NONE guifg=#a6a5c4 gui=bold - hi vueTagComponentName ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#8685a7 gui=bold - hi vueDynamicComponent ctermbg=NONE ctermfg=17 cterm=bold guibg=NONE guifg=#6c6b86 gui=bold - hi link vueTransitionComponent vueDynamicComponent - hi link vueTransitionName cssIdentifier - hi link vueTransitionMode String - hi link vueDirective Identifier - hi link vueEvent Function - hi link vueConditional Special - hi link vueFor vueConditional - hi link vueRef vueDirective - hi link vueSlot Noise - hi link vueDirectiveValue Type - hi link vueEventValue vueDirectiveValue - hi link vueConditionalValue vueDirectiveValue - hi link vueForValue vueConditionalValue - hi link vueRefValue Constant - hi link vueSlotName Constant - hi link vueObjectKey cssClass - hi link vueObjectValue vueDirectiveValue - hi link vueDirectiveClass Noise - hi link vueMustache Type - hi link jsFunctionKey Function - hi jsFuncCall ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#a78685 gui=bold - hi link jsFuncCall Identifier - hi link jsOperator Operator - hi link jsVariableDef Identifier - hi jsGlobalObjects ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9494 gui=bold - hi link jsGlobalNodeObjects jsGlobalObjects - hi link jsExceptions jsGlobalObjects - hi link jsBuiltins jsGlobalObjects - hi link jsStorageClass Include - hi jsObjectKey ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#b79392 gui=NONE - hi link jsObjectProp Type - hi jsObjectValue ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#866b6b gui=NONE - hi link jsModuleKeyword Type - hi link jsOperatorKeyword Label - hi link jsThis jsGlobalObjects - hi link jsArrowFunction Function - hi link pythonBuiltin Type - hi link pythonBuiltinObj Special - hi link pythonDottedName Identifier - hi link pythonBrackets Noise - hi link pythonQuotes Noise - hi link pythonDot Noise - hi link pythonNoise Noise - hi link pythonExtraOperator Operator - hi link pythonDocString SpecialComment - hi pythonSelf ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#494646 gui=bold - hi link sqlOperator Operator - hi vimFoldMarker ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi link vimMap Noise - hi link vimAbb vimMap - hi link VimCommand Statement - hi link VimOption String - hi link vimFunction Function - hi link vimFuncKey Special - hi link vimHighlight Noise - hi link vimAuGroupKey Noise - hi link vimAutoCmd Noise - hi link vimHiTerm Include - hi link vimHiAttrib Number - hi link VimIsCommand Type - hi link vimNotation StorageClass - hi link vimMapLhs Special - hi link vimMapRhs Label - hi link vimNotFunc Conditional - hi link vimSep Noise - hi link vimParenSep vimSep - hi link vimContinue vimSep - hi link vimBracket vimSep - hi link vimOperParen Normal - hi link vimUserFunc Identifier - hi link vimFoldMarker Noise - hi link yamlKeyValueDelimiter Noise - hi link yamlFowIndicator Noise - hi link confComment Comment - hi ExtraWhitespace ctermbg=196 ctermfg=NONE cterm=NONE guibg=#6a2e2e guifg=NONE gui=NONE - hi link phpRegion Normal - hi link phpComparison Operator - hi QuickfixLine ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi qfLineNr ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#5d5959 gui=italic - hi qfFilename ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi link qfSeparator Ignore - hi link qfError ErrorMsg - hi link jsonKeyword Identifier - hi link jsonValue String - hi link jsonQuote Noise - hi link LspErrorText ErrorMsg - hi link LspWarningText WarningMsg - hi link LspInformationText Question - hi link LspHintText Question - hi CtrlPPrtBase ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CtrlPPrtText ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CtrlPMatch ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi CtrlPMode1 ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPMode2 ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#857f7f gui=NONE - hi CtrlPNoEntries ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#916c6c gui=bold - hi CtrlPBufferNr ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi CtrlPBufferInd ctermbg=NONE ctermfg=255 cterm=bold guibg=NONE guifg=#eee4e4 gui=bold - hi CtrlPBufferPath ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi CtrlPBufferHid ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi CtrlPBufferHidMod ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#7b6a6a gui=NONE - hi link CtrlPBufferVis Normal - hi CtrlPBufferVisMod ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi CtrlPBufferCur ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPBufferCurMod ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#916c6c gui=NONE - hi CtrlPBufName ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9a9393 gui=NONE - hi CtrlPTagKind ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPqfLineCol ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi CtrlPUndoT ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#857f7f gui=NONE - hi CtrlPUndoBr ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi CtrlPUndoNr ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi CtrlPUndoSv ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi CtrlPUndoPo ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi link Variable Function -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 - hi Normal ctermbg=black ctermfg=gray cterm=NONE - set background=dark - hi Special ctermbg=NONE ctermfg=red cterm=bold - hi NonText ctermbg=NONE ctermfg=red cterm=NONE - hi Tag ctermbg=darkred ctermfg=NONE cterm=NONE - hi Identifier ctermbg=NONE ctermfg=red cterm=NONE - hi Function ctermbg=NONE ctermfg=red cterm=bold - hi Type ctermbg=NONE ctermfg=darkred cterm=NONE - hi StorageClass ctermbg=NONE ctermfg=darkred cterm=bold - hi link Structure StorageClass - hi link TypeDef StorageClass - hi Constant ctermbg=NONE ctermfg=white cterm=italic - hi String ctermbg=NONE ctermfg=white cterm=italic - hi link Character String - hi link Number String - hi link Boolean String - hi link Float String - hi Folded ctermbg=NONE ctermfg=white cterm=NONE - hi Statement ctermbg=NONE ctermfg=gray cterm=NONE - hi Conditional ctermbg=NONE ctermfg=white cterm=bold - hi Repeat ctermbg=NONE ctermfg=darkgray cterm=bold - hi Label ctermbg=NONE ctermfg=darkgray cterm=bold - hi Operator ctermbg=NONE ctermfg=darkgray cterm=bold - hi Keyword ctermbg=NONE ctermfg=darkgray cterm=bold - hi Exception ctermbg=NONE ctermfg=darkred cterm=bold - hi PreProc ctermbg=NONE ctermfg=gray cterm=bold - hi Include ctermbg=NONE ctermfg=gray cterm=NONE - hi Comment ctermbg=NONE ctermfg=gray cterm=italic - hi SpecialComment ctermbg=NONE ctermfg=darkgray cterm=italic - hi Todo ctermbg=NONE ctermfg=darkgray cterm=italic - hi Ignore ctermbg=NONE ctermfg=black cterm=NONE - hi Error ctermbg=NONE ctermfg=red cterm=bold - hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline - hi StatusLine ctermbg=gray ctermfg=white cterm=NONE - hi StatusLineNC ctermbg=gray ctermfg=gray cterm=NONE - hi TabLine ctermbg=gray ctermfg=gray cterm=NONE - hi TabLineFill ctermbg=gray ctermfg=gray cterm=NONE - hi TabLineSel ctermbg=gray ctermfg=white cterm=NONE - hi VertSplit ctermbg=black ctermfg=gray cterm=NONE - hi FoldColumn ctermbg=black ctermfg=gray cterm=NONE - hi ColorColumn ctermbg=gray ctermfg=NONE cterm=NONE - hi SignColumn ctermbg=black ctermfg=white cterm=NONE - hi CursorLine ctermbg=gray ctermfg=NONE cterm=NONE - hi link Title Constant - hi LineNr ctermbg=black ctermfg=gray cterm=NONE - hi CursorLineNr ctermbg=black ctermfg=gray cterm=bold - hi Pmenu ctermbg=black ctermfg=darkgray cterm=NONE - hi PmenuSbar ctermbg=black ctermfg=black cterm=NONE - hi PmenuSel ctermbg=black ctermfg=white cterm=bold - hi PmenuThumb ctermbg=darkgray ctermfg=darkgray cterm=NONE - hi SpecialKey ctermbg=NONE ctermfg=red cterm=NONE - hi DiffAdd ctermbg=darkgreen ctermfg=NONE cterm=NONE - hi DiffChange ctermbg=darkblue ctermfg=NONE cterm=NONE - hi DiffDelete ctermbg=darkred ctermfg=NONE cterm=NONE - hi DiffText ctermbg=darkblue ctermfg=white cterm=NONE - hi IncSearch ctermbg=darkblue ctermfg=black cterm=NONE - hi Search ctermbg=darkblue ctermfg=white cterm=NONE - hi Visual ctermbg=darkblue ctermfg=NONE cterm=NONE - hi VisualNOS ctermbg=darkred ctermfg=NONE cterm=NONE - hi Directory ctermbg=NONE ctermfg=white cterm=NONE - hi MatchParen ctermbg=darkblue ctermfg=NONE cterm=bold - hi SpellBad ctermbg=NONE ctermfg=red cterm=NONE - hi SpellCap ctermbg=NONE ctermfg=yellow cterm=NONE - hi SpellLocal ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi SpellRare ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi WildMenu ctermbg=gray ctermfg=white cterm=bold - hi ErrorMsg ctermbg=NONE ctermfg=red cterm=bold - hi ModeMsg ctermbg=NONE ctermfg=white cterm=bold - hi MoreMsg ctermbg=NONE ctermfg=white cterm=NONE - hi Question ctermbg=NONE ctermfg=darkgray cterm=NONE - hi WarningMsg ctermbg=NONE ctermfg=yellow cterm=bold - hi Cursor ctermbg=white ctermfg=black cterm=bold - hi CursorColumn ctermbg=gray ctermfg=NONE cterm=NONE - hi EndOfBuffer ctermbg=black ctermfg=black cterm=NONE - hi Noise ctermbg=NONE ctermfg=gray cterm=NONE - hi TabLineNum ctermbg=gray ctermfg=gray cterm=bold - hi TabLineNumSel ctermbg=gray ctermfg=darkgray cterm=bold - hi StatusLineNoise ctermbg=gray ctermfg=gray cterm=NONE - hi StatusLineNoiseActive ctermbg=gray ctermfg=gray cterm=NONE - hi StatusLineBufferNr ctermbg=gray ctermfg=darkgray cterm=bold - hi StatusLineBufferNrActive ctermbg=gray ctermfg=white cterm=bold - hi StatusLinePercent ctermbg=gray ctermfg=gray cterm=bold - hi StatusLinePercentActive ctermbg=gray ctermfg=darkgray cterm=bold - hi StatusLineLinecount ctermbg=gray ctermfg=gray cterm=bold - hi StatusLineLinecountActive ctermbg=gray ctermfg=darkgray cterm=bold - hi StatusLineDivActive ctermbg=gray ctermfg=gray cterm=NONE - hi StatusLineDivInput ctermbg=darkblue ctermfg=darkblue cterm=NONE - hi StatusLineDivMod ctermbg=red ctermfg=red cterm=NONE - hi StatusLineDivModActive ctermbg=red ctermfg=red cterm=NONE - hi StatusLineFileInfo ctermbg=NONE ctermfg=gray cterm=italic - hi StatusLineFile ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineFileActive ctermbg=gray ctermfg=white cterm=italic - hi StatusLineDir ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineDirActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineExt ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineExtActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineDot ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineDotActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineFileReadOnly ctermbg=gray ctermfg=red cterm=italic - hi StatusLineFileReadOnlyActive ctermbg=NONE ctermfg=red cterm=italic - hi StatusLineWarning ctermbg=gray ctermfg=darkgray cterm=bold - hi StatusLineWarningActive ctermbg=NONE ctermfg=red cterm=bold - hi LinterDash ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterDashActive ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterError ctermbg=NONE ctermfg=gray cterm=bold - hi LinterErrorActive ctermbg=NONE ctermfg=red cterm=bold - hi LinterErrorStyle ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterErrorStyleActive ctermbg=NONE ctermfg=red cterm=NONE - hi LinterWarning ctermbg=NONE ctermfg=gray cterm=bold - hi LinterWarningActive ctermbg=NONE ctermfg=red cterm=bold - hi LinterWarningStyle ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterWarningStyleActive ctermbg=NONE ctermfg=red cterm=NONE - hi LinterInfo ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterInfoActive ctermbg=NONE ctermfg=gray cterm=NONE - hi GitGutterDelete ctermbg=NONE ctermfg=red cterm=bold - hi GitGutterChange ctermbg=NONE ctermfg=blue cterm=bold - hi GitGutterAdd ctermbg=NONE ctermfg=green cterm=bold - hi GitGutterChangeDelete ctermbg=NONE ctermfg=magenta cterm=bold - hi cssIdentifier ctermbg=NONE ctermfg=green cterm=bold - hi cssClass ctermbg=NONE ctermfg=green cterm=NONE - hi cssFunction ctermbg=NONE ctermfg=darkgray cterm=bold - hi cssProp ctermbg=NONE ctermfg=gray cterm=NONE - hi scssVariable ctermbg=NONE ctermfg=green cterm=bold - hi link cssAttr String - hi link cssIdentifierAttr Noise - hi link cssClassAttr cssIdentifierAttr - hi link cssAttrNoise Noise - hi link atKeyword PreProc - hi link cssIdentifier cssIdentifier - hi link cssClassName cssClass - hi link cssClassNameDot cssClass - hi link cssTagName htmlTagName - hi link cssPseudoClassId cssClassName - hi link cssKeyFrameSelector Label - hi link cssFunctionName cssIdentifier - hi link cssBraces Noise - hi cssUnitDecorators ctermbg=NONE ctermfg=darkgray cterm=NONE - hi link scssSelector cssClass - hi link scssSelectorName scssSelector - hi link scssSelectorChar cssIdentifier - hi link scssFunctionName cssFunction - hi link scssMixin keyword - hi link scssMixinName cssFunction - hi link scssampersand scssSelectorName - hi link scssAtRoot atKeyword - hi link vue_scss cssIdentifier - hi htmlTagName ctermbg=NONE ctermfg=darkblue cterm=NONE - hi htmlSpecialTagName ctermbg=NONE ctermfg=blue cterm=bold - hi htmlLink ctermbg=NONE ctermfg=blue cterm=underline - hi link htmlNormal Normal - hi link htmlTitle Title - hi link htmlH1 htmlTitle - hi link htmlTag Noise - hi link htmlEndTag htmlTag - hi link htmlArg PreProc - hi link htmlValue String - hi link htmlSpecialChar Special - hi link htmlPreStmt PreProc - hi link htmlPreError Error - hi link htmlPreProc PreProc - hi link htmlPreAttr String - hi link htmlPreProcAttrName PreProc - hi link htmlPreProcAttrError Error - hi link htmlSpecial Special - hi link htmlSpecialChar Special - hi link htmlString String - hi link htmlStatement Statement - hi link htmlComment Comment - hi link htmlCommentPart Comment - hi link htmlValue String - hi link htmlCommentError htmlError - hi link htmlTagError htmlError - hi link htmlEvent javaScript - hi link htmlError Error - hi link javaScript Special - hi link javaScriptExpression javaScript - hi link htmlCssStyleComment Comment - hi link htmlCssDefinition Special - hi link htmlImgArg htmlArg - hi link htmlSrcValue String - hi link htmlSrcsetValue htmlSrcValue - hi link htmlAltValue String - hi link htmlDataArg htmlTagName - hi link htmlDataValue Constant - hi link htmlHrefArg htmlArg - hi link htmlHrefValue htmlSrcValue - hi vueTagSpecial ctermbg=NONE ctermfg=blue cterm=bold - hi vueTagComponentName ctermbg=NONE ctermfg=darkblue cterm=bold - hi vueDynamicComponent ctermbg=NONE ctermfg=darkblue cterm=bold - hi link vueTransitionComponent vueDynamicComponent - hi link vueTransitionName cssIdentifier - hi link vueTransitionMode String - hi link vueDirective Identifier - hi link vueEvent Function - hi link vueConditional Special - hi link vueFor vueConditional - hi link vueRef vueDirective - hi link vueSlot Noise - hi link vueDirectiveValue Type - hi link vueEventValue vueDirectiveValue - hi link vueConditionalValue vueDirectiveValue - hi link vueForValue vueConditionalValue - hi link vueRefValue Constant - hi link vueSlotName Constant - hi link vueObjectKey cssClass - hi link vueObjectValue vueDirectiveValue - hi link vueDirectiveClass Noise - hi link vueMustache Type - hi link jsFunctionKey Function - hi jsFuncCall ctermbg=NONE ctermfg=darkred cterm=bold - hi link jsFuncCall Identifier - hi link jsOperator Operator - hi link jsVariableDef Identifier - hi jsGlobalObjects ctermbg=NONE ctermfg=darkgray cterm=bold - hi link jsGlobalNodeObjects jsGlobalObjects - hi link jsExceptions jsGlobalObjects - hi link jsBuiltins jsGlobalObjects - hi link jsStorageClass Include - hi jsObjectKey ctermbg=NONE ctermfg=red cterm=NONE - hi link jsObjectProp Type - hi jsObjectValue ctermbg=NONE ctermfg=darkred cterm=NONE - hi link jsModuleKeyword Type - hi link jsOperatorKeyword Label - hi link jsThis jsGlobalObjects - hi link jsArrowFunction Function - hi link pythonBuiltin Type - hi link pythonBuiltinObj Special - hi link pythonDottedName Identifier - hi link pythonBrackets Noise - hi link pythonQuotes Noise - hi link pythonDot Noise - hi link pythonNoise Noise - hi link pythonExtraOperator Operator - hi link pythonDocString SpecialComment - hi pythonSelf ctermbg=NONE ctermfg=gray cterm=bold - hi link sqlOperator Operator - hi vimFoldMarker ctermbg=NONE ctermfg=gray cterm=NONE - hi link vimMap Noise - hi link vimAbb vimMap - hi link VimCommand Statement - hi link VimOption String - hi link vimFunction Function - hi link vimFuncKey Special - hi link vimHighlight Noise - hi link vimAuGroupKey Noise - hi link vimAutoCmd Noise - hi link vimHiTerm Include - hi link vimHiAttrib Number - hi link VimIsCommand Type - hi link vimNotation StorageClass - hi link vimMapLhs Special - hi link vimMapRhs Label - hi link vimNotFunc Conditional - hi link vimSep Noise - hi link vimParenSep vimSep - hi link vimContinue vimSep - hi link vimBracket vimSep - hi link vimOperParen Normal - hi link vimUserFunc Identifier - hi link vimFoldMarker Noise - hi link yamlKeyValueDelimiter Noise - hi link yamlFowIndicator Noise - hi link confComment Comment - hi ExtraWhitespace ctermbg=red ctermfg=NONE cterm=NONE - hi link phpRegion Normal - hi link phpComparison Operator - hi QuickfixLine ctermbg=NONE ctermfg=darkgray cterm=bold - hi qfLineNr ctermbg=NONE ctermfg=gray cterm=italic - hi qfFilename ctermbg=NONE ctermfg=darkgray cterm=bold - hi link qfSeparator Ignore - hi link qfError ErrorMsg - hi link jsonKeyword Identifier - hi link jsonValue String - hi link jsonQuote Noise - hi link LspErrorText ErrorMsg - hi link LspWarningText WarningMsg - hi link LspInformationText Question - hi link LspHintText Question - hi CtrlPPrtBase ctermbg=white ctermfg=black cterm=bold - hi CtrlPPrtText ctermbg=white ctermfg=black cterm=bold - hi CtrlPMatch ctermbg=NONE ctermfg=darkgray cterm=bold - hi CtrlPMode1 ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPMode2 ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPNoEntries ctermbg=NONE ctermfg=red cterm=bold - hi CtrlPBufferNr ctermbg=NONE ctermfg=darkgray cterm=bold - hi CtrlPBufferInd ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPBufferPath ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPBufferHid ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPBufferHidMod ctermbg=NONE ctermfg=darkred cterm=NONE - hi link CtrlPBufferVis Normal - hi CtrlPBufferVisMod ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPBufferCur ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPBufferCurMod ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPBufName ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPTagKind ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPqfLineCol ctermbg=NONE ctermfg=red cterm=bold - hi CtrlPUndoT ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPUndoBr ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPUndoNr ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPUndoSv ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPUndoPo ctermbg=NONE ctermfg=white cterm=bold - hi link Variable Function -endif - -augroup cursorlinebg - au! - au InsertEnter * hi CursorLine ctermbg=17 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE - au InsertLeave * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#1B1C1D guifg=NONE -augroup END - - diff --git a/colors/monotonous-dark.erb b/colors/monotonous-dark.erb deleted file mode 100644 index 240cdb9..0000000 --- a/colors/monotonous-dark.erb +++ /dev/null @@ -1,863 +0,0 @@ -<% - # RNB, A VIM COLORSCHEME TEMPLATE - # Author: Romain Lafourcade (https://github.com/romainl) - # Canonical URL: https://gist.github.com/romainl/5cd2f4ec222805f49eca - - # Step 1: information - # - # Make sure the name of your colorscheme is unique and attractive. - # The description should fit in a single line with no linefeed. - # 'background' can be "light" or "dark". - information = { - author: "studiovx", - email: "studiovx@studiovx.co.uk", - name: "monotonous-dark", - description: "", - background: "dark", - webpage: "" - } - - # Step 2: colors - # - # black = [ give each color a distinctive name - # "#000000", hexadecimal color for GVim/MacVim and "true colors" terminals - # 0, integer between 0 and 255 for terminals supporting 256 colors - # "black" color name for less capable color terminals, can be "darkred", "red", - # "darkgreen", "green", "darkyellow", "yellow", "darkblue", "blue", - # "darkmagenta", "magenta", "black", "darkgrey", "grey", "white" - # ] - # - # If your colors are defined correctly, the resulting colorscheme is guaranteed - # to work in GVim (Windows/Linux), MacVim, and any properly set up terminal emulator. - - darkred1 = ["#373030", 237, "darkred"] - darkred2 = ["#6b5d5d", 52, "darkred"] - darkred3 = ["#866b6b", 52, "darkred"] - red1 = ["#967978", 52, "darkred"] - red2 = ["#a78685", 88, "darkred"] - red3 = ["#b79392", 88, "red"] - lightred1 = ["#c4a6a5", 88, "red"] - lightred2 = ["#cab0af", 124, "red"] - lightred3 = ["#d1bab9", 124, "red"] - - graygreen0 = ["#303730", 237, "black"] - green1 = ["#6b866c", 22, "darkgreen"] - green2 = ["#7a9678", 22, "darkgreen"] - green3 = ["#85a786", 28, "darkgreen"] - green4 = ["#95b792", 28, "green"] - green5 = ["#a5c4a5", 28, "green"] - green6 = ["#b1caaf", 34, "green"] - green7 = ["#b9d1bb", 34, "green"] - - grayblue0 = ["#303237", 237, "black"] - blue1 = ["#5c6191", 17, "darkblue"] - blue2 = ["#6a6f9b", 18, "darkblue"] - blue3 = ["#7378b4", 19, "darkblue"] - blue4 = ["#7e84c6", 19, "blue"] - blue5 = ["#898fcb", 20, "blue"] - blue6 = ["#959ad0", 20, "blue"] - blue7 = ["#a1a5d5", 21, "blue"] - - grayindigo0 = ["#323037", 237, "black"] - indigo1 = ["#6c6b86", 17, "darkblue"] - indigo2 = ["#787896", 18, "darkblue"] - indigo3 = ["#8685a7", 19, "darkblue"] - indigo4 = ["#9292b7", 19, "blue"] - indigo5 = ["#a6a5c4", 20, "blue"] - indigo6 = ["#b0afca", 20, "blue"] - indigo7 = ["#beb9d1", 21, "blue"] - - # TODO 256 and term colours - magenta1= ["#625166", 164, "magenta"] - magenta2= ["#725f77", 164, "magenta"] - magenta3= ["#826c89", 164, "magenta"] - magenta4= ["#927a9a", 164, "magenta"] - magenta5= ["#a287aa", 164, "magenta"] - magenta6= ["#b294bb", 164, "magenta"] - magenta7= ["#b99dc1", 164, "magenta"] - - grayyellow0 = ["#373730", 237, "black"] - yellow1 = ["#90905c", 22, "darkyellow"] - yellow2 = ["#a2a268", 22, "darkyellow"] - yellow3 = ["#b4b473", 28, "darkyellow"] - yellow4 = ["#c3c67e", 28, "yellow"] - yellow5 = ["#c6c689", 28, "yellow"] - yellow6 = ["#d0d095", 34, "yellow"] - yellow7 = ["#d5d5a1", 34, "yellow"] - - - bg_cursorline = ["#1B1C1D", 232, "gray"] - bg_colorcolumn = bg_cursorline - bg_cursorcolumn = ["#1F1F1F", 232, "gray"] - bg = ["#202122", 234, "black"] - bg_cursorline_input = ["#384046", 17, "darkblue"] - fg_weak1 = ["#494646", 238, "gray"] - fg_comment = ["#5d5d5d", 240, "gray"] - fg_weak2 = ["#716c6c", 243, "gray"] - fg = ["#767070", 243, "gray"] - fg_strong1 = ["#857f7f", 244, "darkgray"] - fg_strong2 = ["#9a9393", 247, "darkgray"] - fg_strong3 = ["#aeadad", 250, "white"] - fg_strong4 = ["#eee4e4", 255, "white"] - fg_special = ["#ffffff", 255, "white"] - - fg_error = ["#c74444", 196, "red"] - fg_spellcap = ["#a67038", 166, "yellow"] - fg_spellrare = ["#797532", 247, "darkyellow"] - fg_spelllocal = fg_spellrare - bg_whitespace_error = ["#6a2e2e", 196, "red"] - fg_todo = ["#ff4500", 196, "red"] - - color_primary_weak1 = darkred1 - color_primary_weak2 = darkred2 - color_primary_weak3 = darkred3 - color_primary1 = red1 - color_primary2 = red2 - color_primary3 = red3 - color_primary_strong1 = lightred1 - color_primary_strong2 = lightred2 - color_primary_strong3 = lightred3 - - color_secondary_weak = green5 - color_secondary = green6 - color_secondary_strong = green7 - - color_tertiary_weak = blue3 - color_tertiary = blue4 - color_tertiary_strong = blue7 - - ui_bg = ["#3f3f3f", 238, "gray"] - ui_fg_weak1 = ["#494646", 238, "gray"] - ui_fg_weak2 = ["#5d5959", 240, "gray"] - ui_fg = ["#716c6c", 243, "gray"] - ui_fg_strong1 = ["#857f7f", 244, "darkgray"] - ui_fg_strong2 = ["#9a9393", 247, "darkgray"] - ui_fg_strong3 = ["#aeadad", 250, "white"] - ui_fg_strong4 = ["#eee4e4", 255, "white"] - - ui_cursor_bg = ["#eee4e4", 255, "white"] - ui_cursor_fg = ["#131313", 0, "black"] - - ui_linenr = fg_weak1 - ui_cursorlinenr = fg_weak2 - - ui_search = ["#49535a", 17, "darkblue"] - ui_incsearch = ["#93adc2", 17, "darkblue"] - - ui_visual_bg = ["#384046", 17, "darkblue"] - ui_visualnos_bg = ["#463838", 52, "darkred"] - - menu_bg = ["#333535", 237, "black"] - menu_fg = ui_fg_strong1 - menu_sel = ui_fg_strong3 - - diff_delete_bg = ["#322929", 52, "darkred"] - diff_add_bg = ["#293229", 22, "darkgreen"] - diff_change_bg = ["#2D2E34", 17, "darkblue"] - diff_change_fg = ["#656a7c", 21, "white"] - - ui_sign_add = ["#496349", 34, "green"] - ui_sign_change = ["#596171", 19, "blue"] - ui_sign_delete = ["#725454", 124, "red"] - ui_sign_changedelete = ["#5c4a5a", 126, "magenta"] - - ui_statusbar_mod = ["#655757", 124, "red"] - ui_statusbar_mod_active = ["#916c6c", 124, "red"] - ui_statusbar_input = ["#384046", 17, "darkblue"] - - ui_fileinfo = fg_comment - - ui_fg_errormsg = ["#c74444", 196, "red"] - ui_fg_warningmsg = ["#a67038", 166, "yellow"] - ui_fg_question = ["#797532", 247, "darkgray"] - - ui_fg_warning_weak = ["#7b6a6a", 88, "darkred"] - ui_fg_warning = ["#725454", 124, "red"] - ui_fg_warning_strong = ["#916c6c", 196, "red"] - ui_fg_error = ["#7D3636", 196, "red"] - - ui_fg_linter_dash = fg_weak1 - ui_fg_linter_dash_active = fg_comment - ui_fg_linter_error = ui_fg - ui_fg_linter_error_active = ui_fg_errormsg - ui_fg_linter_warning = ui_fg_weak2 - ui_fg_linter_warning_active = ui_fg_warningmsg - ui_fg_linter_info = fg_weak1 - ui_fg_linter_info_active = ui_fg_question - - # terminal_ansi_colors = [ '#1f2121', fg_comment[0], fg_weak2[0], fg[0], fg_strong1[0], fg_strong2[0], fg_strong3[0], fg_strong4[0], bg_cursorline[0], color_primary_weak3[0], color_primary1[0], color_primary2[0], color_primary3[0], color_primary_strong1[0], color_primary_strong2[0], color_primary_strong3[0] ] - terminal_ansi_colors = [ '#1f2121', fg_comment[0], fg_weak2[0], fg[0], fg_strong1[0], fg_strong2[0], fg_strong3[0], fg_strong4[0], ui_bg[0], yellow1[0], yellow2[0], yellow3[0], yellow4[0], yellow5[0], yellow6[0], yellow7[0] ] - - # Step 3: highlights - highlights = [ - [ "Normal", bg, fg, "NONE" ], - - [ "Special", "NONE", color_primary_strong2, "bold" ], - [ "NonText", "NONE", color_primary_strong3, "NONE" ], - [ "Tag", color_primary_weak1, "NONE", "NONE" ], - - [ "Identifier", "NONE", color_primary3, "NONE" ], - [ "Function", "NONE", color_primary_strong1, "bold" ], - - [ "Type", "NONE", color_primary1, "NONE" ], - [ "StorageClass", "NONE", color_primary_weak3, "bold" ], - [ "Structure", "StorageClass"], - [ "TypeDef", "StorageClass"], - - [ "Constant", "NONE", fg_strong4, "italic" ], - [ "String", "NONE", fg_strong3, "italic" ], - [ "Character", "String" ], - [ "Number", "String" ], - [ "Boolean", "String" ], - [ "Float", "String" ], - - [ "Folded", "NONE", fg_strong3, "bold" ], - - [ "Statement", "NONE", fg, "NONE" ], - [ "Conditional", "NONE", fg_strong3, "bold" ], - [ "Repeat", "NONE", fg_strong2, "bold" ], - [ "Label", "NONE", fg_strong1, "bold" ], - [ "Operator", "NONE", fg_comment, "NONE" ], - [ "Keyword", "NONE", fg_strong1, "bold" ], - [ "Exception", "NONE", color_primary_weak2, "bold" ], - - [ "PreProc", "NONE", fg_weak1, "bold" ], - [ "Include", "NONE", fg_weak1, "NONE" ], - - [ "Comment", "NONE", fg_comment, "bold,italic" ], - [ "SpecialComment", "NONE", fg_strong1, "italic"], - [ "Todo", "NONE", fg_todo, "bold,italic" ], - - [ "Ignore", "NONE", bg, "NONE" ], - [ "Conceal", "NONE", "NONE", "NONE" ], - - [ "Error", "NONE", fg_error, "bold" ], - - [ "Underlined", "NONE", "NONE", "underline" ], - - [ "StatusLine", ui_bg, ui_fg_strong3, "italic" ], - [ "StatusLineNC", ui_bg, ui_fg, "italic" ], - [ "TabLine", ui_bg, ui_fg, "italic" ], - [ "TabLineFill", ui_bg, ui_bg, "italic" ], - [ "TabLineSel", ui_bg, ui_fg_strong3, "italic" ], - - [ "VertSplit", bg, ui_bg, "NONE" ], - [ "FoldColumn", bg, fg_weak1, "NONE" ], - [ "ColorColumn", bg_colorcolumn, "NONE", "NONE" ], - [ "SignColumn", bg, ui_fg_strong3, "NONE" ], - [ "CursorLine", bg_cursorline, "NONE", "NONE" ], - - [ "Title", "NONE", fg_strong4, "bold,italic" ], - - [ "LineNr", bg, ui_linenr, "NONE" ], - [ "CursorLineNr", bg, ui_cursorlinenr, "bold" ], - - # [ "helpLeadBlank", "NONE", grayfg, "NONE" ], - # [ "helpNormal", "NONE", grayfg, "NONE" ], - - [ "Pmenu", menu_bg, menu_fg, "NONE" ], - [ "PmenuSbar", menu_bg, menu_bg, "NONE" ], - [ "PmenuSel", menu_bg, menu_sel, "bold" ], - [ "PmenuThumb", menu_fg, menu_fg, "NONE" ], - - [ "SpecialKey", "NONE", color_primary_strong3, "NONE" ], - - [ "DiffAdd", diff_add_bg, "NONE", "NONE" ], - [ "DiffChange", diff_change_bg, "NONE", "NONE" ], - [ "DiffDelete", diff_delete_bg, "NONE", "NONE" ], - [ "DiffText", diff_change_bg, diff_change_fg, "NONE" ], - - [ "IncSearch", ui_incsearch, bg, "NONE" ], - [ "Search", ui_search, ui_fg_strong3, "NONE" ], - - [ "Visual", ui_visual_bg, "NONE", "NONE" ], - [ "VisualNOS", ui_visualnos_bg, "NONE", "NONE" ], - - [ "Directory", "NONE", ui_fg_strong3, "NONE" ], - - [ "MatchParen", "NONE", fg_special, "bold" ], - - [ "SpellBad", "NONE", fg_error, "NONE", fg_error ], - [ "SpellCap", "NONE", fg_spellcap, "NONE", fg_spellcap ], - [ "SpellLocal", "NONE", fg_spelllocal, "NONE", fg_spellcap ], - [ "SpellRare", "NONE", fg_spellrare, "NONE", fg_spellcap ], - - [ "WildMenu", ui_bg, ui_fg_strong4, "bold" ], - [ "ErrorMsg", "NONE", ui_fg_errormsg, "italic" ], - [ "ModeMsg", "NONE", ui_fg_strong4, "italic" ], - [ "MoreMsg", "NONE", ui_fg_strong4, "italic" ], - [ "Question", "NONE", ui_fg_question, "italic" ], - [ "WarningMsg", "NONE", ui_fg_warningmsg, "italic" ], - - [ "Cursor", ui_cursor_bg, ui_cursor_fg, "bold" ], - [ "CursorColumn", bg_cursorcolumn, "NONE", "NONE" ], - - [ "EndOfBuffer", bg, bg, "NONE" ], - - [ "Noise", "NONE", ui_fg_weak2, "NONE"], - - - # tabline, statusline - - [ "TabLineNum", ui_bg, ui_fg, "italic"], - [ "TabLineNumSel", ui_bg, ui_fg_strong1, "italic"], - - - [ "StatusLineNoise", ui_bg, ui_fg_weak2, "italic"], - [ "StatusLineNoiseActive", ui_bg, ui_fg, "italic"], - - [ "StatusLineBufferNr", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineBufferNrActive", ui_bg, ui_fg_strong3, "italic"], - - [ "StatusLinePercent", ui_bg, ui_fg, "italic"], - [ "StatusLinePercentActive", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineLinecount", ui_bg, ui_fg, "italic"], - [ "StatusLineLinecountActive", ui_bg, ui_fg_strong1, "italic"], - - [ "StatusLineDivActive", ui_fg, ui_fg, "NONE"], - [ "StatusLineDivInput", ui_statusbar_input, ui_statusbar_input, "NONE"], - [ "StatusLineDivMod", ui_statusbar_mod, ui_statusbar_mod, "NONE"], - [ "StatusLineDivModActive", ui_statusbar_mod_active, ui_statusbar_mod_active, "NONE"], - - [ "StatusLineFileInfo", "NONE", ui_fileinfo, "italic"], - - [ "StatusLineFile", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineFileActive", ui_bg, ui_fg_strong3, "italic"], - [ "StatusLineDir", ui_bg, ui_fg, "italic"], - [ "StatusLineDirActive", ui_bg, ui_fg, "italic"], - [ "StatusLineExt", ui_bg, ui_fg, "italic"], - [ "StatusLineExtActive", ui_bg, ui_fg_strong1, "italic"], - [ "StatusLineDot", ui_bg, ui_fg_weak2, "italic"], - [ "StatusLineDotActive", ui_bg, ui_fg_weak2, "italic"], - - [ "StatusLineFileReadOnly", ui_bg, ui_fg_warning, "italic"], - [ "StatusLineFileReadOnlyActive", "NONE", ui_fg_warning, "italic"], - [ "StatusLineWarning", ui_bg, ui_fg_strong1, "italic"], - [ "StatusLineWarningActive", "NONE", ui_fg_warning, "italic"], - - [ "LinterDash", "NONE", ui_fg_linter_dash, "NONE"], - [ "LinterDashActive", "NONE", ui_fg_linter_dash_active, "NONE"], - - [ "LinterError", "NONE", ui_fg_linter_error, "bold"], - [ "LinterErrorActive", "NONE", ui_fg_linter_error_active, "bold"], - [ "LinterErrorStyle", "NONE", ui_fg_linter_error, "NONE"], - [ "LinterErrorStyleActive", "NONE", ui_fg_linter_error_active, "NONE"], - - [ "LinterWarning", "NONE", ui_fg_linter_warning, "bold"], - [ "LinterWarningActive", "NONE", ui_fg_linter_warning_active, "bold"], - [ "LinterWarningStyle", "NONE", ui_fg_linter_warning, "NONE"], - [ "LinterWarningStyleActive", "NONE", ui_fg_linter_warning_active, "NONE"], - - [ "LinterInfo", "NONE", ui_fg_linter_info, "NONE"], - [ "LinterInfoActive", "NONE", ui_fg_linter_info_active, "NONE"], - - [ "GitGutterDelete", "NONE", ui_sign_delete, "bold"], - [ "GitGutterChange", "NONE", ui_sign_change, "bold"], - [ "GitGutterAdd", "NONE", ui_sign_add, "bold"], - [ "GitGutterChangeDelete", "NONE", ui_sign_changedelete, "bold"], - - [ "QuickScopePrimary", "IncSearch" ], - [ "QuickScopeSecondary", "Pmenu" ], - - # css, scss - - [ "cssIdentifier", "NONE", color_secondary, "bold" ], - [ "cssClass", "NONE", color_secondary_weak, "NONE" ], - [ "cssFunction", "NONE", fg_strong1, "bold" ], - [ "cssProp", "NONE", fg_weak2, "NONE" ], - [ "scssVariable", "NONE", color_secondary_strong, "bold" ], - - [ "cssAttr", "String"], - [ "cssIdentifierAttr", "Noise" ], - [ "cssClassAttr", "cssIdentifierAttr" ], - [ "cssAttrNoise", "Noise" ], - [ "atKeyword", "PreProc" ], - [ "cssIdentifier", "cssIdentifier" ], - [ "cssClassName", "cssClass" ], - [ "cssClassNameDot", "cssClass" ], - [ "cssTagName", "htmlTagName" ], - [ "cssPseudoClassId", "cssClassName" ], - [ "cssKeyFrameSelector", "Label" ], - [ "cssFunctionName", "cssFunction" ], - [ "cssBraces", "Noise" ], - [ "cssUnitDecorators", "NONE", fg_strong2, "NONE" ], - [ "scssSelector", "cssClass" ], - [ "scssSelectorName", "scssSelector" ], - [ "scssSelectorChar", "cssIdentifier" ], - [ "scssFunctionName", "cssFunctionName" ], - [ "scssMixin", "keyword" ], - [ "scssMixinName", "cssFunction" ], - [ "scssampersand", "scssSelectorName" ], - [ "scssAtRoot", "atKeyword" ], - [ "vue_scss", "cssIdentifier" ], - - #html - - ["htmlTagName", "NONE", color_tertiary_weak, "NONE"], - ["htmlSpecialTagName", "NONE", color_tertiary, "bold"], - ["htmlLink", "NONE", fg_strong3, "italic,underline"], - - [ "htmlNormal", "Normal" ], - - [ "htmlTitle", "Title" ], - [ "htmlH1", "htmlTitle" ], - [ "htmlTag", "Noise" ], - [ "htmlEndTag", "htmlTag" ], - [ "htmlArg", "PreProc" ], - [ "htmlValue", "String" ], - [ "htmlSpecialChar", "Special" ], - [ "htmlPreStmt", "PreProc" ], - [ "htmlPreError", "Error" ], - [ "htmlPreProc", "PreProc" ], - [ "htmlPreAttr", "String" ], - [ "htmlPreProcAttrName", "PreProc" ], - [ "htmlPreProcAttrError", "Error" ], - [ "htmlSpecial", "Special" ], - [ "htmlSpecialChar", "Special" ], - [ "htmlString", "String" ], - [ "htmlStatement", "Statement" ], - [ "htmlComment", "Comment" ], - [ "htmlCommentPart", "Comment" ], - [ "htmlValue", "String" ], - [ "htmlCommentError", "htmlError" ], - [ "htmlTagError", "htmlError" ], - [ "htmlEvent", "javaScript" ], - [ "htmlError", "Error" ], - - [ "javaScript", "Special" ], - [ "javaScriptExpression", "javaScript" ], - [ "htmlCssStyleComment", "Comment" ], - [ "htmlCssDefinition", "Special" ], - - [ "htmlImgArg", "htmlArg" ], - [ "htmlSrcValue", "String" ], - [ "htmlSrcsetValue", "htmlSrcValue" ], - [ "htmlAltValue", "String" ], - [ "htmlDataArg", "htmlTagName" ], - [ "htmlDataValue", "Constant" ], - [ "htmlHrefArg", "htmlArg" ], - [ "htmlHrefValue", "htmlSrcValue" ], - - # vue - - [ "vueSpecial", "NONE", indigo7, "bold" ], - [ "vueTagSpecial", "NONE", indigo5, "bold" ], - [ "vueTagComponentName", "NONE", indigo3, "bold" ], - [ "vueDynamicComponent", "NONE", indigo1, "bold" ], - # [ "vueTag", "NONE", indigo3, "bold" ], - [ "vueSlotName", "Constant" ], - - [ "vueComponentName", "vueTagComponentName" ], - [ "vueTransitionComponent", "vueDynamicComponent" ], - [ "vueTransitionName", "vueSlotName" ], - [ "vueTransitionMode", "String" ], - [ "vueDirective", "Identifier" ], - [ "vueEvent", "Function" ], - [ "vueConditional", "vueSpecial" ], - [ "vueFor", "vueConditional" ], - [ "vueRef", "vueSpecial" ], - [ "vueSlot", "Noise" ], - - [ "vueDirectiveValue", "Type" ], - [ "vueEventValue", "vueDirectiveValue" ], - [ "vueConditionalValue", "vueDirectiveValue" ], - [ "vueForValue", "vueConditionalValue" ], - [ "vueRefValue", "Constant" ], - [ "vueSlotValue", "vueSlotName" ], - [ "vueObjectKey", "cssClass" ], - [ "vueObjectValue", "vueDirectiveValue" ], - [ "vueDirectiveClass", "Noise" ], - [ "vueMustache", "Type" ], - - # javascript - [ "jsFunctionKey", "Function" ], - [ "jsFuncCall", "NONE", red2, "bold" ], - [ "jsFuncCall", "Identifier" ], - [ "jsOperator", "Operator" ], - [ "jsVariableDef", "Identifier" ], - [ "jsGlobalObjects", "NONE", fg_strong2, "bold" ], - [ "jsGlobalNodeObjects", "jsGlobalObjects" ], - [ "jsExceptions", "jsGlobalObjects" ], - [ "jsBuiltins", "jsGlobalObjects" ], - [ "jsStorageClass", "Include" ], - [ "jsObjectKey", "NONE", red3, "NONE"], - [ "jsObjectProp", "Type" ], - [ "jsObjectValue", "NONE", color_primary_weak3, "NONE" ], - [ "jsModuleKeyword", "Type" ], - [ "jsOperatorKeyword", "Label" ], - [ "jsThis", "jsGlobalObjects" ], - [ "jsArrowFunction", "Function" ], - - # python - - [ "pythonBuiltin", "Type" ], - [ "pythonBuiltinObj", "Special" ], - [ "pythonDottedName", "Identifier" ], - [ "pythonBrackets", "Noise" ], - [ "pythonQuotes", "Noise" ], - [ "pythonDot", "Noise" ], - [ "pythonNoise", "Noise" ], - [ "pythonExtraOperator", "Operator" ], - [ "pythonDocString", "SpecialComment" ], - [ "pythonSelf", "NONE", fg_weak1, "bold" ], - - [ "JinjaVarBlock", "Noise" ], - [ "JinjaTagBlock", "JinjaVarBlock" ], - [ "jinjaSpecial", "NONE", magenta7, "NONE"], - [ "jinjaRaw", "NONE", magenta1, "NONE"], - [ "jinjaStatement", "NONE", magenta2, "NONE"], - [ "jinjaFilter", "NONE", magenta6, "bold"], - [ "jinjaBlockName", "NONE", magenta6, "bold"], - [ "jinjaVariable", "NONE", magenta3, "bold"], - [ "jinjaString", "String"], - [ "jinjaNumber", "Number"], - [ "jinjaOperator", "Noise"], - [ "jinjaComment", "Comment"], - - # sql - - [ "sqlOperator", "Operator" ], - - # vim - - [ "vimFoldMarker", "NONE", fg_weak1, "NONE"], - [ "vimMap", "Noise" ], - [ "vimAbb", "vimMap" ], - [ "VimCommand", "Statement" ], - [ "VimOption", "String" ], - [ "vimFunction", "Function" ], - [ "vimFuncKey", "Special" ], - [ "vimHighlight", "Noise" ], - [ "vimAuGroupKey", "Noise" ], - [ "vimGroupName", "Special" ], - [ "vimAutoCmd", "Noise" ], - [ "vimSynMtchGrp", "Type" ], - [ "vimSynContains", "Type" ], - [ "vimSynRegOpt", "Type" ], - [ "vimHiTerm", "Include" ], - [ "vimHiAttrib", "Number" ], - [ "VimIsCommand", "Type" ], - [ "vimNotation", "StorageClass" ], - [ "vimMapLhs", "Special" ], - [ "vimMapRhs", "Label" ], - [ "vimNotFunc", "Conditional" ], - [ "vimSep", "Noise" ], - [ "vimParenSep", "vimSep" ], - [ "vimContinue", "vimSep" ], - [ "vimBracket", "vimSep" ], - [ "vimOperParen", "Normal" ], - [ "vimUserFunc", "Identifier" ], - [ "vimFoldMarker", "Noise" ], - - # yaml - - ["yamlKeyValueDelimiter", "Noise" ], - ["yamlFowIndicator", "Noise" ], - - # config highlighting - - [ "confComment", "Comment" ], - - # markdown - ["markdownDelimiter", "NONE", fg_weak1, "bold"], - ["markdownHeadingDelimiter", "markdownDelimiter"], - ["markdownListMarker", "NONE", fg_strong3, "bold"], - ["markdownCodeDelimiter", "markdownDelimiter"], - ["markdownCode", "Type"], - ["markdownItalic", "NONE", fg_strong3, "italic"], - ["markdownItalicDelimiter", "markdownDelimiter"], - ["markdownBold", "NONE", fg_strong2, "bold"], - ["markdownBoldDelimiter", "markdownDelimiter"], - ["markdownIdDeclaration", "Conditional"], - ["markdownId", "markdownIdDeclaration"], - ["markdownLinkText", "NONE", fg_strong2, "underline"], - - # extra whitespace - - [ "ExtraWhitespace", bg_whitespace_error ,"NONE", "NONE" ], - - # php - - [ "phpRegion", "Normal" ], - [ "phpComparison", "Operator" ], - [ "phpMethod", "Function" ], - [ "phpParent", "Normal" ], - [ "phpMemberSelector", "StorageClass" ], - [ "phpVarSelector", "StorageClass" ], - - # quickfix - - [ "QuickfixLine", "NONE", ui_fg_strong2, "bold" ], - [ "qfLineNr", "NONE", ui_fg_weak2, "italic"], - [ "qfFilename", "NONE", ui_fg_strong1, "bold" ], - [ "qfSeparator", "Ignore" ], - [ "qfError", "ErrorMsg" ], - - # json - - [ "jsonKeyword", "Identifier" ], - [ "jsonValue", "String" ], - [ "jsonQuote", "Noise" ], - - # octobercms - [ "octobercmsSectionDelimiter", "Noise" ], - - # plugins - - [ "CocErrorSign", "ErrorMsg" ], - [ "CocWarningSign", "WarningMsg" ], - [ "CocInfoSign", "Question" ], - [ "CocHintSign", "Question" ], - [ "CocHighlightText", "IncSearch" ], - [ "CocUnderline", "NONE", fg_error, "NONE" ], - [ "LspErrorText", "ErrorMsg" ], - [ "LspWarningText", "WarningMsg" ], - [ "LspInformationText", "Question" ], - [ "LspHintText", "Question" ], - [ "ALEErrorSign", "ErrorMsg" ], - [ "ALEErrorSign", "ErrorMsg" ], - - [ "mkdCodeStart", "Comment" ], - [ "mkdListItem", "Conditional" ], - - # ctrl-p highlighting - # :h ctrlp-customization - - [ "CtrlPPrtBase", ui_cursor_bg, ui_cursor_fg, "bold" ], - [ "CtrlPPrtText", ui_cursor_bg, ui_cursor_fg, "bold"], - [ "CtrlPMatch", "NONE", ui_fg_strong2, "bold"], - [ "CtrlPMode1", "NONE", ui_fg_strong3, "bold"], - [ "CtrlPMode2", "NONE", ui_fg_strong1, "NONE"], - [ "CtrlPNoEntries", "NONE", ui_fg_warning_strong, "bold" ], - [ "CtrlPBufferNr", "NONE", ui_fg_strong2, "bold" ], - [ "CtrlPBufferInd", "NONE", ui_fg_strong4, "bold" ], - [ "CtrlPBufferPath", "NONE", ui_fg_weak2, "NONE" ], - [ "CtrlPBufferHid", "NONE", ui_fg, "NONE" ], - [ "CtrlPBufferHidMod", "NONE", ui_fg_warning_weak, "NONE" ], - [ "CtrlPBufferVis", "Normal" ], - [ "CtrlPBufferVisMod", "NONE", ui_fg_warning, "NONE" ], - [ "CtrlPBufferCur", "NONE", ui_fg_strong3, "bold" ], - [ "CtrlPBufferCurMod", "NONE", ui_fg_warning_strong, "NONE" ], - - [ "CtrlPBufName", "NONE", ui_fg_strong2, "NONE" ], - [ "CtrlPTagKind", "NONE", ui_fg_strong3, "bold" ], - [ "CtrlPqfLineCol", "NONE", ui_fg_warning, "bold" ], - [ "CtrlPUndoT", "NONE", ui_fg_strong1, "NONE" ], - [ "CtrlPUndoBr", "NONE", ui_fg_weak1, "NONE" ], - [ "CtrlPUndoNr", "NONE", ui_fg_weak2, "NONE" ], - [ "CtrlPUndoSv", "NONE", ui_fg_warning, "NONE" ], - [ "CtrlPUndoPo", "NONE", ui_fg_strong3, "bold" ], - - # netrw - [ "netrwTreeBar", "Noise" ], - [ "netrwClassify", "Noise" ], - [ "netrwExe", "Identifier" ], - [ "netrwDir", "String" ], - [ "netrwPlain", "Statement" ], - [ "netrwHelpCmd", "Type" ], - [ "netrwCmdNote", "function" ], - [ "netrwQuickHelp", "netrwCmdNote" ], - [ "netrwCmdSep", "Noise" ], - [ "netrwVersion", "StorageClass" ], - [ "netrwList", "String" ], - [ "netrwHidePat", "Identifier" ], - - # i3config - [ "Variable", "Function" ], - - # to be implemented - - # "" #shell highlighting - # "{{{ - # "hi! def link shConditional shLoop - # "hi! def link shFunctionTwo mIdentifierBright - # "hi! def link shFunction mIdentifier - # "hi! def link shFunctionKey mStatement - # "hi! def link shCaseEsac mValue - # "hi! def link shCaseBar mNoise - # "hi! def link shEcho mNoiseBright - # "hi! def link bashSpecialVariables mSpecial - # "hi! def link shCmdSubRegion mNoiseBright - # "hi! def link shCommandSub mSpecialDark - # "hi! def link shEscape mNoise - # "hi! def link shTestOpr mNoise - # "hi! def link shSnglCase mNoise - # hi! def link shDerefSimple Type - # hi! def link shDerefVar shDerefSimple - # hi! def link shDerefOp Conditional - # hi! def link shDerefPattern shDerefOp - # hi! def link shCommandSub Type - # hi! def link shOption StorageClass - # ""}}} - - # "" vim-fugitive - # ""{{{ - # "hi! def link gitCommitBranch mValueDarkItalic - # "hi! def link gitCommitDiscarded mNoiseDark - # "hi! def link gitCommitComment mNoiseDark - # "hi! def link gitCommitOnBranch mNoise - # "hi! def link gitCommitWarning mInterfaceError - # "hi! def link gitCommitDiscardedType mNoise - # "hi! def link gitCommitSelectedType mNoise - # "hi! def link gitCommitSelectedFile mValueDarkerItalic - # "hi! def link gitCommitDiscardedFile mInterfaceWarning - # "hi! def link gitCommitUntrackedFile mStatementBright - # "hi! def link gitCommitNumber mInterfaceError - # "hi! def link gitCommitAhead gitCommitNumber - # "hi! def link gitCommitBehind gitCommitNumber - # ""}}} - - # "" #tagbar highlighting - # "" TagbarHighlight defined in vimrc as it gets overridden - # "" by plugin when defined in here - # "" hi! def link TagbarFoldIcon InterfaceNormal - # - # "" hi! def link TagbarHelp InterfaceHelp - # "" hi! def link TagbarHelpKey InterfaceHelpDark - # "" hi! def link TagbarHelpTitle InterfaceHelpBright - # - # "" hi! def link TagbarKind InterfaceH1 - # "" hi! def link TagbarNestedKind InterfaceH1 - # - # "" hi! def link TagbarScope InterfaceH1 - # "" hi! def link TagbarType InterfaceH1 - # "" hi! def link TagbarSignature InterfaceNormal - # "" hi! def link TagbarPseudoID InterfaceNormal - # "" hi! def link TagbarHighlight InterfaceCurrent - # - # "" hi! def link TagbarAccessPublic InterfaceH2 - # "" hi! def link TagbarAccessProtected InterfaceH2 - # "" hi! def link TagbarAccessPrivate InterfaceH2 - # - # "" hi! TagbarHighlight ctermfg=255 guifg=#eeeeee ctermbg=240 guibg=#585858 - - # "" #vimwiki highlighting - # "" hi VimwikiLink ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c - # "" hi! def link VimwikiHeaderChar CRNoiseDark - # "" hi VimwikiHeader1 ctermbg=242 guibg=#666666 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader2 ctermbg=238 guibg=#444444 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader3 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader4 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=251 guifg=#c6c6c6 - # "" hi VimwikiHeader5 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=246 guifg=#949494 - # "" hi VimwikiHeader6 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=244 guifg=#808080 - # "" hi VimwikiListTodo ctermbg=233 guibg=#121212 ctermfg=255 guifg=#eeeeee - - - ] - - # Step 4: generation - # - # From a separate shell: - # - # $ erb -T - bar.erb > bar.vim - # - # From Vim: - # - # :!erb -T - % > %:r.vim - - # These online resources can help you design your colorscheme: - # - # * http://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg - # the xterm palette - # * http://whatcolor.herokuapp.com/ - # play with hexadecimal colors right in the address bar (currently down) - # * http://color.hailpixel.com/ - # similar concept, fuzzier implementation - # * http://colourco.de/ - # similar concept, fancier implementation - # * http://www.colr.org/ - # extract a palette from an image - # * http://colores.manugarri.com/ - # search for 'word', get images and color palettes - # * http://www.colourlovers.com/palettes - # user-created palettes - # * http://www.perbang.dk/color+scheme/ - # a no-nonsense colorscheme generator - # * https://color.adobe.com/ - # Adobe's fancy colorscheme generator - # * http://paletton.com/ - # The classic 'Color Scheme Designer', rebranded - # * http://vrl.cs.brown.edu/color - # A very smart palette generator - # * https://cmcenroe.me/2018/04/03/colour-scheme.html - # "I Made My Own Colour Scheme and You Can Too!" - - # A few general advices: - # - # * The Windows console is limited to the 16 so-called "ANSI" colors but it has - # a few of them interverted which makes numbers impractical. Use color names - # instead of numbers: :help cterm-colors - # * The Windows console (yeah…) doesn't do italics, underlines or bolded text; - # it is limited to normal and reverse. Keep that in mind if you want - # your colorscheme to be usable in as many environments as possible by as many - # people as possible. - # * All of the terminal emulators in use these days allow their users to - # change the 16 so-called "ANSI" colors. It is also possible on some platforms - # to change some or all of the 256 colors in the xterm palette. Don't take - # anything for granted. - # * When used against a light background, strong colors work better than muted - # ones. Light or dark doesn't really matters. Also, it is harder to discriminate - # between two similar colors on a light background. - # * Both strong and muted colors work well against a dark background. It is also - # easier to work with similar colors, but dark colors don't work at all. - # * Use as many text samples as possible. String-heavy languages may look completely - # different than keyword-heavy ones. This can have an impact on the usability - # of your colorscheme. - # * Most terminal emulators and terminal multiplexers currently in use on unix-like - # systems support 256 colors but they almost always default to a '$TERM' that tells - # Vim otherwise. Your users will need to make sure their terminal emulator/multiplexer - # is correctly set up if they want to enjoy the best possible experience. - - # Many thanks to Barry Arthur (https://github.com/dahu) for the original idea. - - # You don't need to edit anything beyond this line. --%> -" <%= information[:name] %>.vim -- Vim color scheme. -" Author: <%= information[:author] %> (<%= information[:email] %>) -" Webpage: <%= information[:webpage] %> -" Description: <%= information[:description] %> - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "<%= information[:name] %>" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") -<% for highlight in highlights -%> -<% if highlight.length == 2 -%> - hi link <%= highlight[0] %> <%= highlight[1] %> -<% elsif highlight.length == 4 -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> -<% if highlight[0] == "Normal" -%> - set background=<%= information[:background] %> -<% end -%> -<% else -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> guisp=<%= highlight[4].kind_of?(String) ? highlight[4] : highlight[4][0] %> -<% end -%> -<% end -%> -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 -<% for highlight in highlights -%> -<% if highlight.length == 2 -%> - hi link <%= highlight[0] %> <%= highlight[1] %> -<% else -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][2] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][2] %> cterm=<%= highlight[3] %> -<% if highlight[0] == "Normal" -%> - set background=<%= information[:background] %> -<% end -%> -<% end -%> -<% end -%> -endif - -let g:terminal_ansi_colors = <%= terminal_ansi_colors %> - -augroup cursorlinebg - au! - au InsertEnter * hi CursorLine ctermbg=<%= bg_cursorline_input[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_cursorline_input[0] %> guifg=NONE - au InsertLeave * hi CursorLine ctermbg=<%= bg_cursorline[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_cursorline[0] %> guifg=NONE -augroup END - - diff --git a/colors/monotonous-dark.vim b/colors/monotonous-dark.vim deleted file mode 100644 index 615f20f..0000000 --- a/colors/monotonous-dark.vim +++ /dev/null @@ -1,753 +0,0 @@ -" monotonous-dark.vim -- Vim color scheme. -" Author: studiovx (studiovx@studiovx.co.uk) -" Webpage: -" Description: - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "monotonous-dark" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") - hi Normal ctermbg=234 ctermfg=243 cterm=NONE guibg=#202122 guifg=#767070 gui=NONE - set background=dark - hi Special ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#cab0af gui=bold - hi NonText ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#d1bab9 gui=NONE - hi Tag ctermbg=237 ctermfg=NONE cterm=NONE guibg=#373030 guifg=NONE gui=NONE - hi Identifier ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#b79392 gui=NONE - hi Function ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#c4a6a5 gui=bold - hi Type ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#967978 gui=NONE - hi StorageClass ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#866b6b gui=bold - hi link Structure StorageClass - hi link TypeDef StorageClass - hi Constant ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#eee4e4 gui=italic - hi String ctermbg=NONE ctermfg=250 cterm=italic guibg=NONE guifg=#aeadad gui=italic - hi link Character String - hi link Number String - hi link Boolean String - hi link Float String - hi Folded ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi Statement ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767070 gui=NONE - hi Conditional ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi Repeat ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi Label ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi Operator ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5d5d gui=NONE - hi Keyword ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi Exception ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#6b5d5d gui=bold - hi PreProc ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#494646 gui=bold - hi Include ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi Comment ctermbg=NONE ctermfg=240 cterm=bold,italic guibg=NONE guifg=#5d5d5d gui=bold,italic - hi SpecialComment ctermbg=NONE ctermfg=244 cterm=italic guibg=NONE guifg=#857f7f gui=italic - hi Todo ctermbg=NONE ctermfg=196 cterm=bold,italic guibg=NONE guifg=#ff4500 gui=bold,italic - hi Ignore ctermbg=NONE ctermfg=234 cterm=NONE guibg=NONE guifg=#202122 gui=NONE - hi Conceal ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE - hi Error ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold - hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline guibg=NONE guifg=NONE gui=underline - hi StatusLine ctermbg=238 ctermfg=250 cterm=italic guibg=#3f3f3f guifg=#aeadad gui=italic - hi StatusLineNC ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi TabLine ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi TabLineFill ctermbg=238 ctermfg=238 cterm=italic guibg=#3f3f3f guifg=#3f3f3f gui=italic - hi TabLineSel ctermbg=238 ctermfg=250 cterm=italic guibg=#3f3f3f guifg=#aeadad gui=italic - hi VertSplit ctermbg=234 ctermfg=238 cterm=NONE guibg=#202122 guifg=#3f3f3f gui=NONE - hi FoldColumn ctermbg=234 ctermfg=238 cterm=NONE guibg=#202122 guifg=#494646 gui=NONE - hi ColorColumn ctermbg=232 ctermfg=NONE cterm=NONE guibg=#1B1C1D guifg=NONE gui=NONE - hi SignColumn ctermbg=234 ctermfg=250 cterm=NONE guibg=#202122 guifg=#aeadad gui=NONE - hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#1B1C1D guifg=NONE gui=NONE - hi Title ctermbg=NONE ctermfg=255 cterm=bold,italic guibg=NONE guifg=#eee4e4 gui=bold,italic - hi LineNr ctermbg=234 ctermfg=238 cterm=NONE guibg=#202122 guifg=#494646 gui=NONE - hi CursorLineNr ctermbg=234 ctermfg=243 cterm=bold guibg=#202122 guifg=#716c6c gui=bold - hi Pmenu ctermbg=237 ctermfg=244 cterm=NONE guibg=#333535 guifg=#857f7f gui=NONE - hi PmenuSbar ctermbg=237 ctermfg=237 cterm=NONE guibg=#333535 guifg=#333535 gui=NONE - hi PmenuSel ctermbg=237 ctermfg=250 cterm=bold guibg=#333535 guifg=#aeadad gui=bold - hi PmenuThumb ctermbg=244 ctermfg=244 cterm=NONE guibg=#857f7f guifg=#857f7f gui=NONE - hi SpecialKey ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#d1bab9 gui=NONE - hi DiffAdd ctermbg=22 ctermfg=NONE cterm=NONE guibg=#293229 guifg=NONE gui=NONE - hi DiffChange ctermbg=17 ctermfg=NONE cterm=NONE guibg=#2D2E34 guifg=NONE gui=NONE - hi DiffDelete ctermbg=52 ctermfg=NONE cterm=NONE guibg=#322929 guifg=NONE gui=NONE - hi DiffText ctermbg=17 ctermfg=21 cterm=NONE guibg=#2D2E34 guifg=#656a7c gui=NONE - hi IncSearch ctermbg=17 ctermfg=234 cterm=NONE guibg=#93adc2 guifg=#202122 gui=NONE - hi Search ctermbg=17 ctermfg=250 cterm=NONE guibg=#49535a guifg=#aeadad gui=NONE - hi Visual ctermbg=17 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE gui=NONE - hi VisualNOS ctermbg=52 ctermfg=NONE cterm=NONE guibg=#463838 guifg=NONE gui=NONE - hi Directory ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#aeadad gui=NONE - hi MatchParen ctermbg=NONE ctermfg=255 cterm=bold guibg=NONE guifg=#ffffff gui=bold - hi SpellBad ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE guisp=#c74444 - hi SpellCap ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#a67038 gui=NONE guisp=#a67038 - hi SpellLocal ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038 - hi SpellRare ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038 - hi WildMenu ctermbg=238 ctermfg=255 cterm=bold guibg=#3f3f3f guifg=#eee4e4 gui=bold - hi ErrorMsg ctermbg=NONE ctermfg=196 cterm=italic guibg=NONE guifg=#c74444 gui=italic - hi ModeMsg ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#eee4e4 gui=italic - hi MoreMsg ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#eee4e4 gui=italic - hi Question ctermbg=NONE ctermfg=247 cterm=italic guibg=NONE guifg=#797532 gui=italic - hi WarningMsg ctermbg=NONE ctermfg=166 cterm=italic guibg=NONE guifg=#a67038 gui=italic - hi Cursor ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CursorColumn ctermbg=232 ctermfg=NONE cterm=NONE guibg=#1F1F1F guifg=NONE gui=NONE - hi EndOfBuffer ctermbg=234 ctermfg=234 cterm=NONE guibg=#202122 guifg=#202122 gui=NONE - hi Noise ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi TabLineNum ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi TabLineNumSel ctermbg=238 ctermfg=244 cterm=italic guibg=#3f3f3f guifg=#857f7f gui=italic - hi StatusLineNoise ctermbg=238 ctermfg=240 cterm=italic guibg=#3f3f3f guifg=#5d5959 gui=italic - hi StatusLineNoiseActive ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLineBufferNr ctermbg=238 ctermfg=247 cterm=italic guibg=#3f3f3f guifg=#9a9393 gui=italic - hi StatusLineBufferNrActive ctermbg=238 ctermfg=250 cterm=italic guibg=#3f3f3f guifg=#aeadad gui=italic - hi StatusLinePercent ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLinePercentActive ctermbg=238 ctermfg=247 cterm=italic guibg=#3f3f3f guifg=#9a9393 gui=italic - hi StatusLineLinecount ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLineLinecountActive ctermbg=238 ctermfg=244 cterm=italic guibg=#3f3f3f guifg=#857f7f gui=italic - hi StatusLineDivActive ctermbg=243 ctermfg=243 cterm=NONE guibg=#716c6c guifg=#716c6c gui=NONE - hi StatusLineDivInput ctermbg=17 ctermfg=17 cterm=NONE guibg=#384046 guifg=#384046 gui=NONE - hi StatusLineDivMod ctermbg=124 ctermfg=124 cterm=NONE guibg=#655757 guifg=#655757 gui=NONE - hi StatusLineDivModActive ctermbg=124 ctermfg=124 cterm=NONE guibg=#916c6c guifg=#916c6c gui=NONE - hi StatusLineFileInfo ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#5d5d5d gui=italic - hi StatusLineFile ctermbg=238 ctermfg=247 cterm=italic guibg=#3f3f3f guifg=#9a9393 gui=italic - hi StatusLineFileActive ctermbg=238 ctermfg=250 cterm=italic guibg=#3f3f3f guifg=#aeadad gui=italic - hi StatusLineDir ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLineDirActive ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLineExt ctermbg=238 ctermfg=243 cterm=italic guibg=#3f3f3f guifg=#716c6c gui=italic - hi StatusLineExtActive ctermbg=238 ctermfg=244 cterm=italic guibg=#3f3f3f guifg=#857f7f gui=italic - hi StatusLineDot ctermbg=238 ctermfg=240 cterm=italic guibg=#3f3f3f guifg=#5d5959 gui=italic - hi StatusLineDotActive ctermbg=238 ctermfg=240 cterm=italic guibg=#3f3f3f guifg=#5d5959 gui=italic - hi StatusLineFileReadOnly ctermbg=238 ctermfg=124 cterm=italic guibg=#3f3f3f guifg=#725454 gui=italic - hi StatusLineFileReadOnlyActive ctermbg=NONE ctermfg=124 cterm=italic guibg=NONE guifg=#725454 gui=italic - hi StatusLineWarning ctermbg=238 ctermfg=244 cterm=italic guibg=#3f3f3f guifg=#857f7f gui=italic - hi StatusLineWarningActive ctermbg=NONE ctermfg=124 cterm=italic guibg=NONE guifg=#725454 gui=italic - hi LinterDash ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi LinterDashActive ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5d5d gui=NONE - hi LinterError ctermbg=NONE ctermfg=243 cterm=bold guibg=NONE guifg=#716c6c gui=bold - hi LinterErrorActive ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold - hi LinterErrorStyle ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi LinterErrorStyleActive ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE - hi LinterWarning ctermbg=NONE ctermfg=240 cterm=bold guibg=NONE guifg=#5d5959 gui=bold - hi LinterWarningActive ctermbg=NONE ctermfg=166 cterm=bold guibg=NONE guifg=#a67038 gui=bold - hi LinterWarningStyle ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi LinterWarningStyleActive ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#a67038 gui=NONE - hi LinterInfo ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi LinterInfoActive ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE - hi GitGutterDelete ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi GitGutterChange ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#596171 gui=bold - hi GitGutterAdd ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#496349 gui=bold - hi GitGutterChangeDelete ctermbg=NONE ctermfg=126 cterm=bold guibg=NONE guifg=#5c4a5a gui=bold - hi link QuickScopePrimary IncSearch - hi link QuickScopeSecondary Pmenu - hi cssIdentifier ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#b1caaf gui=bold - hi cssClass ctermbg=NONE ctermfg=28 cterm=NONE guibg=NONE guifg=#a5c4a5 gui=NONE - hi cssFunction ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi cssProp ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi scssVariable ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#b9d1bb gui=bold - hi link cssAttr String - hi link cssIdentifierAttr Noise - hi link cssClassAttr cssIdentifierAttr - hi link cssAttrNoise Noise - hi link atKeyword PreProc - hi link cssIdentifier cssIdentifier - hi link cssClassName cssClass - hi link cssClassNameDot cssClass - hi link cssTagName htmlTagName - hi link cssPseudoClassId cssClassName - hi link cssKeyFrameSelector Label - hi link cssFunctionName cssFunction - hi link cssBraces Noise - hi cssUnitDecorators ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9a9393 gui=NONE - hi link scssSelector cssClass - hi link scssSelectorName scssSelector - hi link scssSelectorChar cssIdentifier - hi link scssFunctionName cssFunctionName - hi link scssMixin keyword - hi link scssMixinName cssFunction - hi link scssampersand scssSelectorName - hi link scssAtRoot atKeyword - hi link vue_scss cssIdentifier - hi htmlTagName ctermbg=NONE ctermfg=19 cterm=NONE guibg=NONE guifg=#7378b4 gui=NONE - hi htmlSpecialTagName ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#7e84c6 gui=bold - hi htmlLink ctermbg=NONE ctermfg=250 cterm=italic,underline guibg=NONE guifg=#aeadad gui=italic,underline - hi link htmlNormal Normal - hi link htmlTitle Title - hi link htmlH1 htmlTitle - hi link htmlTag Noise - hi link htmlEndTag htmlTag - hi link htmlArg PreProc - hi link htmlValue String - hi link htmlSpecialChar Special - hi link htmlPreStmt PreProc - hi link htmlPreError Error - hi link htmlPreProc PreProc - hi link htmlPreAttr String - hi link htmlPreProcAttrName PreProc - hi link htmlPreProcAttrError Error - hi link htmlSpecial Special - hi link htmlSpecialChar Special - hi link htmlString String - hi link htmlStatement Statement - hi link htmlComment Comment - hi link htmlCommentPart Comment - hi link htmlValue String - hi link htmlCommentError htmlError - hi link htmlTagError htmlError - hi link htmlEvent javaScript - hi link htmlError Error - hi link javaScript Special - hi link javaScriptExpression javaScript - hi link htmlCssStyleComment Comment - hi link htmlCssDefinition Special - hi link htmlImgArg htmlArg - hi link htmlSrcValue String - hi link htmlSrcsetValue htmlSrcValue - hi link htmlAltValue String - hi link htmlDataArg htmlTagName - hi link htmlDataValue Constant - hi link htmlHrefArg htmlArg - hi link htmlHrefValue htmlSrcValue - hi vueSpecial ctermbg=NONE ctermfg=21 cterm=bold guibg=NONE guifg=#beb9d1 gui=bold - hi vueTagSpecial ctermbg=NONE ctermfg=20 cterm=bold guibg=NONE guifg=#a6a5c4 gui=bold - hi vueTagComponentName ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#8685a7 gui=bold - hi vueDynamicComponent ctermbg=NONE ctermfg=17 cterm=bold guibg=NONE guifg=#6c6b86 gui=bold - hi link vueSlotName Constant - hi link vueComponentName vueTagComponentName - hi link vueTransitionComponent vueDynamicComponent - hi link vueTransitionName vueSlotName - hi link vueTransitionMode String - hi link vueDirective Identifier - hi link vueEvent Function - hi link vueConditional vueSpecial - hi link vueFor vueConditional - hi link vueRef vueSpecial - hi link vueSlot Noise - hi link vueDirectiveValue Type - hi link vueEventValue vueDirectiveValue - hi link vueConditionalValue vueDirectiveValue - hi link vueForValue vueConditionalValue - hi link vueRefValue Constant - hi link vueSlotValue vueSlotName - hi link vueObjectKey cssClass - hi link vueObjectValue vueDirectiveValue - hi link vueDirectiveClass Noise - hi link vueMustache Type - hi link jsFunctionKey Function - hi jsFuncCall ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#a78685 gui=bold - hi link jsFuncCall Identifier - hi link jsOperator Operator - hi link jsVariableDef Identifier - hi jsGlobalObjects ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi link jsGlobalNodeObjects jsGlobalObjects - hi link jsExceptions jsGlobalObjects - hi link jsBuiltins jsGlobalObjects - hi link jsStorageClass Include - hi jsObjectKey ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#b79392 gui=NONE - hi link jsObjectProp Type - hi jsObjectValue ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#866b6b gui=NONE - hi link jsModuleKeyword Type - hi link jsOperatorKeyword Label - hi link jsThis jsGlobalObjects - hi link jsArrowFunction Function - hi link pythonBuiltin Type - hi link pythonBuiltinObj Special - hi link pythonDottedName Identifier - hi link pythonBrackets Noise - hi link pythonQuotes Noise - hi link pythonDot Noise - hi link pythonNoise Noise - hi link pythonExtraOperator Operator - hi link pythonDocString SpecialComment - hi pythonSelf ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#494646 gui=bold - hi link JinjaVarBlock Noise - hi link JinjaTagBlock JinjaVarBlock - hi jinjaSpecial ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#b99dc1 gui=NONE - hi jinjaRaw ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#625166 gui=NONE - hi jinjaStatement ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#725f77 gui=NONE - hi jinjaFilter ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#b294bb gui=bold - hi jinjaBlockName ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#b294bb gui=bold - hi jinjaVariable ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#826c89 gui=bold - hi link jinjaString String - hi link jinjaNumber Number - hi link jinjaOperator Noise - hi link jinjaComment Comment - hi link sqlOperator Operator - hi vimFoldMarker ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi link vimMap Noise - hi link vimAbb vimMap - hi link VimCommand Statement - hi link VimOption String - hi link vimFunction Function - hi link vimFuncKey Special - hi link vimHighlight Noise - hi link vimAuGroupKey Noise - hi link vimGroupName Special - hi link vimAutoCmd Noise - hi link vimSynMtchGrp Type - hi link vimSynContains Type - hi link vimSynRegOpt Type - hi link vimHiTerm Include - hi link vimHiAttrib Number - hi link VimIsCommand Type - hi link vimNotation StorageClass - hi link vimMapLhs Special - hi link vimMapRhs Label - hi link vimNotFunc Conditional - hi link vimSep Noise - hi link vimParenSep vimSep - hi link vimContinue vimSep - hi link vimBracket vimSep - hi link vimOperParen Normal - hi link vimUserFunc Identifier - hi link vimFoldMarker Noise - hi link yamlKeyValueDelimiter Noise - hi link yamlFowIndicator Noise - hi link confComment Comment - hi markdownDelimiter ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#494646 gui=bold - hi link markdownHeadingDelimiter markdownDelimiter - hi markdownListMarker ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi link markdownCodeDelimiter markdownDelimiter - hi link markdownCode Type - hi markdownItalic ctermbg=NONE ctermfg=250 cterm=italic guibg=NONE guifg=#aeadad gui=italic - hi link markdownItalicDelimiter markdownDelimiter - hi markdownBold ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi link markdownBoldDelimiter markdownDelimiter - hi link markdownIdDeclaration Conditional - hi link markdownId markdownIdDeclaration - hi markdownLinkText ctermbg=NONE ctermfg=247 cterm=underline guibg=NONE guifg=#9a9393 gui=underline - hi ExtraWhitespace ctermbg=196 ctermfg=NONE cterm=NONE guibg=#6a2e2e guifg=NONE gui=NONE - hi link phpRegion Normal - hi link phpComparison Operator - hi link phpMethod Function - hi link phpParent Normal - hi link phpMemberSelector StorageClass - hi link phpVarSelector StorageClass - hi QuickfixLine ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi qfLineNr ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#5d5959 gui=italic - hi qfFilename ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi link qfSeparator Ignore - hi link qfError ErrorMsg - hi link jsonKeyword Identifier - hi link jsonValue String - hi link jsonQuote Noise - hi link octobercmsSectionDelimiter Noise - hi link CocErrorSign ErrorMsg - hi link CocWarningSign WarningMsg - hi link CocInfoSign Question - hi link CocHintSign Question - hi link CocHighlightText IncSearch - hi CocUnderline ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE - hi link LspErrorText ErrorMsg - hi link LspWarningText WarningMsg - hi link LspInformationText Question - hi link LspHintText Question - hi link ALEErrorSign ErrorMsg - hi link ALEErrorSign ErrorMsg - hi link mkdCodeStart Comment - hi link mkdListItem Conditional - hi CtrlPPrtBase ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CtrlPPrtText ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CtrlPMatch ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi CtrlPMode1 ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPMode2 ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#857f7f gui=NONE - hi CtrlPNoEntries ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#916c6c gui=bold - hi CtrlPBufferNr ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi CtrlPBufferInd ctermbg=NONE ctermfg=255 cterm=bold guibg=NONE guifg=#eee4e4 gui=bold - hi CtrlPBufferPath ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi CtrlPBufferHid ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi CtrlPBufferHidMod ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#7b6a6a gui=NONE - hi link CtrlPBufferVis Normal - hi CtrlPBufferVisMod ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi CtrlPBufferCur ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPBufferCurMod ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#916c6c gui=NONE - hi CtrlPBufName ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9a9393 gui=NONE - hi CtrlPTagKind ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPqfLineCol ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi CtrlPUndoT ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#857f7f gui=NONE - hi CtrlPUndoBr ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi CtrlPUndoNr ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi CtrlPUndoSv ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi CtrlPUndoPo ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi link netrwTreeBar Noise - hi link netrwClassify Noise - hi link netrwExe Identifier - hi link netrwDir String - hi link netrwPlain Statement - hi link netrwHelpCmd Type - hi link netrwCmdNote function - hi link netrwQuickHelp netrwCmdNote - hi link netrwCmdSep Noise - hi link netrwVersion StorageClass - hi link netrwList String - hi link netrwHidePat Identifier - hi link Variable Function -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 - hi Normal ctermbg=black ctermfg=gray cterm=NONE - set background=dark - hi Special ctermbg=NONE ctermfg=red cterm=bold - hi NonText ctermbg=NONE ctermfg=red cterm=NONE - hi Tag ctermbg=darkred ctermfg=NONE cterm=NONE - hi Identifier ctermbg=NONE ctermfg=red cterm=NONE - hi Function ctermbg=NONE ctermfg=red cterm=bold - hi Type ctermbg=NONE ctermfg=darkred cterm=NONE - hi StorageClass ctermbg=NONE ctermfg=darkred cterm=bold - hi link Structure StorageClass - hi link TypeDef StorageClass - hi Constant ctermbg=NONE ctermfg=white cterm=italic - hi String ctermbg=NONE ctermfg=white cterm=italic - hi link Character String - hi link Number String - hi link Boolean String - hi link Float String - hi Folded ctermbg=NONE ctermfg=white cterm=bold - hi Statement ctermbg=NONE ctermfg=gray cterm=NONE - hi Conditional ctermbg=NONE ctermfg=white cterm=bold - hi Repeat ctermbg=NONE ctermfg=darkgray cterm=bold - hi Label ctermbg=NONE ctermfg=darkgray cterm=bold - hi Operator ctermbg=NONE ctermfg=gray cterm=NONE - hi Keyword ctermbg=NONE ctermfg=darkgray cterm=bold - hi Exception ctermbg=NONE ctermfg=darkred cterm=bold - hi PreProc ctermbg=NONE ctermfg=gray cterm=bold - hi Include ctermbg=NONE ctermfg=gray cterm=NONE - hi Comment ctermbg=NONE ctermfg=gray cterm=bold,italic - hi SpecialComment ctermbg=NONE ctermfg=darkgray cterm=italic - hi Todo ctermbg=NONE ctermfg=red cterm=bold,italic - hi Ignore ctermbg=NONE ctermfg=black cterm=NONE - hi Conceal ctermbg=NONE ctermfg=NONE cterm=NONE - hi Error ctermbg=NONE ctermfg=red cterm=bold - hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline - hi StatusLine ctermbg=gray ctermfg=white cterm=italic - hi StatusLineNC ctermbg=gray ctermfg=gray cterm=italic - hi TabLine ctermbg=gray ctermfg=gray cterm=italic - hi TabLineFill ctermbg=gray ctermfg=gray cterm=italic - hi TabLineSel ctermbg=gray ctermfg=white cterm=italic - hi VertSplit ctermbg=black ctermfg=gray cterm=NONE - hi FoldColumn ctermbg=black ctermfg=gray cterm=NONE - hi ColorColumn ctermbg=gray ctermfg=NONE cterm=NONE - hi SignColumn ctermbg=black ctermfg=white cterm=NONE - hi CursorLine ctermbg=gray ctermfg=NONE cterm=NONE - hi Title ctermbg=NONE ctermfg=white cterm=bold,italic - hi LineNr ctermbg=black ctermfg=gray cterm=NONE - hi CursorLineNr ctermbg=black ctermfg=gray cterm=bold - hi Pmenu ctermbg=black ctermfg=darkgray cterm=NONE - hi PmenuSbar ctermbg=black ctermfg=black cterm=NONE - hi PmenuSel ctermbg=black ctermfg=white cterm=bold - hi PmenuThumb ctermbg=darkgray ctermfg=darkgray cterm=NONE - hi SpecialKey ctermbg=NONE ctermfg=red cterm=NONE - hi DiffAdd ctermbg=darkgreen ctermfg=NONE cterm=NONE - hi DiffChange ctermbg=darkblue ctermfg=NONE cterm=NONE - hi DiffDelete ctermbg=darkred ctermfg=NONE cterm=NONE - hi DiffText ctermbg=darkblue ctermfg=white cterm=NONE - hi IncSearch ctermbg=darkblue ctermfg=black cterm=NONE - hi Search ctermbg=darkblue ctermfg=white cterm=NONE - hi Visual ctermbg=darkblue ctermfg=NONE cterm=NONE - hi VisualNOS ctermbg=darkred ctermfg=NONE cterm=NONE - hi Directory ctermbg=NONE ctermfg=white cterm=NONE - hi MatchParen ctermbg=NONE ctermfg=white cterm=bold - hi SpellBad ctermbg=NONE ctermfg=red cterm=NONE - hi SpellCap ctermbg=NONE ctermfg=yellow cterm=NONE - hi SpellLocal ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi SpellRare ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi WildMenu ctermbg=gray ctermfg=white cterm=bold - hi ErrorMsg ctermbg=NONE ctermfg=red cterm=italic - hi ModeMsg ctermbg=NONE ctermfg=white cterm=italic - hi MoreMsg ctermbg=NONE ctermfg=white cterm=italic - hi Question ctermbg=NONE ctermfg=darkgray cterm=italic - hi WarningMsg ctermbg=NONE ctermfg=yellow cterm=italic - hi Cursor ctermbg=white ctermfg=black cterm=bold - hi CursorColumn ctermbg=gray ctermfg=NONE cterm=NONE - hi EndOfBuffer ctermbg=black ctermfg=black cterm=NONE - hi Noise ctermbg=NONE ctermfg=gray cterm=NONE - hi TabLineNum ctermbg=gray ctermfg=gray cterm=italic - hi TabLineNumSel ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineNoise ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineNoiseActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineBufferNr ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineBufferNrActive ctermbg=gray ctermfg=white cterm=italic - hi StatusLinePercent ctermbg=gray ctermfg=gray cterm=italic - hi StatusLinePercentActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineLinecount ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineLinecountActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineDivActive ctermbg=gray ctermfg=gray cterm=NONE - hi StatusLineDivInput ctermbg=darkblue ctermfg=darkblue cterm=NONE - hi StatusLineDivMod ctermbg=red ctermfg=red cterm=NONE - hi StatusLineDivModActive ctermbg=red ctermfg=red cterm=NONE - hi StatusLineFileInfo ctermbg=NONE ctermfg=gray cterm=italic - hi StatusLineFile ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineFileActive ctermbg=gray ctermfg=white cterm=italic - hi StatusLineDir ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineDirActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineExt ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineExtActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineDot ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineDotActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineFileReadOnly ctermbg=gray ctermfg=red cterm=italic - hi StatusLineFileReadOnlyActive ctermbg=NONE ctermfg=red cterm=italic - hi StatusLineWarning ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineWarningActive ctermbg=NONE ctermfg=red cterm=italic - hi LinterDash ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterDashActive ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterError ctermbg=NONE ctermfg=gray cterm=bold - hi LinterErrorActive ctermbg=NONE ctermfg=red cterm=bold - hi LinterErrorStyle ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterErrorStyleActive ctermbg=NONE ctermfg=red cterm=NONE - hi LinterWarning ctermbg=NONE ctermfg=gray cterm=bold - hi LinterWarningActive ctermbg=NONE ctermfg=yellow cterm=bold - hi LinterWarningStyle ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterWarningStyleActive ctermbg=NONE ctermfg=yellow cterm=NONE - hi LinterInfo ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterInfoActive ctermbg=NONE ctermfg=darkgray cterm=NONE - hi GitGutterDelete ctermbg=NONE ctermfg=red cterm=bold - hi GitGutterChange ctermbg=NONE ctermfg=blue cterm=bold - hi GitGutterAdd ctermbg=NONE ctermfg=green cterm=bold - hi GitGutterChangeDelete ctermbg=NONE ctermfg=magenta cterm=bold - hi link QuickScopePrimary IncSearch - hi link QuickScopeSecondary Pmenu - hi cssIdentifier ctermbg=NONE ctermfg=green cterm=bold - hi cssClass ctermbg=NONE ctermfg=green cterm=NONE - hi cssFunction ctermbg=NONE ctermfg=darkgray cterm=bold - hi cssProp ctermbg=NONE ctermfg=gray cterm=NONE - hi scssVariable ctermbg=NONE ctermfg=green cterm=bold - hi link cssAttr String - hi link cssIdentifierAttr Noise - hi link cssClassAttr cssIdentifierAttr - hi link cssAttrNoise Noise - hi link atKeyword PreProc - hi link cssIdentifier cssIdentifier - hi link cssClassName cssClass - hi link cssClassNameDot cssClass - hi link cssTagName htmlTagName - hi link cssPseudoClassId cssClassName - hi link cssKeyFrameSelector Label - hi link cssFunctionName cssFunction - hi link cssBraces Noise - hi cssUnitDecorators ctermbg=NONE ctermfg=darkgray cterm=NONE - hi link scssSelector cssClass - hi link scssSelectorName scssSelector - hi link scssSelectorChar cssIdentifier - hi link scssFunctionName cssFunctionName - hi link scssMixin keyword - hi link scssMixinName cssFunction - hi link scssampersand scssSelectorName - hi link scssAtRoot atKeyword - hi link vue_scss cssIdentifier - hi htmlTagName ctermbg=NONE ctermfg=darkblue cterm=NONE - hi htmlSpecialTagName ctermbg=NONE ctermfg=blue cterm=bold - hi htmlLink ctermbg=NONE ctermfg=white cterm=italic,underline - hi link htmlNormal Normal - hi link htmlTitle Title - hi link htmlH1 htmlTitle - hi link htmlTag Noise - hi link htmlEndTag htmlTag - hi link htmlArg PreProc - hi link htmlValue String - hi link htmlSpecialChar Special - hi link htmlPreStmt PreProc - hi link htmlPreError Error - hi link htmlPreProc PreProc - hi link htmlPreAttr String - hi link htmlPreProcAttrName PreProc - hi link htmlPreProcAttrError Error - hi link htmlSpecial Special - hi link htmlSpecialChar Special - hi link htmlString String - hi link htmlStatement Statement - hi link htmlComment Comment - hi link htmlCommentPart Comment - hi link htmlValue String - hi link htmlCommentError htmlError - hi link htmlTagError htmlError - hi link htmlEvent javaScript - hi link htmlError Error - hi link javaScript Special - hi link javaScriptExpression javaScript - hi link htmlCssStyleComment Comment - hi link htmlCssDefinition Special - hi link htmlImgArg htmlArg - hi link htmlSrcValue String - hi link htmlSrcsetValue htmlSrcValue - hi link htmlAltValue String - hi link htmlDataArg htmlTagName - hi link htmlDataValue Constant - hi link htmlHrefArg htmlArg - hi link htmlHrefValue htmlSrcValue - hi vueSpecial ctermbg=NONE ctermfg=blue cterm=bold - hi vueTagSpecial ctermbg=NONE ctermfg=blue cterm=bold - hi vueTagComponentName ctermbg=NONE ctermfg=darkblue cterm=bold - hi vueDynamicComponent ctermbg=NONE ctermfg=darkblue cterm=bold - hi link vueSlotName Constant - hi link vueComponentName vueTagComponentName - hi link vueTransitionComponent vueDynamicComponent - hi link vueTransitionName vueSlotName - hi link vueTransitionMode String - hi link vueDirective Identifier - hi link vueEvent Function - hi link vueConditional vueSpecial - hi link vueFor vueConditional - hi link vueRef vueSpecial - hi link vueSlot Noise - hi link vueDirectiveValue Type - hi link vueEventValue vueDirectiveValue - hi link vueConditionalValue vueDirectiveValue - hi link vueForValue vueConditionalValue - hi link vueRefValue Constant - hi link vueSlotValue vueSlotName - hi link vueObjectKey cssClass - hi link vueObjectValue vueDirectiveValue - hi link vueDirectiveClass Noise - hi link vueMustache Type - hi link jsFunctionKey Function - hi jsFuncCall ctermbg=NONE ctermfg=darkred cterm=bold - hi link jsFuncCall Identifier - hi link jsOperator Operator - hi link jsVariableDef Identifier - hi jsGlobalObjects ctermbg=NONE ctermfg=darkgray cterm=bold - hi link jsGlobalNodeObjects jsGlobalObjects - hi link jsExceptions jsGlobalObjects - hi link jsBuiltins jsGlobalObjects - hi link jsStorageClass Include - hi jsObjectKey ctermbg=NONE ctermfg=red cterm=NONE - hi link jsObjectProp Type - hi jsObjectValue ctermbg=NONE ctermfg=darkred cterm=NONE - hi link jsModuleKeyword Type - hi link jsOperatorKeyword Label - hi link jsThis jsGlobalObjects - hi link jsArrowFunction Function - hi link pythonBuiltin Type - hi link pythonBuiltinObj Special - hi link pythonDottedName Identifier - hi link pythonBrackets Noise - hi link pythonQuotes Noise - hi link pythonDot Noise - hi link pythonNoise Noise - hi link pythonExtraOperator Operator - hi link pythonDocString SpecialComment - hi pythonSelf ctermbg=NONE ctermfg=gray cterm=bold - hi link JinjaVarBlock Noise - hi link JinjaTagBlock JinjaVarBlock - hi jinjaSpecial ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaRaw ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaStatement ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaFilter ctermbg=NONE ctermfg=magenta cterm=bold - hi jinjaBlockName ctermbg=NONE ctermfg=magenta cterm=bold - hi jinjaVariable ctermbg=NONE ctermfg=magenta cterm=bold - hi link jinjaString String - hi link jinjaNumber Number - hi link jinjaOperator Noise - hi link jinjaComment Comment - hi link sqlOperator Operator - hi vimFoldMarker ctermbg=NONE ctermfg=gray cterm=NONE - hi link vimMap Noise - hi link vimAbb vimMap - hi link VimCommand Statement - hi link VimOption String - hi link vimFunction Function - hi link vimFuncKey Special - hi link vimHighlight Noise - hi link vimAuGroupKey Noise - hi link vimGroupName Special - hi link vimAutoCmd Noise - hi link vimSynMtchGrp Type - hi link vimSynContains Type - hi link vimSynRegOpt Type - hi link vimHiTerm Include - hi link vimHiAttrib Number - hi link VimIsCommand Type - hi link vimNotation StorageClass - hi link vimMapLhs Special - hi link vimMapRhs Label - hi link vimNotFunc Conditional - hi link vimSep Noise - hi link vimParenSep vimSep - hi link vimContinue vimSep - hi link vimBracket vimSep - hi link vimOperParen Normal - hi link vimUserFunc Identifier - hi link vimFoldMarker Noise - hi link yamlKeyValueDelimiter Noise - hi link yamlFowIndicator Noise - hi link confComment Comment - hi markdownDelimiter ctermbg=NONE ctermfg=gray cterm=bold - hi link markdownHeadingDelimiter markdownDelimiter - hi markdownListMarker ctermbg=NONE ctermfg=white cterm=bold - hi link markdownCodeDelimiter markdownDelimiter - hi link markdownCode Type - hi markdownItalic ctermbg=NONE ctermfg=white cterm=italic - hi link markdownItalicDelimiter markdownDelimiter - hi markdownBold ctermbg=NONE ctermfg=darkgray cterm=bold - hi link markdownBoldDelimiter markdownDelimiter - hi link markdownIdDeclaration Conditional - hi link markdownId markdownIdDeclaration - hi markdownLinkText ctermbg=NONE ctermfg=darkgray cterm=underline - hi ExtraWhitespace ctermbg=red ctermfg=NONE cterm=NONE - hi link phpRegion Normal - hi link phpComparison Operator - hi link phpMethod Function - hi link phpParent Normal - hi link phpMemberSelector StorageClass - hi link phpVarSelector StorageClass - hi QuickfixLine ctermbg=NONE ctermfg=darkgray cterm=bold - hi qfLineNr ctermbg=NONE ctermfg=gray cterm=italic - hi qfFilename ctermbg=NONE ctermfg=darkgray cterm=bold - hi link qfSeparator Ignore - hi link qfError ErrorMsg - hi link jsonKeyword Identifier - hi link jsonValue String - hi link jsonQuote Noise - hi link octobercmsSectionDelimiter Noise - hi link CocErrorSign ErrorMsg - hi link CocWarningSign WarningMsg - hi link CocInfoSign Question - hi link CocHintSign Question - hi link CocHighlightText IncSearch - hi CocUnderline ctermbg=NONE ctermfg=red cterm=NONE - hi link LspErrorText ErrorMsg - hi link LspWarningText WarningMsg - hi link LspInformationText Question - hi link LspHintText Question - hi link ALEErrorSign ErrorMsg - hi link ALEErrorSign ErrorMsg - hi link mkdCodeStart Comment - hi link mkdListItem Conditional - hi CtrlPPrtBase ctermbg=white ctermfg=black cterm=bold - hi CtrlPPrtText ctermbg=white ctermfg=black cterm=bold - hi CtrlPMatch ctermbg=NONE ctermfg=darkgray cterm=bold - hi CtrlPMode1 ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPMode2 ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPNoEntries ctermbg=NONE ctermfg=red cterm=bold - hi CtrlPBufferNr ctermbg=NONE ctermfg=darkgray cterm=bold - hi CtrlPBufferInd ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPBufferPath ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPBufferHid ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPBufferHidMod ctermbg=NONE ctermfg=darkred cterm=NONE - hi link CtrlPBufferVis Normal - hi CtrlPBufferVisMod ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPBufferCur ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPBufferCurMod ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPBufName ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPTagKind ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPqfLineCol ctermbg=NONE ctermfg=red cterm=bold - hi CtrlPUndoT ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPUndoBr ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPUndoNr ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPUndoSv ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPUndoPo ctermbg=NONE ctermfg=white cterm=bold - hi link netrwTreeBar Noise - hi link netrwClassify Noise - hi link netrwExe Identifier - hi link netrwDir String - hi link netrwPlain Statement - hi link netrwHelpCmd Type - hi link netrwCmdNote function - hi link netrwQuickHelp netrwCmdNote - hi link netrwCmdSep Noise - hi link netrwVersion StorageClass - hi link netrwList String - hi link netrwHidePat Identifier - hi link Variable Function -endif - -let g:terminal_ansi_colors = ["#1f2121", "#5d5d5d", "#716c6c", "#767070", "#857f7f", "#9a9393", "#aeadad", "#eee4e4", "#3f3f3f", "#90905c", "#a2a268", "#b4b473", "#c3c67e", "#c6c689", "#d0d095", "#d5d5a1"] - -augroup cursorlinebg - au! - au InsertEnter * hi CursorLine ctermbg=17 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE - au InsertLeave * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#1B1C1D guifg=NONE -augroup END - - diff --git a/colors/monotonous-darker.erb b/colors/monotonous-darker.erb deleted file mode 100644 index f278e74..0000000 --- a/colors/monotonous-darker.erb +++ /dev/null @@ -1,853 +0,0 @@ -<% - # RNB, A VIM COLORSCHEME TEMPLATE - # Author: Romain Lafourcade (https://github.com/romainl) - # Canonical URL: https://gist.github.com/romainl/5cd2f4ec222805f49eca - - # Step 1: information - # - # Make sure the name of your colorscheme is unique and attractive. - # The description should fit in a single line with no linefeed. - # 'background' can be "light" or "dark". - information = { - author: "studiovx", - email: "studiovx@studiovx.co.uk", - name: "monotonous-darker", - description: "", - background: "dark", - webpage: "" - } - - # Step 2: colors - # - # black = [ give each color a distinctive name - # "#000000", hexadecimal color for GVim/MacVim and "true colors" terminals - # 0, integer between 0 and 255 for terminals supporting 256 colors - # "black" color name for less capable color terminals, can be "darkred", "red", - # "darkgreen", "green", "darkyellow", "yellow", "darkblue", "blue", - # "darkmagenta", "magenta", "black", "darkgrey", "grey", "white" - # ] - # - # If your colors are defined correctly, the resulting colorscheme is guaranteed - # to work in GVim (Windows/Linux), MacVim, and any properly set up terminal emulator. - - darkred1 = ["#373030", 237, "darkred"] - darkred2 = ["#6b5d5d", 52, "darkred"] - darkred3 = ["#866b6b", 52, "darkred"] - red1 = ["#967978", 52, "darkred"] - red2 = ["#a78685", 88, "darkred"] - red3 = ["#b79392", 88, "red"] - lightred1 = ["#c4a6a5", 88, "red"] - lightred2 = ["#cab0af", 124, "red"] - lightred3 = ["#d1bab9", 124, "red"] - - graygreen0 = ["#303730", 237, "black"] - green1 = ["#6b866c", 22, "darkgreen"] - green2 = ["#7a9678", 22, "darkgreen"] - green3 = ["#85a786", 28, "darkgreen"] - green4 = ["#95b792", 28, "green"] - green5 = ["#a5c4a5", 28, "green"] - green6 = ["#b1caaf", 34, "green"] - green7 = ["#b9d1bb", 34, "green"] - - grayblue0 = ["#303237", 237, "black"] - blue1 = ["#5c6191", 17, "darkblue"] - blue2 = ["#6a6f9b", 18, "darkblue"] - blue3 = ["#7378b4", 19, "darkblue"] - blue4 = ["#7e84c6", 19, "blue"] - blue5 = ["#898fcb", 20, "blue"] - blue6 = ["#959ad0", 20, "blue"] - blue7 = ["#a1a5d5", 21, "blue"] - - grayindigo0 = ["#323037", 237, "black"] - indigo1 = ["#6c6b86", 17, "darkblue"] - indigo2 = ["#787896", 18, "darkblue"] - indigo3 = ["#8685a7", 19, "darkblue"] - indigo4 = ["#9292b7", 19, "blue"] - indigo5 = ["#a6a5c4", 20, "blue"] - indigo6 = ["#b0afca", 20, "blue"] - indigo7 = ["#beb9d1", 21, "blue"] - - # TODO 256 and term colours - magenta1= ["#625166", 164, "magenta"] - magenta2= ["#725f77", 164, "magenta"] - magenta3= ["#826c89", 164, "magenta"] - magenta4= ["#927a9a", 164, "magenta"] - magenta5= ["#a287aa", 164, "magenta"] - magenta6= ["#b294bb", 164, "magenta"] - magenta7= ["#b99dc1", 164, "magenta"] - - grayyellow0 = ["#373730", 237, "black"] - yellow1 = ["#90905c", 22, "darkyellow"] - yellow2 = ["#a2a268", 22, "darkyellow"] - yellow3 = ["#b4b473", 28, "darkyellow"] - yellow4 = ["#c3c67e", 28, "yellow"] - yellow5 = ["#c6c689", 28, "yellow"] - yellow6 = ["#d0d095", 34, "yellow"] - yellow7 = ["#d5d5a1", 34, "yellow"] - - - bg_cursorline = ["#0c0c0d", 232, "gray"] - bg_colorcolumn = bg_cursorline - bg_cursorcolumn = ["#0c0c0d", 232, "gray"] - bg = ["#000000", 234, "black"] - bg_cursorline_input = ["#191E1F", 17, "darkblue"] - fg_weak1 = ["#494646", 238, "gray"] - fg_comment = ["#5d5d5d", 240, "gray"] - fg_weak2 = ["#716c6c", 243, "gray"] - fg = ["#767070", 243, "gray"] - fg_strong1 = ["#857f7f", 244, "darkgray"] - fg_strong2 = ["#9a9393", 247, "darkgray"] - fg_strong3 = ["#aeadad", 250, "white"] - fg_strong4 = ["#eee4e4", 255, "white"] - - fg_error = ["#c74444", 196, "red"] - fg_spellcap = ["#a67038", 166, "yellow"] - fg_spellrare = ["#797532", 247, "darkyellow"] - fg_spelllocal = fg_spellrare - bg_whitespace_error = ["#6a2e2e", 196, "red"] - - color_primary_weak1 = darkred1 - color_primary_weak2 = darkred2 - color_primary_weak3 = darkred3 - color_primary1 = red1 - color_primary2 = red2 - color_primary3 = red3 - color_primary_strong1 = lightred1 - color_primary_strong2 = lightred2 - color_primary_strong3 = lightred3 - - color_secondary_weak = green5 - color_secondary = green6 - color_secondary_strong = green7 - - color_tertiary_weak = blue3 - color_tertiary = blue4 - color_tertiary_strong = blue7 - - ui_bg = ["#2B2B2B", 238, "gray"] - ui_fg_weak1 = ["#494646", 238, "gray"] - ui_fg_weak2 = ["#5d5959", 240, "gray"] - ui_fg = ["#716c6c", 243, "gray"] - ui_fg_strong1 = ["#857f7f", 244, "darkgray"] - ui_fg_strong2 = ["#9a9393", 247, "darkgray"] - ui_fg_strong3 = ["#aeadad", 250, "white"] - ui_fg_strong4 = ["#eee4e4", 255, "white"] - - ui_cursor_bg = ["#eee4e4", 255, "white"] - ui_cursor_fg = ["#131313", 0, "black"] - - ui_linenr = fg_weak1 - ui_cursorlinenr = fg_weak2 - - ui_search = ["#49535a", 17, "darkblue"] - ui_incsearch = ["#93adc2", 17, "darkblue"] - - ui_visual_bg = ["#384046", 17, "darkblue"] - ui_visualnos_bg = ["#463838", 52, "darkred"] - - menu_bg = ["#232525", 237, "black"] - menu_fg = ui_fg_strong1 - menu_sel = ui_fg_strong3 - - diff_delete_bg = ["#322929", 52, "darkred"] - diff_add_bg = ["#293229", 22, "darkgreen"] - diff_change_bg = ["#2D2E34", 17, "darkblue"] - diff_change_fg = ["#656a7c", 21, "white"] - - ui_sign_add = ["#496349", 34, "green"] - ui_sign_change = ["#596171", 19, "blue"] - ui_sign_delete = ["#725454", 124, "red"] - ui_sign_changedelete = ["#5c4a5a", 126, "magenta"] - - ui_statusbar_mod = ["#655757", 124, "red"] - ui_statusbar_mod_active = ["#916c6c", 124, "red"] - ui_statusbar_input = ["#384046", 17, "darkblue"] - - ui_fileinfo = fg_comment - - ui_fg_errormsg = ["#c74444", 196, "red"] - ui_fg_warningmsg = ["#a67038", 166, "yellow"] - ui_fg_question = ["#797532", 247, "darkgray"] - - ui_fg_warning_weak = ["#7b6a6a", 88, "darkred"] - ui_fg_warning = ["#725454", 124, "red"] - ui_fg_warning_strong = ["#916c6c", 196, "red"] - ui_fg_error = ["#7D3636", 196, "red"] - - ui_fg_linter_dash = fg_weak1 - ui_fg_linter_dash_active = fg_comment - ui_fg_linter_error = ui_fg - ui_fg_linter_error_active = ui_fg_errormsg - ui_fg_linter_warning = ui_fg_weak2 - ui_fg_linter_warning_active = ui_fg_warningmsg - ui_fg_linter_info = fg_weak1 - ui_fg_linter_info_active = ui_fg_question - - # terminal_ansi_colors = [ '#1f2121', fg_comment[0], fg_weak2[0], fg[0], fg_strong1[0], fg_strong2[0], fg_strong3[0], fg_strong4[0], bg_cursorline[0], color_primary_weak3[0], color_primary1[0], color_primary2[0], color_primary3[0], color_primary_strong1[0], color_primary_strong2[0], color_primary_strong3[0] ] - terminal_ansi_colors = [ '#1f2121', fg_comment[0], fg_weak2[0], fg[0], fg_strong1[0], fg_strong2[0], fg_strong3[0], fg_strong4[0], ui_bg[0], yellow1[0], yellow2[0], yellow3[0], yellow4[0], yellow5[0], yellow6[0], yellow7[0] ] - - # Step 3: highlights - highlights = [ - [ "Normal", bg, fg, "NONE" ], - - [ "Special", "NONE", color_primary_strong2, "bold" ], - [ "NonText", "NONE", color_primary_strong3, "NONE" ], - [ "Tag", color_primary_weak1, "NONE", "NONE" ], - - [ "Identifier", "NONE", color_primary3, "NONE" ], - [ "Function", "NONE", color_primary_strong1, "bold" ], - - [ "Type", "NONE", color_primary1, "NONE" ], - [ "StorageClass", "NONE", color_primary_weak3, "bold" ], - [ "Structure", "StorageClass"], - [ "TypeDef", "StorageClass"], - - [ "Constant", "NONE", fg_strong4, "italic" ], - [ "String", "NONE", fg_strong3, "italic" ], - [ "Character", "String" ], - [ "Number", "String" ], - [ "Boolean", "String" ], - [ "Float", "String" ], - - [ "Folded", "NONE", fg_strong3, "bold" ], - - [ "Statement", "NONE", fg, "NONE" ], - [ "Conditional", "NONE", fg_strong3, "bold" ], - [ "Repeat", "NONE", fg_strong2, "bold" ], - [ "Label", "NONE", fg_strong1, "bold" ], - [ "Operator", "NONE", fg_comment, "NONE" ], - [ "Keyword", "NONE", fg_strong1, "bold" ], - [ "Exception", "NONE", color_primary_weak2, "bold" ], - - [ "PreProc", "NONE", fg_weak1, "bold" ], - [ "Include", "NONE", fg_weak1, "NONE" ], - - [ "Comment", "NONE", fg_comment, "bold,italic" ], - [ "SpecialComment", "NONE", fg_strong1, "italic"], - [ "Todo", "NONE", fg_strong2, "italic" ], - - [ "Ignore", "NONE", bg, "NONE" ], - [ "Conceal", "NONE", "NONE", "NONE" ], - - [ "Error", "NONE", fg_error, "bold" ], - - [ "Underlined", "NONE", "NONE", "underline" ], - - [ "StatusLine", ui_bg, ui_fg_strong3, "italic" ], - [ "StatusLineNC", ui_bg, ui_fg, "italic" ], - [ "TabLine", ui_bg, ui_fg, "italic" ], - [ "TabLineFill", ui_bg, ui_bg, "italic" ], - [ "TabLineSel", ui_bg, ui_fg_strong3, "italic" ], - - [ "VertSplit", bg, ui_bg, "NONE" ], - [ "FoldColumn", bg, fg_weak1, "NONE" ], - [ "ColorColumn", bg_colorcolumn, "NONE", "NONE" ], - [ "SignColumn", bg, ui_fg_strong3, "NONE" ], - [ "CursorLine", bg_cursorline, "NONE", "NONE" ], - - [ "Title", "NONE", fg_strong4, "bold,italic" ], - - [ "LineNr", bg, ui_linenr, "NONE" ], - [ "CursorLineNr", bg, ui_cursorlinenr, "bold" ], - - # [ "helpLeadBlank", "NONE", grayfg, "NONE" ], - # [ "helpNormal", "NONE", grayfg, "NONE" ], - - [ "Pmenu", menu_bg, menu_fg, "NONE" ], - [ "PmenuSbar", menu_bg, menu_bg, "NONE" ], - [ "PmenuSel", menu_bg, menu_sel, "bold" ], - [ "PmenuThumb", menu_fg, menu_fg, "NONE" ], - - [ "SpecialKey", "NONE", color_primary_strong3, "NONE" ], - - [ "DiffAdd", diff_add_bg, "NONE", "NONE" ], - [ "DiffChange", diff_change_bg, "NONE", "NONE" ], - [ "DiffDelete", diff_delete_bg, "NONE", "NONE" ], - [ "DiffText", diff_change_bg, diff_change_fg, "NONE" ], - - [ "IncSearch", ui_incsearch, bg, "NONE" ], - [ "Search", ui_search, ui_fg_strong3, "NONE" ], - - [ "Visual", ui_visual_bg, "NONE", "NONE" ], - [ "VisualNOS", ui_visualnos_bg, "NONE", "NONE" ], - - [ "Directory", "NONE", ui_fg_strong3, "NONE" ], - - [ "MatchParen", ui_search, fg_strong4, "bold" ], - - [ "SpellBad", "NONE", fg_error, "NONE", fg_error ], - [ "SpellCap", "NONE", fg_spellcap, "NONE", fg_spellcap ], - [ "SpellLocal", "NONE", fg_spelllocal, "NONE", fg_spellcap ], - [ "SpellRare", "NONE", fg_spellrare, "NONE", fg_spellcap ], - - [ "WildMenu", ui_bg, ui_fg_strong4, "bold" ], - [ "ErrorMsg", "NONE", ui_fg_errormsg, "italic" ], - [ "ModeMsg", "NONE", ui_fg_strong4, "italic" ], - [ "MoreMsg", "NONE", ui_fg_strong4, "italic" ], - [ "Question", "NONE", ui_fg_question, "italic" ], - [ "WarningMsg", "NONE", ui_fg_warningmsg, "italic" ], - - [ "Cursor", ui_cursor_bg, ui_cursor_fg, "bold" ], - [ "CursorColumn", bg_cursorcolumn, "NONE", "NONE" ], - - [ "EndOfBuffer", bg, bg, "NONE" ], - - [ "Noise", "NONE", ui_fg_weak2, "NONE"], - - - # tabline, statusline - - [ "TabLineNum", ui_bg, ui_fg, "italic"], - [ "TabLineNumSel", ui_bg, ui_fg_strong1, "italic"], - - - [ "StatusLineNoise", ui_bg, ui_fg_weak2, "italic"], - [ "StatusLineNoiseActive", ui_bg, ui_fg, "italic"], - - [ "StatusLineBufferNr", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineBufferNrActive", ui_bg, ui_fg_strong3, "italic"], - - [ "StatusLinePercent", ui_bg, ui_fg, "italic"], - [ "StatusLinePercentActive", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineLinecount", ui_bg, ui_fg, "italic"], - [ "StatusLineLinecountActive", ui_bg, ui_fg_strong1, "italic"], - - [ "StatusLineDivActive", ui_fg, ui_fg, "NONE"], - [ "StatusLineDivInput", ui_statusbar_input, ui_statusbar_input, "NONE"], - [ "StatusLineDivMod", ui_statusbar_mod, ui_statusbar_mod, "NONE"], - [ "StatusLineDivModActive", ui_statusbar_mod_active, ui_statusbar_mod_active, "NONE"], - - [ "StatusLineFileInfo", "NONE", ui_fileinfo, "italic"], - - [ "StatusLineFile", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineFileActive", ui_bg, ui_fg_strong3, "italic"], - [ "StatusLineDir", ui_bg, ui_fg, "italic"], - [ "StatusLineDirActive", ui_bg, ui_fg, "italic"], - [ "StatusLineExt", ui_bg, ui_fg, "italic"], - [ "StatusLineExtActive", ui_bg, ui_fg_strong1, "italic"], - [ "StatusLineDot", ui_bg, ui_fg_weak2, "italic"], - [ "StatusLineDotActive", ui_bg, ui_fg_weak2, "italic"], - - [ "StatusLineFileReadOnly", ui_bg, ui_fg_warning, "italic"], - [ "StatusLineFileReadOnlyActive", "NONE", ui_fg_warning, "italic"], - [ "StatusLineWarning", ui_bg, ui_fg_strong1, "italic"], - [ "StatusLineWarningActive", "NONE", ui_fg_warning, "italic"], - - [ "LinterDash", "NONE", ui_fg_linter_dash, "NONE"], - [ "LinterDashActive", "NONE", ui_fg_linter_dash_active, "NONE"], - - [ "LinterError", "NONE", ui_fg_linter_error, "bold"], - [ "LinterErrorActive", "NONE", ui_fg_linter_error_active, "bold"], - [ "LinterErrorStyle", "NONE", ui_fg_linter_error, "NONE"], - [ "LinterErrorStyleActive", "NONE", ui_fg_linter_error_active, "NONE"], - - [ "LinterWarning", "NONE", ui_fg_linter_warning, "bold"], - [ "LinterWarningActive", "NONE", ui_fg_linter_warning_active, "bold"], - [ "LinterWarningStyle", "NONE", ui_fg_linter_warning, "NONE"], - [ "LinterWarningStyleActive", "NONE", ui_fg_linter_warning_active, "NONE"], - - [ "LinterInfo", "NONE", ui_fg_linter_info, "NONE"], - [ "LinterInfoActive", "NONE", ui_fg_linter_info_active, "NONE"], - - [ "GitGutterDelete", "NONE", ui_sign_delete, "bold"], - [ "GitGutterChange", "NONE", ui_sign_change, "bold"], - [ "GitGutterAdd", "NONE", ui_sign_add, "bold"], - [ "GitGutterChangeDelete", "NONE", ui_sign_changedelete, "bold"], - - [ "QuickScopePrimary", "IncSearch" ], - [ "QuickScopeSecondary", "Search" ], - - # css, scss - - [ "cssIdentifier", "NONE", color_secondary, "bold" ], - [ "cssClass", "NONE", color_secondary_weak, "NONE" ], - [ "cssFunction", "NONE", fg_strong1, "bold" ], - [ "cssProp", "NONE", fg_weak2, "NONE" ], - [ "scssVariable", "NONE", color_secondary_strong, "bold" ], - - [ "cssAttr", "String"], - [ "cssIdentifierAttr", "Noise" ], - [ "cssClassAttr", "cssIdentifierAttr" ], - [ "cssAttrNoise", "Noise" ], - [ "atKeyword", "PreProc" ], - [ "cssIdentifier", "cssIdentifier" ], - [ "cssClassName", "cssClass" ], - [ "cssClassNameDot", "cssClass" ], - [ "cssTagName", "htmlTagName" ], - [ "cssPseudoClassId", "cssClassName" ], - [ "cssKeyFrameSelector", "Label" ], - [ "cssFunctionName", "cssFunction" ], - [ "cssBraces", "Noise" ], - [ "cssUnitDecorators", "NONE", fg_strong2, "NONE" ], - [ "scssSelector", "cssClass" ], - [ "scssSelectorName", "scssSelector" ], - [ "scssSelectorChar", "cssIdentifier" ], - [ "scssFunctionName", "cssFunctionName" ], - [ "scssMixin", "keyword" ], - [ "scssMixinName", "cssFunction" ], - [ "scssampersand", "scssSelectorName" ], - [ "scssAtRoot", "atKeyword" ], - [ "vue_scss", "cssIdentifier" ], - - #html - - ["htmlTagName", "NONE", color_tertiary_weak, "NONE"], - ["htmlSpecialTagName", "NONE", color_tertiary, "bold"], - ["htmlLink", "NONE", fg_strong3, "italic,underline"], - - [ "htmlNormal", "Normal" ], - - [ "htmlTitle", "Title" ], - [ "htmlH1", "htmlTitle" ], - [ "htmlTag", "Noise" ], - [ "htmlEndTag", "htmlTag" ], - [ "htmlArg", "PreProc" ], - [ "htmlValue", "String" ], - [ "htmlSpecialChar", "Special" ], - [ "htmlPreStmt", "PreProc" ], - [ "htmlPreError", "Error" ], - [ "htmlPreProc", "PreProc" ], - [ "htmlPreAttr", "String" ], - [ "htmlPreProcAttrName", "PreProc" ], - [ "htmlPreProcAttrError", "Error" ], - [ "htmlSpecial", "Special" ], - [ "htmlSpecialChar", "Special" ], - [ "htmlString", "String" ], - [ "htmlStatement", "Statement" ], - [ "htmlComment", "Comment" ], - [ "htmlCommentPart", "Comment" ], - [ "htmlValue", "String" ], - [ "htmlCommentError", "htmlError" ], - [ "htmlTagError", "htmlError" ], - [ "htmlEvent", "javaScript" ], - [ "htmlError", "Error" ], - - [ "javaScript", "Special" ], - [ "javaScriptExpression", "javaScript" ], - [ "htmlCssStyleComment", "Comment" ], - [ "htmlCssDefinition", "Special" ], - - [ "htmlImgArg", "htmlArg" ], - [ "htmlSrcValue", "String" ], - [ "htmlSrcsetValue", "htmlSrcValue" ], - [ "htmlAltValue", "String" ], - [ "htmlDataArg", "htmlTagName" ], - [ "htmlDataValue", "Constant" ], - [ "htmlHrefArg", "htmlArg" ], - [ "htmlHrefValue", "htmlSrcValue" ], - - # vue - - [ "vueTagSpecial", "NONE", indigo5, "bold" ], - [ "vueTagComponentName", "NONE", indigo3, "bold" ], - [ "vueDynamicComponent", "NONE", indigo1, "bold" ], - # [ "vueTag", "NONE", indigo3, "bold" ], - [ "vueSlotName", "NONE", indigo7, "italic" ], - - [ "vueComponentName", "vueTagComponentName" ], - [ "vueTransitionComponent", "vueDynamicComponent" ], - [ "vueTransitionName", "cssIdentifier" ], - [ "vueTransitionMode", "String" ], - [ "vueDirective", "Identifier" ], - [ "vueEvent", "Function" ], - [ "vueConditional", "Special" ], - [ "vueFor", "vueConditional" ], - [ "vueRef", "vueDirective" ], - [ "vueSlot", "Noise" ], - - [ "vueDirectiveValue", "Type" ], - [ "vueEventValue", "vueDirectiveValue" ], - [ "vueConditionalValue", "vueDirectiveValue" ], - [ "vueForValue", "vueConditionalValue" ], - [ "vueRefValue", "Constant" ], - [ "vueSlotValue", "vueSlotName" ], - [ "vueObjectKey", "cssClass" ], - [ "vueObjectValue", "vueDirectiveValue" ], - [ "vueDirectiveClass", "Noise" ], - [ "vueMustache", "Type" ], - - # javascript - [ "jsFunctionKey", "Function" ], - [ "jsFuncCall", "NONE", red2, "bold" ], - [ "jsFuncCall", "Identifier" ], - [ "jsOperator", "Operator" ], - [ "jsVariableDef", "Identifier" ], - [ "jsGlobalObjects", "NONE", fg_strong2, "bold" ], - [ "jsGlobalNodeObjects", "jsGlobalObjects" ], - [ "jsExceptions", "jsGlobalObjects" ], - [ "jsBuiltins", "jsGlobalObjects" ], - [ "jsStorageClass", "Include" ], - [ "jsObjectKey", "NONE", red3, "NONE"], - [ "jsObjectProp", "Type" ], - [ "jsObjectValue", "NONE", color_primary_weak3, "NONE" ], - [ "jsModuleKeyword", "Type" ], - [ "jsOperatorKeyword", "Label" ], - [ "jsThis", "jsGlobalObjects" ], - [ "jsArrowFunction", "Function" ], - - # python - - [ "pythonBuiltin", "Type" ], - [ "pythonBuiltinObj", "Special" ], - [ "pythonDottedName", "Identifier" ], - [ "pythonBrackets", "Noise" ], - [ "pythonQuotes", "Noise" ], - [ "pythonDot", "Noise" ], - [ "pythonNoise", "Noise" ], - [ "pythonExtraOperator", "Operator" ], - [ "pythonDocString", "SpecialComment" ], - [ "pythonSelf", "NONE", fg_weak1, "bold" ], - - [ "JinjaVarBlock", "Noise" ], - [ "JinjaTagBlock", "JinjaVarBlock" ], - [ "jinjaSpecial", "NONE", magenta7, "NONE"], - [ "jinjaRaw", "NONE", magenta1, "NONE"], - [ "jinjaStatement", "NONE", magenta2, "NONE"], - [ "jinjaFilter", "NONE", magenta6, "bold"], - [ "jinjaBlockName", "NONE", magenta6, "bold"], - [ "jinjaVariable", "NONE", magenta3, "bold"], - [ "jinjaString", "String"], - [ "jinjaNumber", "Number"], - [ "jinjaOperator", "Noise"], - [ "jinjaComment", "Comment"], - - # sql - - [ "sqlOperator", "Operator" ], - - # vim - - [ "vimFoldMarker", "NONE", fg_weak1, "NONE"], - [ "vimMap", "Noise" ], - [ "vimAbb", "vimMap" ], - [ "VimCommand", "Statement" ], - [ "VimOption", "String" ], - [ "vimFunction", "Function" ], - [ "vimFuncKey", "Special" ], - [ "vimHighlight", "Noise" ], - [ "vimAuGroupKey", "Noise" ], - [ "vimGroupName", "Special" ], - [ "vimAutoCmd", "Noise" ], - [ "vimSynMtchGrp", "Type" ], - [ "vimSynContains", "Type" ], - [ "vimSynRegOpt", "Type" ], - [ "vimHiTerm", "Include" ], - [ "vimHiAttrib", "Number" ], - [ "VimIsCommand", "Type" ], - [ "vimNotation", "StorageClass" ], - [ "vimMapLhs", "Special" ], - [ "vimMapRhs", "Label" ], - [ "vimNotFunc", "Conditional" ], - [ "vimSep", "Noise" ], - [ "vimParenSep", "vimSep" ], - [ "vimContinue", "vimSep" ], - [ "vimBracket", "vimSep" ], - [ "vimOperParen", "Normal" ], - [ "vimUserFunc", "Identifier" ], - [ "vimFoldMarker", "Noise" ], - - # yaml - - ["yamlKeyValueDelimiter", "Noise" ], - ["yamlFowIndicator", "Noise" ], - - # config highlighting - - [ "confComment", "Comment" ], - - # markdown - ["markdownDelimiter", "NONE", fg_weak1, "bold"], - ["markdownHeadingDelimiter", "markdownDelimiter"], - ["markdownListMarker", "NONE", fg_strong3, "bold"], - ["markdownCodeDelimiter", "markdownDelimiter"], - ["markdownCode", "Function"], - ["markdownItalic", "NONE", fg_strong3, "italic"], - ["markdownItalicDelimiter", "markdownDelimiter"], - ["markdownBold", "NONE", fg_strong2, "bold"], - ["markdownBoldDelimiter", "markdownDelimiter"], - ["markdownIdDeclaration", "Conditional"], - ["markdownId", "markdownIdDeclaration"], - ["markdownLinkText", "NONE", fg_strong2, "underline"], - - # extra whitespace - - [ "ExtraWhitespace", bg_whitespace_error ,"NONE", "NONE" ], - - # php - - [ "phpRegion", "Normal" ], - [ "phpComparison", "Operator" ], - [ "phpMethod", "Function" ], - [ "phpParent", "Normal" ], - [ "phpMemberSelector", "StorageClass" ], - [ "phpVarSelector", "StorageClass" ], - - # quickfix - - [ "QuickfixLine", "NONE", ui_fg_strong2, "bold" ], - [ "qfLineNr", "NONE", ui_fg_weak2, "italic"], - [ "qfFilename", "NONE", ui_fg_strong1, "bold" ], - [ "qfSeparator", "Ignore" ], - [ "qfError", "ErrorMsg" ], - - # json - - [ "jsonKeyword", "Identifier" ], - [ "jsonValue", "String" ], - [ "jsonQuote", "Noise" ], - - # plugins - - [ "CocErrorSign", "ErrorMsg" ], - [ "CocWarningSign", "WarningMsg" ], - [ "CocInfoSign", "Question" ], - [ "CocHintSign", "Question" ], - [ "CocHighlightText", "IncSearch" ], - [ "LspErrorText", "ErrorMsg" ], - [ "LspWarningText", "WarningMsg" ], - [ "LspInformationText", "Question" ], - [ "LspHintText", "Question" ], - [ "ALEErrorSign", "ErrorMsg" ], - [ "ALEWarningSign", "WarningMsg" ], - - # ctrl-p highlighting - # :h ctrlp-customization - - [ "CtrlPPrtBase", ui_cursor_bg, ui_cursor_fg, "bold" ], - [ "CtrlPPrtText", ui_cursor_bg, ui_cursor_fg, "bold"], - [ "CtrlPMatch", "NONE", ui_fg_strong2, "bold"], - [ "CtrlPMode1", "NONE", ui_fg_strong3, "bold"], - [ "CtrlPMode2", "NONE", ui_fg_strong1, "NONE"], - [ "CtrlPNoEntries", "NONE", ui_fg_warning_strong, "bold" ], - [ "CtrlPBufferNr", "NONE", ui_fg_strong2, "bold" ], - [ "CtrlPBufferInd", "NONE", ui_fg_strong4, "bold" ], - [ "CtrlPBufferPath", "NONE", ui_fg_weak2, "NONE" ], - [ "CtrlPBufferHid", "NONE", ui_fg, "NONE" ], - [ "CtrlPBufferHidMod", "NONE", ui_fg_warning_weak, "NONE" ], - [ "CtrlPBufferVis", "Normal" ], - [ "CtrlPBufferVisMod", "NONE", ui_fg_warning, "NONE" ], - [ "CtrlPBufferCur", "NONE", ui_fg_strong3, "bold" ], - [ "CtrlPBufferCurMod", "NONE", ui_fg_warning_strong, "NONE" ], - - [ "CtrlPBufName", "NONE", ui_fg_strong2, "NONE" ], - [ "CtrlPTagKind", "NONE", ui_fg_strong3, "bold" ], - [ "CtrlPqfLineCol", "NONE", ui_fg_warning, "bold" ], - [ "CtrlPUndoT", "NONE", ui_fg_strong1, "NONE" ], - [ "CtrlPUndoBr", "NONE", ui_fg_weak1, "NONE" ], - [ "CtrlPUndoNr", "NONE", ui_fg_weak2, "NONE" ], - [ "CtrlPUndoSv", "NONE", ui_fg_warning, "NONE" ], - [ "CtrlPUndoPo", "NONE", ui_fg_strong3, "bold" ], - - # netrw - [ "netrwTreeBar", "Noise" ], - [ "netrwClassify", "Noise" ], - [ "netrwExe", "Identifier" ], - [ "netrwDir", "String" ], - [ "netrwPlain", "Statement" ], - [ "netrwHelpCmd", "Type" ], - [ "netrwCmdNote", "function" ], - [ "netrwQuickHelp", "netrwCmdNote" ], - [ "netrwCmdSep", "Noise" ], - [ "netrwVersion", "StorageClass" ], - [ "netrwList", "String" ], - [ "netrwHidePat", "Identifier" ], - - # i3config - [ "Variable", "Function" ], - - # to be implemented - - # "" #shell highlighting - # "{{{ - # "hi! def link shConditional shLoop - # "hi! def link shFunctionTwo mIdentifierBright - # "hi! def link shFunction mIdentifier - # "hi! def link shFunctionKey mStatement - # "hi! def link shCaseEsac mValue - # "hi! def link shCaseBar mNoise - # "hi! def link shEcho mNoiseBright - # "hi! def link bashSpecialVariables mSpecial - # "hi! def link shCmdSubRegion mNoiseBright - # "hi! def link shCommandSub mSpecialDark - # "hi! def link shEscape mNoise - # "hi! def link shTestOpr mNoise - # "hi! def link shSnglCase mNoise - # hi! def link shDerefSimple Type - # hi! def link shDerefVar shDerefSimple - # hi! def link shDerefOp Conditional - # hi! def link shDerefPattern shDerefOp - # hi! def link shCommandSub Type - # hi! def link shOption StorageClass - # ""}}} - - # "" vim-fugitive - # ""{{{ - # "hi! def link gitCommitBranch mValueDarkItalic - # "hi! def link gitCommitDiscarded mNoiseDark - # "hi! def link gitCommitComment mNoiseDark - # "hi! def link gitCommitOnBranch mNoise - # "hi! def link gitCommitWarning mInterfaceError - # "hi! def link gitCommitDiscardedType mNoise - # "hi! def link gitCommitSelectedType mNoise - # "hi! def link gitCommitSelectedFile mValueDarkerItalic - # "hi! def link gitCommitDiscardedFile mInterfaceWarning - # "hi! def link gitCommitUntrackedFile mStatementBright - # "hi! def link gitCommitNumber mInterfaceError - # "hi! def link gitCommitAhead gitCommitNumber - # "hi! def link gitCommitBehind gitCommitNumber - # ""}}} - - # "" #tagbar highlighting - # "" TagbarHighlight defined in vimrc as it gets overridden - # "" by plugin when defined in here - # "" hi! def link TagbarFoldIcon InterfaceNormal - # - # "" hi! def link TagbarHelp InterfaceHelp - # "" hi! def link TagbarHelpKey InterfaceHelpDark - # "" hi! def link TagbarHelpTitle InterfaceHelpBright - # - # "" hi! def link TagbarKind InterfaceH1 - # "" hi! def link TagbarNestedKind InterfaceH1 - # - # "" hi! def link TagbarScope InterfaceH1 - # "" hi! def link TagbarType InterfaceH1 - # "" hi! def link TagbarSignature InterfaceNormal - # "" hi! def link TagbarPseudoID InterfaceNormal - # "" hi! def link TagbarHighlight InterfaceCurrent - # - # "" hi! def link TagbarAccessPublic InterfaceH2 - # "" hi! def link TagbarAccessProtected InterfaceH2 - # "" hi! def link TagbarAccessPrivate InterfaceH2 - # - # "" hi! TagbarHighlight ctermfg=255 guifg=#eeeeee ctermbg=240 guibg=#585858 - - # "" #vimwiki highlighting - # "" hi VimwikiLink ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c - # "" hi! def link VimwikiHeaderChar CRNoiseDark - # "" hi VimwikiHeader1 ctermbg=242 guibg=#666666 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader2 ctermbg=238 guibg=#444444 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader3 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader4 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=251 guifg=#c6c6c6 - # "" hi VimwikiHeader5 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=246 guifg=#949494 - # "" hi VimwikiHeader6 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=244 guifg=#808080 - # "" hi VimwikiListTodo ctermbg=233 guibg=#121212 ctermfg=255 guifg=#eeeeee - - - ] - - # Step 4: generation - # - # From a separate shell: - # - # $ erb -T - bar.erb > bar.vim - # - # From Vim: - # - # :!erb -T - % > %:r.vim - - # These online resources can help you design your colorscheme: - # - # * http://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg - # the xterm palette - # * http://whatcolor.herokuapp.com/ - # play with hexadecimal colors right in the address bar (currently down) - # * http://color.hailpixel.com/ - # similar concept, fuzzier implementation - # * http://colourco.de/ - # similar concept, fancier implementation - # * http://www.colr.org/ - # extract a palette from an image - # * http://colores.manugarri.com/ - # search for 'word', get images and color palettes - # * http://www.colourlovers.com/palettes - # user-created palettes - # * http://www.perbang.dk/color+scheme/ - # a no-nonsense colorscheme generator - # * https://color.adobe.com/ - # Adobe's fancy colorscheme generator - # * http://paletton.com/ - # The classic 'Color Scheme Designer', rebranded - # * http://vrl.cs.brown.edu/color - # A very smart palette generator - # * https://cmcenroe.me/2018/04/03/colour-scheme.html - # "I Made My Own Colour Scheme and You Can Too!" - - # A few general advices: - # - # * The Windows console is limited to the 16 so-called "ANSI" colors but it has - # a few of them interverted which makes numbers impractical. Use color names - # instead of numbers: :help cterm-colors - # * The Windows console (yeah…) doesn't do italics, underlines or bolded text; - # it is limited to normal and reverse. Keep that in mind if you want - # your colorscheme to be usable in as many environments as possible by as many - # people as possible. - # * All of the terminal emulators in use these days allow their users to - # change the 16 so-called "ANSI" colors. It is also possible on some platforms - # to change some or all of the 256 colors in the xterm palette. Don't take - # anything for granted. - # * When used against a light background, strong colors work better than muted - # ones. Light or dark doesn't really matters. Also, it is harder to discriminate - # between two similar colors on a light background. - # * Both strong and muted colors work well against a dark background. It is also - # easier to work with similar colors, but dark colors don't work at all. - # * Use as many text samples as possible. String-heavy languages may look completely - # different than keyword-heavy ones. This can have an impact on the usability - # of your colorscheme. - # * Most terminal emulators and terminal multiplexers currently in use on unix-like - # systems support 256 colors but they almost always default to a '$TERM' that tells - # Vim otherwise. Your users will need to make sure their terminal emulator/multiplexer - # is correctly set up if they want to enjoy the best possible experience. - - # Many thanks to Barry Arthur (https://github.com/dahu) for the original idea. - - # You don't need to edit anything beyond this line. --%> -" <%= information[:name] %>.vim -- Vim color scheme. -" Author: <%= information[:author] %> (<%= information[:email] %>) -" Webpage: <%= information[:webpage] %> -" Description: <%= information[:description] %> - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "<%= information[:name] %>" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") -<% for highlight in highlights -%> -<% if highlight.length == 2 -%> - hi link <%= highlight[0] %> <%= highlight[1] %> -<% elsif highlight.length == 4 -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> -<% if highlight[0] == "Normal" -%> - set background=<%= information[:background] %> -<% end -%> -<% else -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> guisp=<%= highlight[4].kind_of?(String) ? highlight[4] : highlight[4][0] %> -<% end -%> -<% end -%> -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 -<% for highlight in highlights -%> -<% if highlight.length == 2 -%> - hi link <%= highlight[0] %> <%= highlight[1] %> -<% else -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][2] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][2] %> cterm=<%= highlight[3] %> -<% if highlight[0] == "Normal" -%> - set background=<%= information[:background] %> -<% end -%> -<% end -%> -<% end -%> -endif - -let g:terminal_ansi_colors = <%= terminal_ansi_colors %> - -augroup cursorlinebg - au! - au InsertEnter * hi CursorLine ctermbg=<%= bg_cursorline_input[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_cursorline_input[0] %> guifg=NONE - au InsertLeave * hi CursorLine ctermbg=<%= bg_cursorline[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_cursorline[0] %> guifg=NONE -augroup END - - diff --git a/colors/monotonous-darker.vim b/colors/monotonous-darker.vim deleted file mode 100644 index f44e165..0000000 --- a/colors/monotonous-darker.vim +++ /dev/null @@ -1,743 +0,0 @@ -" monotonous-darker.vim -- Vim color scheme. -" Author: studiovx (studiovx@studiovx.co.uk) -" Webpage: -" Description: - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "monotonous-darker" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") - hi Normal ctermbg=234 ctermfg=243 cterm=NONE guibg=#000000 guifg=#767070 gui=NONE - set background=dark - hi Special ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#cab0af gui=bold - hi NonText ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#d1bab9 gui=NONE - hi Tag ctermbg=237 ctermfg=NONE cterm=NONE guibg=#373030 guifg=NONE gui=NONE - hi Identifier ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#b79392 gui=NONE - hi Function ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#c4a6a5 gui=bold - hi Type ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#967978 gui=NONE - hi StorageClass ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#866b6b gui=bold - hi link Structure StorageClass - hi link TypeDef StorageClass - hi Constant ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#eee4e4 gui=italic - hi String ctermbg=NONE ctermfg=250 cterm=italic guibg=NONE guifg=#aeadad gui=italic - hi link Character String - hi link Number String - hi link Boolean String - hi link Float String - hi Folded ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi Statement ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767070 gui=NONE - hi Conditional ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi Repeat ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi Label ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi Operator ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5d5d gui=NONE - hi Keyword ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi Exception ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#6b5d5d gui=bold - hi PreProc ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#494646 gui=bold - hi Include ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi Comment ctermbg=NONE ctermfg=240 cterm=bold,italic guibg=NONE guifg=#5d5d5d gui=bold,italic - hi SpecialComment ctermbg=NONE ctermfg=244 cterm=italic guibg=NONE guifg=#857f7f gui=italic - hi Todo ctermbg=NONE ctermfg=247 cterm=italic guibg=NONE guifg=#9a9393 gui=italic - hi Ignore ctermbg=NONE ctermfg=234 cterm=NONE guibg=NONE guifg=#000000 gui=NONE - hi Conceal ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE - hi Error ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold - hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline guibg=NONE guifg=NONE gui=underline - hi StatusLine ctermbg=238 ctermfg=250 cterm=italic guibg=#2B2B2B guifg=#aeadad gui=italic - hi StatusLineNC ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi TabLine ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi TabLineFill ctermbg=238 ctermfg=238 cterm=italic guibg=#2B2B2B guifg=#2B2B2B gui=italic - hi TabLineSel ctermbg=238 ctermfg=250 cterm=italic guibg=#2B2B2B guifg=#aeadad gui=italic - hi VertSplit ctermbg=234 ctermfg=238 cterm=NONE guibg=#000000 guifg=#2B2B2B gui=NONE - hi FoldColumn ctermbg=234 ctermfg=238 cterm=NONE guibg=#000000 guifg=#494646 gui=NONE - hi ColorColumn ctermbg=232 ctermfg=NONE cterm=NONE guibg=#0c0c0d guifg=NONE gui=NONE - hi SignColumn ctermbg=234 ctermfg=250 cterm=NONE guibg=#000000 guifg=#aeadad gui=NONE - hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#0c0c0d guifg=NONE gui=NONE - hi Title ctermbg=NONE ctermfg=255 cterm=bold,italic guibg=NONE guifg=#eee4e4 gui=bold,italic - hi LineNr ctermbg=234 ctermfg=238 cterm=NONE guibg=#000000 guifg=#494646 gui=NONE - hi CursorLineNr ctermbg=234 ctermfg=243 cterm=bold guibg=#000000 guifg=#716c6c gui=bold - hi Pmenu ctermbg=237 ctermfg=244 cterm=NONE guibg=#232525 guifg=#857f7f gui=NONE - hi PmenuSbar ctermbg=237 ctermfg=237 cterm=NONE guibg=#232525 guifg=#232525 gui=NONE - hi PmenuSel ctermbg=237 ctermfg=250 cterm=bold guibg=#232525 guifg=#aeadad gui=bold - hi PmenuThumb ctermbg=244 ctermfg=244 cterm=NONE guibg=#857f7f guifg=#857f7f gui=NONE - hi SpecialKey ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#d1bab9 gui=NONE - hi DiffAdd ctermbg=22 ctermfg=NONE cterm=NONE guibg=#293229 guifg=NONE gui=NONE - hi DiffChange ctermbg=17 ctermfg=NONE cterm=NONE guibg=#2D2E34 guifg=NONE gui=NONE - hi DiffDelete ctermbg=52 ctermfg=NONE cterm=NONE guibg=#322929 guifg=NONE gui=NONE - hi DiffText ctermbg=17 ctermfg=21 cterm=NONE guibg=#2D2E34 guifg=#656a7c gui=NONE - hi IncSearch ctermbg=17 ctermfg=234 cterm=NONE guibg=#93adc2 guifg=#000000 gui=NONE - hi Search ctermbg=17 ctermfg=250 cterm=NONE guibg=#49535a guifg=#aeadad gui=NONE - hi Visual ctermbg=17 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE gui=NONE - hi VisualNOS ctermbg=52 ctermfg=NONE cterm=NONE guibg=#463838 guifg=NONE gui=NONE - hi Directory ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#aeadad gui=NONE - hi MatchParen ctermbg=17 ctermfg=255 cterm=bold guibg=#49535a guifg=#eee4e4 gui=bold - hi SpellBad ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE guisp=#c74444 - hi SpellCap ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#a67038 gui=NONE guisp=#a67038 - hi SpellLocal ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038 - hi SpellRare ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038 - hi WildMenu ctermbg=238 ctermfg=255 cterm=bold guibg=#2B2B2B guifg=#eee4e4 gui=bold - hi ErrorMsg ctermbg=NONE ctermfg=196 cterm=italic guibg=NONE guifg=#c74444 gui=italic - hi ModeMsg ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#eee4e4 gui=italic - hi MoreMsg ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#eee4e4 gui=italic - hi Question ctermbg=NONE ctermfg=247 cterm=italic guibg=NONE guifg=#797532 gui=italic - hi WarningMsg ctermbg=NONE ctermfg=166 cterm=italic guibg=NONE guifg=#a67038 gui=italic - hi Cursor ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CursorColumn ctermbg=232 ctermfg=NONE cterm=NONE guibg=#0c0c0d guifg=NONE gui=NONE - hi EndOfBuffer ctermbg=234 ctermfg=234 cterm=NONE guibg=#000000 guifg=#000000 gui=NONE - hi Noise ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi TabLineNum ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi TabLineNumSel ctermbg=238 ctermfg=244 cterm=italic guibg=#2B2B2B guifg=#857f7f gui=italic - hi StatusLineNoise ctermbg=238 ctermfg=240 cterm=italic guibg=#2B2B2B guifg=#5d5959 gui=italic - hi StatusLineNoiseActive ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi StatusLineBufferNr ctermbg=238 ctermfg=247 cterm=italic guibg=#2B2B2B guifg=#9a9393 gui=italic - hi StatusLineBufferNrActive ctermbg=238 ctermfg=250 cterm=italic guibg=#2B2B2B guifg=#aeadad gui=italic - hi StatusLinePercent ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi StatusLinePercentActive ctermbg=238 ctermfg=247 cterm=italic guibg=#2B2B2B guifg=#9a9393 gui=italic - hi StatusLineLinecount ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi StatusLineLinecountActive ctermbg=238 ctermfg=244 cterm=italic guibg=#2B2B2B guifg=#857f7f gui=italic - hi StatusLineDivActive ctermbg=243 ctermfg=243 cterm=NONE guibg=#716c6c guifg=#716c6c gui=NONE - hi StatusLineDivInput ctermbg=17 ctermfg=17 cterm=NONE guibg=#384046 guifg=#384046 gui=NONE - hi StatusLineDivMod ctermbg=124 ctermfg=124 cterm=NONE guibg=#655757 guifg=#655757 gui=NONE - hi StatusLineDivModActive ctermbg=124 ctermfg=124 cterm=NONE guibg=#916c6c guifg=#916c6c gui=NONE - hi StatusLineFileInfo ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#5d5d5d gui=italic - hi StatusLineFile ctermbg=238 ctermfg=247 cterm=italic guibg=#2B2B2B guifg=#9a9393 gui=italic - hi StatusLineFileActive ctermbg=238 ctermfg=250 cterm=italic guibg=#2B2B2B guifg=#aeadad gui=italic - hi StatusLineDir ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi StatusLineDirActive ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi StatusLineExt ctermbg=238 ctermfg=243 cterm=italic guibg=#2B2B2B guifg=#716c6c gui=italic - hi StatusLineExtActive ctermbg=238 ctermfg=244 cterm=italic guibg=#2B2B2B guifg=#857f7f gui=italic - hi StatusLineDot ctermbg=238 ctermfg=240 cterm=italic guibg=#2B2B2B guifg=#5d5959 gui=italic - hi StatusLineDotActive ctermbg=238 ctermfg=240 cterm=italic guibg=#2B2B2B guifg=#5d5959 gui=italic - hi StatusLineFileReadOnly ctermbg=238 ctermfg=124 cterm=italic guibg=#2B2B2B guifg=#725454 gui=italic - hi StatusLineFileReadOnlyActive ctermbg=NONE ctermfg=124 cterm=italic guibg=NONE guifg=#725454 gui=italic - hi StatusLineWarning ctermbg=238 ctermfg=244 cterm=italic guibg=#2B2B2B guifg=#857f7f gui=italic - hi StatusLineWarningActive ctermbg=NONE ctermfg=124 cterm=italic guibg=NONE guifg=#725454 gui=italic - hi LinterDash ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi LinterDashActive ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5d5d gui=NONE - hi LinterError ctermbg=NONE ctermfg=243 cterm=bold guibg=NONE guifg=#716c6c gui=bold - hi LinterErrorActive ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold - hi LinterErrorStyle ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi LinterErrorStyleActive ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE - hi LinterWarning ctermbg=NONE ctermfg=240 cterm=bold guibg=NONE guifg=#5d5959 gui=bold - hi LinterWarningActive ctermbg=NONE ctermfg=166 cterm=bold guibg=NONE guifg=#a67038 gui=bold - hi LinterWarningStyle ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi LinterWarningStyleActive ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#a67038 gui=NONE - hi LinterInfo ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi LinterInfoActive ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE - hi GitGutterDelete ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi GitGutterChange ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#596171 gui=bold - hi GitGutterAdd ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#496349 gui=bold - hi GitGutterChangeDelete ctermbg=NONE ctermfg=126 cterm=bold guibg=NONE guifg=#5c4a5a gui=bold - hi link QuickScopePrimary IncSearch - hi link QuickScopeSecondary Search - hi cssIdentifier ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#b1caaf gui=bold - hi cssClass ctermbg=NONE ctermfg=28 cterm=NONE guibg=NONE guifg=#a5c4a5 gui=NONE - hi cssFunction ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi cssProp ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi scssVariable ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#b9d1bb gui=bold - hi link cssAttr String - hi link cssIdentifierAttr Noise - hi link cssClassAttr cssIdentifierAttr - hi link cssAttrNoise Noise - hi link atKeyword PreProc - hi link cssIdentifier cssIdentifier - hi link cssClassName cssClass - hi link cssClassNameDot cssClass - hi link cssTagName htmlTagName - hi link cssPseudoClassId cssClassName - hi link cssKeyFrameSelector Label - hi link cssFunctionName cssFunction - hi link cssBraces Noise - hi cssUnitDecorators ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9a9393 gui=NONE - hi link scssSelector cssClass - hi link scssSelectorName scssSelector - hi link scssSelectorChar cssIdentifier - hi link scssFunctionName cssFunctionName - hi link scssMixin keyword - hi link scssMixinName cssFunction - hi link scssampersand scssSelectorName - hi link scssAtRoot atKeyword - hi link vue_scss cssIdentifier - hi htmlTagName ctermbg=NONE ctermfg=19 cterm=NONE guibg=NONE guifg=#7378b4 gui=NONE - hi htmlSpecialTagName ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#7e84c6 gui=bold - hi htmlLink ctermbg=NONE ctermfg=250 cterm=italic,underline guibg=NONE guifg=#aeadad gui=italic,underline - hi link htmlNormal Normal - hi link htmlTitle Title - hi link htmlH1 htmlTitle - hi link htmlTag Noise - hi link htmlEndTag htmlTag - hi link htmlArg PreProc - hi link htmlValue String - hi link htmlSpecialChar Special - hi link htmlPreStmt PreProc - hi link htmlPreError Error - hi link htmlPreProc PreProc - hi link htmlPreAttr String - hi link htmlPreProcAttrName PreProc - hi link htmlPreProcAttrError Error - hi link htmlSpecial Special - hi link htmlSpecialChar Special - hi link htmlString String - hi link htmlStatement Statement - hi link htmlComment Comment - hi link htmlCommentPart Comment - hi link htmlValue String - hi link htmlCommentError htmlError - hi link htmlTagError htmlError - hi link htmlEvent javaScript - hi link htmlError Error - hi link javaScript Special - hi link javaScriptExpression javaScript - hi link htmlCssStyleComment Comment - hi link htmlCssDefinition Special - hi link htmlImgArg htmlArg - hi link htmlSrcValue String - hi link htmlSrcsetValue htmlSrcValue - hi link htmlAltValue String - hi link htmlDataArg htmlTagName - hi link htmlDataValue Constant - hi link htmlHrefArg htmlArg - hi link htmlHrefValue htmlSrcValue - hi vueTagSpecial ctermbg=NONE ctermfg=20 cterm=bold guibg=NONE guifg=#a6a5c4 gui=bold - hi vueTagComponentName ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#8685a7 gui=bold - hi vueDynamicComponent ctermbg=NONE ctermfg=17 cterm=bold guibg=NONE guifg=#6c6b86 gui=bold - hi vueSlotName ctermbg=NONE ctermfg=21 cterm=italic guibg=NONE guifg=#beb9d1 gui=italic - hi link vueComponentName vueTagComponentName - hi link vueTransitionComponent vueDynamicComponent - hi link vueTransitionName cssIdentifier - hi link vueTransitionMode String - hi link vueDirective Identifier - hi link vueEvent Function - hi link vueConditional Special - hi link vueFor vueConditional - hi link vueRef vueDirective - hi link vueSlot Noise - hi link vueDirectiveValue Type - hi link vueEventValue vueDirectiveValue - hi link vueConditionalValue vueDirectiveValue - hi link vueForValue vueConditionalValue - hi link vueRefValue Constant - hi link vueSlotValue vueSlotName - hi link vueObjectKey cssClass - hi link vueObjectValue vueDirectiveValue - hi link vueDirectiveClass Noise - hi link vueMustache Type - hi link jsFunctionKey Function - hi jsFuncCall ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#a78685 gui=bold - hi link jsFuncCall Identifier - hi link jsOperator Operator - hi link jsVariableDef Identifier - hi jsGlobalObjects ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi link jsGlobalNodeObjects jsGlobalObjects - hi link jsExceptions jsGlobalObjects - hi link jsBuiltins jsGlobalObjects - hi link jsStorageClass Include - hi jsObjectKey ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#b79392 gui=NONE - hi link jsObjectProp Type - hi jsObjectValue ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#866b6b gui=NONE - hi link jsModuleKeyword Type - hi link jsOperatorKeyword Label - hi link jsThis jsGlobalObjects - hi link jsArrowFunction Function - hi link pythonBuiltin Type - hi link pythonBuiltinObj Special - hi link pythonDottedName Identifier - hi link pythonBrackets Noise - hi link pythonQuotes Noise - hi link pythonDot Noise - hi link pythonNoise Noise - hi link pythonExtraOperator Operator - hi link pythonDocString SpecialComment - hi pythonSelf ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#494646 gui=bold - hi link JinjaVarBlock Noise - hi link JinjaTagBlock JinjaVarBlock - hi jinjaSpecial ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#b99dc1 gui=NONE - hi jinjaRaw ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#625166 gui=NONE - hi jinjaStatement ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#725f77 gui=NONE - hi jinjaFilter ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#b294bb gui=bold - hi jinjaBlockName ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#b294bb gui=bold - hi jinjaVariable ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#826c89 gui=bold - hi link jinjaString String - hi link jinjaNumber Number - hi link jinjaOperator Noise - hi link jinjaComment Comment - hi link sqlOperator Operator - hi vimFoldMarker ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi link vimMap Noise - hi link vimAbb vimMap - hi link VimCommand Statement - hi link VimOption String - hi link vimFunction Function - hi link vimFuncKey Special - hi link vimHighlight Noise - hi link vimAuGroupKey Noise - hi link vimGroupName Special - hi link vimAutoCmd Noise - hi link vimSynMtchGrp Type - hi link vimSynContains Type - hi link vimSynRegOpt Type - hi link vimHiTerm Include - hi link vimHiAttrib Number - hi link VimIsCommand Type - hi link vimNotation StorageClass - hi link vimMapLhs Special - hi link vimMapRhs Label - hi link vimNotFunc Conditional - hi link vimSep Noise - hi link vimParenSep vimSep - hi link vimContinue vimSep - hi link vimBracket vimSep - hi link vimOperParen Normal - hi link vimUserFunc Identifier - hi link vimFoldMarker Noise - hi link yamlKeyValueDelimiter Noise - hi link yamlFowIndicator Noise - hi link confComment Comment - hi markdownDelimiter ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#494646 gui=bold - hi link markdownHeadingDelimiter markdownDelimiter - hi markdownListMarker ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi link markdownCodeDelimiter markdownDelimiter - hi link markdownCode Function - hi markdownItalic ctermbg=NONE ctermfg=250 cterm=italic guibg=NONE guifg=#aeadad gui=italic - hi link markdownItalicDelimiter markdownDelimiter - hi markdownBold ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi link markdownBoldDelimiter markdownDelimiter - hi link markdownIdDeclaration Conditional - hi link markdownId markdownIdDeclaration - hi markdownLinkText ctermbg=NONE ctermfg=247 cterm=underline guibg=NONE guifg=#9a9393 gui=underline - hi ExtraWhitespace ctermbg=196 ctermfg=NONE cterm=NONE guibg=#6a2e2e guifg=NONE gui=NONE - hi link phpRegion Normal - hi link phpComparison Operator - hi link phpMethod Function - hi link phpParent Normal - hi link phpMemberSelector StorageClass - hi link phpVarSelector StorageClass - hi QuickfixLine ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi qfLineNr ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#5d5959 gui=italic - hi qfFilename ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#857f7f gui=bold - hi link qfSeparator Ignore - hi link qfError ErrorMsg - hi link jsonKeyword Identifier - hi link jsonValue String - hi link jsonQuote Noise - hi link CocErrorSign ErrorMsg - hi link CocWarningSign WarningMsg - hi link CocInfoSign Question - hi link CocHintSign Question - hi link CocHighlightText IncSearch - hi link LspErrorText ErrorMsg - hi link LspWarningText WarningMsg - hi link LspInformationText Question - hi link LspHintText Question - hi link ALEErrorSign ErrorMsg - hi link ALEWarningSign WarningMsg - hi CtrlPPrtBase ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CtrlPPrtText ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CtrlPMatch ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi CtrlPMode1 ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPMode2 ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#857f7f gui=NONE - hi CtrlPNoEntries ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#916c6c gui=bold - hi CtrlPBufferNr ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#9a9393 gui=bold - hi CtrlPBufferInd ctermbg=NONE ctermfg=255 cterm=bold guibg=NONE guifg=#eee4e4 gui=bold - hi CtrlPBufferPath ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi CtrlPBufferHid ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#716c6c gui=NONE - hi CtrlPBufferHidMod ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#7b6a6a gui=NONE - hi link CtrlPBufferVis Normal - hi CtrlPBufferVisMod ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi CtrlPBufferCur ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPBufferCurMod ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#916c6c gui=NONE - hi CtrlPBufName ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#9a9393 gui=NONE - hi CtrlPTagKind ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi CtrlPqfLineCol ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi CtrlPUndoT ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#857f7f gui=NONE - hi CtrlPUndoBr ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#494646 gui=NONE - hi CtrlPUndoNr ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#5d5959 gui=NONE - hi CtrlPUndoSv ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi CtrlPUndoPo ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#aeadad gui=bold - hi link netrwTreeBar Noise - hi link netrwClassify Noise - hi link netrwExe Identifier - hi link netrwDir String - hi link netrwPlain Statement - hi link netrwHelpCmd Type - hi link netrwCmdNote function - hi link netrwQuickHelp netrwCmdNote - hi link netrwCmdSep Noise - hi link netrwVersion StorageClass - hi link netrwList String - hi link netrwHidePat Identifier - hi link Variable Function -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 - hi Normal ctermbg=black ctermfg=gray cterm=NONE - set background=dark - hi Special ctermbg=NONE ctermfg=red cterm=bold - hi NonText ctermbg=NONE ctermfg=red cterm=NONE - hi Tag ctermbg=darkred ctermfg=NONE cterm=NONE - hi Identifier ctermbg=NONE ctermfg=red cterm=NONE - hi Function ctermbg=NONE ctermfg=red cterm=bold - hi Type ctermbg=NONE ctermfg=darkred cterm=NONE - hi StorageClass ctermbg=NONE ctermfg=darkred cterm=bold - hi link Structure StorageClass - hi link TypeDef StorageClass - hi Constant ctermbg=NONE ctermfg=white cterm=italic - hi String ctermbg=NONE ctermfg=white cterm=italic - hi link Character String - hi link Number String - hi link Boolean String - hi link Float String - hi Folded ctermbg=NONE ctermfg=white cterm=bold - hi Statement ctermbg=NONE ctermfg=gray cterm=NONE - hi Conditional ctermbg=NONE ctermfg=white cterm=bold - hi Repeat ctermbg=NONE ctermfg=darkgray cterm=bold - hi Label ctermbg=NONE ctermfg=darkgray cterm=bold - hi Operator ctermbg=NONE ctermfg=gray cterm=NONE - hi Keyword ctermbg=NONE ctermfg=darkgray cterm=bold - hi Exception ctermbg=NONE ctermfg=darkred cterm=bold - hi PreProc ctermbg=NONE ctermfg=gray cterm=bold - hi Include ctermbg=NONE ctermfg=gray cterm=NONE - hi Comment ctermbg=NONE ctermfg=gray cterm=bold,italic - hi SpecialComment ctermbg=NONE ctermfg=darkgray cterm=italic - hi Todo ctermbg=NONE ctermfg=darkgray cterm=italic - hi Ignore ctermbg=NONE ctermfg=black cterm=NONE - hi Conceal ctermbg=NONE ctermfg=NONE cterm=NONE - hi Error ctermbg=NONE ctermfg=red cterm=bold - hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline - hi StatusLine ctermbg=gray ctermfg=white cterm=italic - hi StatusLineNC ctermbg=gray ctermfg=gray cterm=italic - hi TabLine ctermbg=gray ctermfg=gray cterm=italic - hi TabLineFill ctermbg=gray ctermfg=gray cterm=italic - hi TabLineSel ctermbg=gray ctermfg=white cterm=italic - hi VertSplit ctermbg=black ctermfg=gray cterm=NONE - hi FoldColumn ctermbg=black ctermfg=gray cterm=NONE - hi ColorColumn ctermbg=gray ctermfg=NONE cterm=NONE - hi SignColumn ctermbg=black ctermfg=white cterm=NONE - hi CursorLine ctermbg=gray ctermfg=NONE cterm=NONE - hi Title ctermbg=NONE ctermfg=white cterm=bold,italic - hi LineNr ctermbg=black ctermfg=gray cterm=NONE - hi CursorLineNr ctermbg=black ctermfg=gray cterm=bold - hi Pmenu ctermbg=black ctermfg=darkgray cterm=NONE - hi PmenuSbar ctermbg=black ctermfg=black cterm=NONE - hi PmenuSel ctermbg=black ctermfg=white cterm=bold - hi PmenuThumb ctermbg=darkgray ctermfg=darkgray cterm=NONE - hi SpecialKey ctermbg=NONE ctermfg=red cterm=NONE - hi DiffAdd ctermbg=darkgreen ctermfg=NONE cterm=NONE - hi DiffChange ctermbg=darkblue ctermfg=NONE cterm=NONE - hi DiffDelete ctermbg=darkred ctermfg=NONE cterm=NONE - hi DiffText ctermbg=darkblue ctermfg=white cterm=NONE - hi IncSearch ctermbg=darkblue ctermfg=black cterm=NONE - hi Search ctermbg=darkblue ctermfg=white cterm=NONE - hi Visual ctermbg=darkblue ctermfg=NONE cterm=NONE - hi VisualNOS ctermbg=darkred ctermfg=NONE cterm=NONE - hi Directory ctermbg=NONE ctermfg=white cterm=NONE - hi MatchParen ctermbg=darkblue ctermfg=white cterm=bold - hi SpellBad ctermbg=NONE ctermfg=red cterm=NONE - hi SpellCap ctermbg=NONE ctermfg=yellow cterm=NONE - hi SpellLocal ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi SpellRare ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi WildMenu ctermbg=gray ctermfg=white cterm=bold - hi ErrorMsg ctermbg=NONE ctermfg=red cterm=italic - hi ModeMsg ctermbg=NONE ctermfg=white cterm=italic - hi MoreMsg ctermbg=NONE ctermfg=white cterm=italic - hi Question ctermbg=NONE ctermfg=darkgray cterm=italic - hi WarningMsg ctermbg=NONE ctermfg=yellow cterm=italic - hi Cursor ctermbg=white ctermfg=black cterm=bold - hi CursorColumn ctermbg=gray ctermfg=NONE cterm=NONE - hi EndOfBuffer ctermbg=black ctermfg=black cterm=NONE - hi Noise ctermbg=NONE ctermfg=gray cterm=NONE - hi TabLineNum ctermbg=gray ctermfg=gray cterm=italic - hi TabLineNumSel ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineNoise ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineNoiseActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineBufferNr ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineBufferNrActive ctermbg=gray ctermfg=white cterm=italic - hi StatusLinePercent ctermbg=gray ctermfg=gray cterm=italic - hi StatusLinePercentActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineLinecount ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineLinecountActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineDivActive ctermbg=gray ctermfg=gray cterm=NONE - hi StatusLineDivInput ctermbg=darkblue ctermfg=darkblue cterm=NONE - hi StatusLineDivMod ctermbg=red ctermfg=red cterm=NONE - hi StatusLineDivModActive ctermbg=red ctermfg=red cterm=NONE - hi StatusLineFileInfo ctermbg=NONE ctermfg=gray cterm=italic - hi StatusLineFile ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineFileActive ctermbg=gray ctermfg=white cterm=italic - hi StatusLineDir ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineDirActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineExt ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineExtActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineDot ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineDotActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineFileReadOnly ctermbg=gray ctermfg=red cterm=italic - hi StatusLineFileReadOnlyActive ctermbg=NONE ctermfg=red cterm=italic - hi StatusLineWarning ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineWarningActive ctermbg=NONE ctermfg=red cterm=italic - hi LinterDash ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterDashActive ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterError ctermbg=NONE ctermfg=gray cterm=bold - hi LinterErrorActive ctermbg=NONE ctermfg=red cterm=bold - hi LinterErrorStyle ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterErrorStyleActive ctermbg=NONE ctermfg=red cterm=NONE - hi LinterWarning ctermbg=NONE ctermfg=gray cterm=bold - hi LinterWarningActive ctermbg=NONE ctermfg=yellow cterm=bold - hi LinterWarningStyle ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterWarningStyleActive ctermbg=NONE ctermfg=yellow cterm=NONE - hi LinterInfo ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterInfoActive ctermbg=NONE ctermfg=darkgray cterm=NONE - hi GitGutterDelete ctermbg=NONE ctermfg=red cterm=bold - hi GitGutterChange ctermbg=NONE ctermfg=blue cterm=bold - hi GitGutterAdd ctermbg=NONE ctermfg=green cterm=bold - hi GitGutterChangeDelete ctermbg=NONE ctermfg=magenta cterm=bold - hi link QuickScopePrimary IncSearch - hi link QuickScopeSecondary Search - hi cssIdentifier ctermbg=NONE ctermfg=green cterm=bold - hi cssClass ctermbg=NONE ctermfg=green cterm=NONE - hi cssFunction ctermbg=NONE ctermfg=darkgray cterm=bold - hi cssProp ctermbg=NONE ctermfg=gray cterm=NONE - hi scssVariable ctermbg=NONE ctermfg=green cterm=bold - hi link cssAttr String - hi link cssIdentifierAttr Noise - hi link cssClassAttr cssIdentifierAttr - hi link cssAttrNoise Noise - hi link atKeyword PreProc - hi link cssIdentifier cssIdentifier - hi link cssClassName cssClass - hi link cssClassNameDot cssClass - hi link cssTagName htmlTagName - hi link cssPseudoClassId cssClassName - hi link cssKeyFrameSelector Label - hi link cssFunctionName cssFunction - hi link cssBraces Noise - hi cssUnitDecorators ctermbg=NONE ctermfg=darkgray cterm=NONE - hi link scssSelector cssClass - hi link scssSelectorName scssSelector - hi link scssSelectorChar cssIdentifier - hi link scssFunctionName cssFunctionName - hi link scssMixin keyword - hi link scssMixinName cssFunction - hi link scssampersand scssSelectorName - hi link scssAtRoot atKeyword - hi link vue_scss cssIdentifier - hi htmlTagName ctermbg=NONE ctermfg=darkblue cterm=NONE - hi htmlSpecialTagName ctermbg=NONE ctermfg=blue cterm=bold - hi htmlLink ctermbg=NONE ctermfg=white cterm=italic,underline - hi link htmlNormal Normal - hi link htmlTitle Title - hi link htmlH1 htmlTitle - hi link htmlTag Noise - hi link htmlEndTag htmlTag - hi link htmlArg PreProc - hi link htmlValue String - hi link htmlSpecialChar Special - hi link htmlPreStmt PreProc - hi link htmlPreError Error - hi link htmlPreProc PreProc - hi link htmlPreAttr String - hi link htmlPreProcAttrName PreProc - hi link htmlPreProcAttrError Error - hi link htmlSpecial Special - hi link htmlSpecialChar Special - hi link htmlString String - hi link htmlStatement Statement - hi link htmlComment Comment - hi link htmlCommentPart Comment - hi link htmlValue String - hi link htmlCommentError htmlError - hi link htmlTagError htmlError - hi link htmlEvent javaScript - hi link htmlError Error - hi link javaScript Special - hi link javaScriptExpression javaScript - hi link htmlCssStyleComment Comment - hi link htmlCssDefinition Special - hi link htmlImgArg htmlArg - hi link htmlSrcValue String - hi link htmlSrcsetValue htmlSrcValue - hi link htmlAltValue String - hi link htmlDataArg htmlTagName - hi link htmlDataValue Constant - hi link htmlHrefArg htmlArg - hi link htmlHrefValue htmlSrcValue - hi vueTagSpecial ctermbg=NONE ctermfg=blue cterm=bold - hi vueTagComponentName ctermbg=NONE ctermfg=darkblue cterm=bold - hi vueDynamicComponent ctermbg=NONE ctermfg=darkblue cterm=bold - hi vueSlotName ctermbg=NONE ctermfg=blue cterm=italic - hi link vueComponentName vueTagComponentName - hi link vueTransitionComponent vueDynamicComponent - hi link vueTransitionName cssIdentifier - hi link vueTransitionMode String - hi link vueDirective Identifier - hi link vueEvent Function - hi link vueConditional Special - hi link vueFor vueConditional - hi link vueRef vueDirective - hi link vueSlot Noise - hi link vueDirectiveValue Type - hi link vueEventValue vueDirectiveValue - hi link vueConditionalValue vueDirectiveValue - hi link vueForValue vueConditionalValue - hi link vueRefValue Constant - hi link vueSlotValue vueSlotName - hi link vueObjectKey cssClass - hi link vueObjectValue vueDirectiveValue - hi link vueDirectiveClass Noise - hi link vueMustache Type - hi link jsFunctionKey Function - hi jsFuncCall ctermbg=NONE ctermfg=darkred cterm=bold - hi link jsFuncCall Identifier - hi link jsOperator Operator - hi link jsVariableDef Identifier - hi jsGlobalObjects ctermbg=NONE ctermfg=darkgray cterm=bold - hi link jsGlobalNodeObjects jsGlobalObjects - hi link jsExceptions jsGlobalObjects - hi link jsBuiltins jsGlobalObjects - hi link jsStorageClass Include - hi jsObjectKey ctermbg=NONE ctermfg=red cterm=NONE - hi link jsObjectProp Type - hi jsObjectValue ctermbg=NONE ctermfg=darkred cterm=NONE - hi link jsModuleKeyword Type - hi link jsOperatorKeyword Label - hi link jsThis jsGlobalObjects - hi link jsArrowFunction Function - hi link pythonBuiltin Type - hi link pythonBuiltinObj Special - hi link pythonDottedName Identifier - hi link pythonBrackets Noise - hi link pythonQuotes Noise - hi link pythonDot Noise - hi link pythonNoise Noise - hi link pythonExtraOperator Operator - hi link pythonDocString SpecialComment - hi pythonSelf ctermbg=NONE ctermfg=gray cterm=bold - hi link JinjaVarBlock Noise - hi link JinjaTagBlock JinjaVarBlock - hi jinjaSpecial ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaRaw ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaStatement ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaFilter ctermbg=NONE ctermfg=magenta cterm=bold - hi jinjaBlockName ctermbg=NONE ctermfg=magenta cterm=bold - hi jinjaVariable ctermbg=NONE ctermfg=magenta cterm=bold - hi link jinjaString String - hi link jinjaNumber Number - hi link jinjaOperator Noise - hi link jinjaComment Comment - hi link sqlOperator Operator - hi vimFoldMarker ctermbg=NONE ctermfg=gray cterm=NONE - hi link vimMap Noise - hi link vimAbb vimMap - hi link VimCommand Statement - hi link VimOption String - hi link vimFunction Function - hi link vimFuncKey Special - hi link vimHighlight Noise - hi link vimAuGroupKey Noise - hi link vimGroupName Special - hi link vimAutoCmd Noise - hi link vimSynMtchGrp Type - hi link vimSynContains Type - hi link vimSynRegOpt Type - hi link vimHiTerm Include - hi link vimHiAttrib Number - hi link VimIsCommand Type - hi link vimNotation StorageClass - hi link vimMapLhs Special - hi link vimMapRhs Label - hi link vimNotFunc Conditional - hi link vimSep Noise - hi link vimParenSep vimSep - hi link vimContinue vimSep - hi link vimBracket vimSep - hi link vimOperParen Normal - hi link vimUserFunc Identifier - hi link vimFoldMarker Noise - hi link yamlKeyValueDelimiter Noise - hi link yamlFowIndicator Noise - hi link confComment Comment - hi markdownDelimiter ctermbg=NONE ctermfg=gray cterm=bold - hi link markdownHeadingDelimiter markdownDelimiter - hi markdownListMarker ctermbg=NONE ctermfg=white cterm=bold - hi link markdownCodeDelimiter markdownDelimiter - hi link markdownCode Function - hi markdownItalic ctermbg=NONE ctermfg=white cterm=italic - hi link markdownItalicDelimiter markdownDelimiter - hi markdownBold ctermbg=NONE ctermfg=darkgray cterm=bold - hi link markdownBoldDelimiter markdownDelimiter - hi link markdownIdDeclaration Conditional - hi link markdownId markdownIdDeclaration - hi markdownLinkText ctermbg=NONE ctermfg=darkgray cterm=underline - hi ExtraWhitespace ctermbg=red ctermfg=NONE cterm=NONE - hi link phpRegion Normal - hi link phpComparison Operator - hi link phpMethod Function - hi link phpParent Normal - hi link phpMemberSelector StorageClass - hi link phpVarSelector StorageClass - hi QuickfixLine ctermbg=NONE ctermfg=darkgray cterm=bold - hi qfLineNr ctermbg=NONE ctermfg=gray cterm=italic - hi qfFilename ctermbg=NONE ctermfg=darkgray cterm=bold - hi link qfSeparator Ignore - hi link qfError ErrorMsg - hi link jsonKeyword Identifier - hi link jsonValue String - hi link jsonQuote Noise - hi link CocErrorSign ErrorMsg - hi link CocWarningSign WarningMsg - hi link CocInfoSign Question - hi link CocHintSign Question - hi link CocHighlightText IncSearch - hi link LspErrorText ErrorMsg - hi link LspWarningText WarningMsg - hi link LspInformationText Question - hi link LspHintText Question - hi link ALEErrorSign ErrorMsg - hi link ALEWarningSign WarningMsg - hi CtrlPPrtBase ctermbg=white ctermfg=black cterm=bold - hi CtrlPPrtText ctermbg=white ctermfg=black cterm=bold - hi CtrlPMatch ctermbg=NONE ctermfg=darkgray cterm=bold - hi CtrlPMode1 ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPMode2 ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPNoEntries ctermbg=NONE ctermfg=red cterm=bold - hi CtrlPBufferNr ctermbg=NONE ctermfg=darkgray cterm=bold - hi CtrlPBufferInd ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPBufferPath ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPBufferHid ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPBufferHidMod ctermbg=NONE ctermfg=darkred cterm=NONE - hi link CtrlPBufferVis Normal - hi CtrlPBufferVisMod ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPBufferCur ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPBufferCurMod ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPBufName ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPTagKind ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPqfLineCol ctermbg=NONE ctermfg=red cterm=bold - hi CtrlPUndoT ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPUndoBr ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPUndoNr ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPUndoSv ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPUndoPo ctermbg=NONE ctermfg=white cterm=bold - hi link netrwTreeBar Noise - hi link netrwClassify Noise - hi link netrwExe Identifier - hi link netrwDir String - hi link netrwPlain Statement - hi link netrwHelpCmd Type - hi link netrwCmdNote function - hi link netrwQuickHelp netrwCmdNote - hi link netrwCmdSep Noise - hi link netrwVersion StorageClass - hi link netrwList String - hi link netrwHidePat Identifier - hi link Variable Function -endif - -let g:terminal_ansi_colors = ["#1f2121", "#5d5d5d", "#716c6c", "#767070", "#857f7f", "#9a9393", "#aeadad", "#eee4e4", "#2B2B2B", "#90905c", "#a2a268", "#b4b473", "#c3c67e", "#c6c689", "#d0d095", "#d5d5a1"] - -augroup cursorlinebg - au! - au InsertEnter * hi CursorLine ctermbg=17 ctermfg=NONE cterm=NONE guibg=#191E1F guifg=NONE - au InsertLeave * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#0c0c0d guifg=NONE -augroup END - - diff --git a/colors/monotonous-light.erb b/colors/monotonous-light.erb deleted file mode 100644 index a73cfb5..0000000 --- a/colors/monotonous-light.erb +++ /dev/null @@ -1,864 +0,0 @@ -<% - # RNB, A VIM COLORSCHEME TEMPLATE - # Author: Romain Lafourcade (https://github.com/romainl) - # Canonical URL: https://gist.github.com/romainl/5cd2f4ec222805f49eca - - # Step 1: information - # - # mAke sure the name of your colorscheme is unique and attractive. - # The description should fit in a single line with no linefeed. - # 'background' can be "light" or "dark". - information = { - author: "studiovx", - email: "studiovx@studiovx.co.uk", - name: "monotonous-dark", - description: "", - background: "dark", - webpage: "" - } - - # Step 2: colors - # - # black = [ give each color a distinctive name - # "#000000", hexadecimal color for GVim/MacVim and "true colors" terminals - # 0, integer between 0 and 255 for terminals supporting 256 colors - # "black" color name for less capable color terminals, can be "darkred", "red", - # "darkgreen", "green", "darkyellow", "yellow", "darkblue", "blue", - # "darkmagenta", "magenta", "black", "darkgrey", "grey", "white" - # ] - # - # If your colors are defined correctly, the resulting colorscheme is guaranteed - # to work in GVim (Windows/Linux), MacVim, and any properly set up terminal emulator. - - strongred3 = ["#373030", 237, "darkred"] - strongred2 = ["#6b5d5d", 52, "darkred"] - strongred1 = ["#866b6b", 52, "darkred"] - red3 = ["#967978", 52, "darkred"] - red2 = ["#a78685", 88, "darkred"] - red1 = ["#b79392", 88, "red"] - weakred3 = ["#c4a6a5", 88, "red"] - weakred2 = ["#cab0af", 124, "red"] - weakred1 = ["#d1bab9", 124, "red"] - - graygreen0 = ["#303730", 237, "black"] - green7 = ["#6b866c", 22, "darkgreen"] - green6 = ["#7a9678", 22, "darkgreen"] - green5 = ["#85a786", 28, "darkgreen"] - green4 = ["#95b792", 28, "green"] - green3 = ["#a5c4a5", 28, "green"] - green2 = ["#b1caaf", 34, "green"] - green1 = ["#b9d1bb", 34, "green"] - - grayblue0 = ["#303237", 237, "black"] - blue7 = ["#5c6191", 17, "darkblue"] - blue6 = ["#6a6f9b", 18, "darkblue"] - blue5 = ["#7378b4", 19, "darkblue"] - blue4 = ["#7e84c6", 19, "blue"] - blue3 = ["#898fcb", 20, "blue"] - blue2 = ["#959ad0", 20, "blue"] - blue1 = ["#a1a5d5", 21, "blue"] - - grayindigo0 = ["#323037", 237, "black"] - indigo7 = ["#6c6b86", 17, "darkblue"] - indigo6 = ["#787896", 18, "darkblue"] - indigo5 = ["#8685a7", 19, "darkblue"] - indigo4 = ["#9292b7", 19, "blue"] - indigo3 = ["#a6a5c4", 20, "blue"] - indigo2 = ["#b0afca", 20, "blue"] - indigo1 = ["#beb9d1", 21, "blue"] - - # TODO 256 and term colours - magenta7= ["#625166", 164, "magenta"] - magenta6= ["#725f77", 164, "magenta"] - magenta5= ["#826c89", 164, "magenta"] - magenta4= ["#927a9a", 164, "magenta"] - magenta3= ["#a287aa", 164, "magenta"] - magenta2= ["#b294bb", 164, "magenta"] - magenta1= ["#b99dc1", 164, "magenta"] - - grayyellow0 = ["#373730", 237, "black"] - yellow7 = ["#90905c", 22, "darkyellow"] - yellow6 = ["#a2a268", 22, "darkyellow"] - yellow5 = ["#b4b473", 28, "darkyellow"] - yellow4 = ["#c3c67e", 28, "yellow"] - yellow3 = ["#c6c689", 28, "yellow"] - yellow2 = ["#d0d095", 34, "yellow"] - yellow1 = ["#d5d5a1", 34, "yellow"] - - - bg_cursorline = ["#f7f7f7", 250, "white"] - bg_colorcolumn = bg_cursorline - bg_cursorcolumn = ["#f7f7f7", 250, "white"] - bg = ["#ffffff", 234, "black"] - bg_cursorline_input = ["#e6e6e6", 17, "darkblue"] - fg_weak1 = ["#cccccc", 247, "darkgray"] - fg_comment = ["#c4c4c4", 244, "darkgray"] - fg_weak2 = ["#afafaf", 238, "gray"] - fg = ["#999999", 243, "gray"] - fg_strong1 = ["#888888", 240, "gray"] - fg_strong2 = ["#777777", 238, "gray"] - fg_strong3 = ["#666666", 232, "gray"] - fg_strong4 = ["#555555", 232, "gray"] - fg_special = ["#111111", 232, "gray"] - - fg_error = ["#c74444", 196, "red"] - fg_spellcap = ["#a67038", 166, "yellow"] - fg_spellrare = ["#797532", 247, "darkyellow"] - fg_spelllocal = fg_spellrare - bg_whitespace_error = ["#ccbbbb", 196, "red"] - fg_todo = ["#aa0000", 196, "red"] - - color_primary_weak1 = weakred1 - color_primary_weak2 = weakred2 - color_primary_weak3 = weakred3 - color_primary1 = red1 - color_primary2 = red2 - color_primary3 = red3 - color_primary_strong1 = strongred1 - color_primary_strong2 = strongred2 - color_primary_strong3 = strongred3 - - color_secondary_weak = green5 - color_secondary = green6 - color_secondary_strong = green7 - - color_tertiary_weak = blue3 - color_tertiary = blue4 - color_tertiary_strong = blue7 - - ui_bg = ["#dddddd", 238, "gray"] - ui_fg_weak1 = ["#999999", 238, "gray"] - ui_fg_weak2 = ["#8f8f8f", 240, "gray"] - ui_fg = ["#828282", 243, "gray"] - ui_fg_strong1 = ["#707070", 244, "darkgray"] - ui_fg_strong2 = ["#666666", 247, "darkgray"] - ui_fg_strong3 = ["#555555", 250, "white"] - ui_fg_strong4 = ["#444444", 255, "white"] - - ui_cursor_bg = ["#eee4e4", 255, "white"] - ui_cursor_fg = ["#131313", 0, "black"] - - ui_linenr = fg_weak1 - ui_cursorlinenr = fg_weak2 - - ui_search = ["#b7c3cd", 17, "darkblue"] - ui_incsearch = ["#5a727c", 17, "darkblue"] - - ui_visual_bg = ["#ced8e0", 17, "darkblue"] - ui_visualnos_bg = ["#e0d4ce", 52, "darkred"] - - menu_bg = ui_bg - menu_fg = ui_fg - menu_sel = ui_fg_strong3 - - diff_delete_bg = ["#ece0e0", 52, "darkred"] - diff_add_bg = ["#e0ece0", 22, "darkgreen"] - diff_change_bg = ["#e0e0ec", 17, "darkblue"] - diff_change_fg = ["#656a7c", 21, "white"] - - ui_sign_add = ["#496349", 34, "green"] - ui_sign_change = ["#596171", 19, "blue"] - ui_sign_delete = ["#725454", 124, "red"] - ui_sign_changedelete = ["#5c4a5a", 126, "magenta"] - - ui_statusbar_mod = ["#655757", 124, "red"] - ui_statusbar_mod_active = ["#916c6c", 124, "red"] - ui_statusbar_input = ["#ced8e0", 17, "darkblue"] - - ui_fileinfo = fg_comment - - ui_fg_errormsg = ["#c74444", 196, "red"] - ui_fg_warningmsg = ["#a67038", 166, "yellow"] - ui_fg_question = ["#797532", 247, "darkgray"] - - ui_fg_warning_weak = ["#7b6a6a", 88, "darkred"] - ui_fg_warning = ["#725454", 124, "red"] - ui_fg_warning_strong = ["#916c6c", 196, "red"] - ui_fg_error = ["#7D3636", 196, "red"] - - ui_fg_linter_dash = fg_weak1 - ui_fg_linter_dash_active = fg_comment - ui_fg_linter_error = ui_fg - ui_fg_linter_error_active = ui_fg_errormsg - ui_fg_linter_warning = ui_fg_weak2 - ui_fg_linter_warning_active = ui_fg_warningmsg - ui_fg_linter_info = fg_weak1 - ui_fg_linter_info_active = ui_fg_question - - # terminal_ansi_colors = [ '#1f2121', fg_comment[0], fg_weak2[0], fg[0], fg_strong1[0], fg_strong2[0], fg_strong3[0], fg_strong4[0], bg_cursorline[0], color_primary_weak3[0], color_primary1[0], color_primary2[0], color_primary3[0], color_primary_strong1[0], color_primary_strong2[0], color_primary_strong3[0] ] - terminal_ansi_colors = [ '#1f2121', fg_comment[0], fg_weak2[0], fg[0], fg_strong1[0], fg_strong2[0], fg_strong3[0], fg_strong4[0], ui_bg[0], yellow1[0], yellow2[0], yellow3[0], yellow4[0], yellow5[0], yellow6[0], yellow7[0] ] - - # Step 3: highlights - highlights = [ - [ "Normal", bg, fg, "NONE" ], - - [ "Special", "NONE", color_primary_strong2, "bold" ], - [ "NonText", "NONE", color_primary_strong3, "NONE" ], - [ "Tag", color_primary_weak1, "NONE", "NONE" ], - - [ "Identifier", "NONE", color_primary3, "NONE" ], - [ "Function", "NONE", color_primary_strong1, "bold" ], - - [ "Type", "NONE", color_primary1, "NONE" ], - [ "StorageClass", "NONE", color_primary_weak3, "bold" ], - [ "Structure", "StorageClass"], - [ "TypeDef", "StorageClass"], - - [ "Constant", "NONE", fg_strong4, "italic" ], - [ "String", "NONE", fg_strong3, "italic" ], - [ "Character", "String" ], - [ "Number", "String" ], - [ "Boolean", "String" ], - [ "Float", "String" ], - - [ "Folded", "NONE", fg_strong3, "bold" ], - - [ "Statement", "NONE", fg, "NONE" ], - [ "Conditional", "NONE", fg_strong3, "bold" ], - [ "Repeat", "NONE", fg_strong2, "bold" ], - [ "Label", "NONE", fg_strong1, "bold" ], - [ "Operator", "NONE", fg_comment, "NONE" ], - [ "Keyword", "NONE", fg_strong1, "bold" ], - [ "Exception", "NONE", color_primary_weak2, "bold" ], - - [ "PreProc", "NONE", fg_weak1, "bold" ], - [ "Include", "NONE", fg_weak1, "NONE" ], - - [ "Comment", "NONE", fg_comment, "bold,italic" ], - [ "SpecialComment", "NONE", fg_strong1, "italic"], - [ "Todo", "NONE", fg_todo, "bold,italic" ], - - [ "Ignore", "NONE", bg, "NONE" ], - [ "Conceal", "NONE", "NONE", "NONE" ], - - [ "Error", "NONE", fg_error, "bold" ], - - [ "Underlined", "NONE", "NONE", "underline" ], - - [ "StatusLine", ui_bg, ui_fg_strong3, "italic" ], - [ "StatusLineNC", ui_bg, ui_fg, "italic" ], - [ "TabLine", ui_bg, ui_fg, "italic" ], - [ "TabLineFill", ui_bg, ui_bg, "italic" ], - [ "TabLineSel", ui_bg, ui_fg_strong3, "italic" ], - - [ "VertSplit", bg, ui_bg, "NONE" ], - [ "FoldColumn", bg, fg_weak1, "NONE" ], - [ "ColorColumn", bg_colorcolumn, "NONE", "NONE" ], - [ "SignColumn", bg, ui_fg_strong3, "NONE" ], - [ "CursorLine", bg_cursorline, "NONE", "NONE" ], - - [ "Title", "NONE", fg_strong4, "bold,italic" ], - - [ "LineNr", bg, ui_linenr, "NONE" ], - [ "CursorLineNr", bg, ui_cursorlinenr, "bold" ], - - # [ "helpLeadBlank", "NONE", grayfg, "NONE" ], - # [ "helpNormal", "NONE", grayfg, "NONE" ], - - [ "Pmenu", menu_bg, menu_fg, "NONE" ], - [ "PmenuSbar", menu_bg, menu_bg, "NONE" ], - [ "PmenuSel", menu_bg, menu_sel, "bold" ], - [ "PmenuThumb", menu_fg, menu_fg, "NONE" ], - - [ "SpecialKey", "NONE", color_primary_strong3, "NONE" ], - - [ "DiffAdd", diff_add_bg, "NONE", "NONE" ], - [ "DiffChange", diff_change_bg, "NONE", "NONE" ], - [ "DiffDelete", diff_delete_bg, "NONE", "NONE" ], - [ "DiffText", diff_change_bg, diff_change_fg, "NONE" ], - - [ "IncSearch", ui_incsearch, bg, "NONE" ], - [ "Search", ui_search, ui_fg_strong3, "NONE" ], - - [ "Visual", ui_visual_bg, "NONE", "NONE" ], - [ "VisualNOS", ui_visualnos_bg, "NONE", "NONE" ], - - [ "Directory", "NONE", ui_fg_strong3, "NONE" ], - - [ "MatchParen", "NONE", fg_special, "bold" ], - - [ "SpellBad", "NONE", fg_error, "NONE", fg_error ], - [ "SpellCap", "NONE", fg_spellcap, "NONE", fg_spellcap ], - [ "SpellLocal", "NONE", fg_spelllocal, "NONE", fg_spellcap ], - [ "SpellRare", "NONE", fg_spellrare, "NONE", fg_spellcap ], - - [ "WildMenu", ui_bg, ui_fg_strong4, "bold" ], - [ "ErrorMsg", "NONE", ui_fg_errormsg, "italic" ], - [ "ModeMsg", "NONE", ui_fg_strong4, "italic" ], - [ "MoreMsg", "NONE", ui_fg_strong4, "italic" ], - [ "Question", "NONE", ui_fg_question, "italic" ], - [ "WarningMsg", "NONE", ui_fg_warningmsg, "italic" ], - - [ "Cursor", ui_cursor_bg, ui_cursor_fg, "bold" ], - [ "CursorColumn", bg_cursorcolumn, "NONE", "NONE" ], - - [ "EndOfBuffer", bg, bg, "NONE" ], - - [ "Noise", "NONE", ui_fg_weak2, "NONE"], - - - # tabline, statusline - - [ "TabLineNum", ui_bg, ui_fg, "italic"], - [ "TabLineNumSel", ui_bg, ui_fg_strong1, "italic"], - - - [ "StatusLineNoise", ui_bg, ui_fg_weak2, "italic"], - [ "StatusLineNoiseActive", ui_bg, ui_fg, "italic"], - - [ "StatusLineBufferNr", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineBufferNrActive", ui_bg, ui_fg_strong3, "italic"], - - [ "StatusLinePercent", ui_bg, ui_fg, "italic"], - [ "StatusLinePercentActive", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineLinecount", ui_bg, ui_fg, "italic"], - [ "StatusLineLinecountActive", ui_bg, ui_fg_strong1, "italic"], - - [ "StatusLineDivActive", ui_fg, ui_fg, "NONE"], - [ "StatusLineDivInput", ui_statusbar_input, ui_statusbar_input, "NONE"], - [ "StatusLineDivMod", ui_statusbar_mod, ui_statusbar_mod, "NONE"], - [ "StatusLineDivModActive", ui_statusbar_mod_active, ui_statusbar_mod_active, "NONE"], - - [ "StatusLineFileInfo", "NONE", ui_fileinfo, "italic"], - - [ "StatusLineFile", ui_bg, ui_fg_strong2, "italic"], - [ "StatusLineFileActive", ui_bg, ui_fg_strong3, "italic"], - [ "StatusLineDir", ui_bg, ui_fg, "italic"], - [ "StatusLineDirActive", ui_bg, ui_fg, "italic"], - [ "StatusLineExt", ui_bg, ui_fg, "italic"], - [ "StatusLineExtActive", ui_bg, ui_fg_strong1, "italic"], - [ "StatusLineDot", ui_bg, ui_fg_weak2, "italic"], - [ "StatusLineDotActive", ui_bg, ui_fg_weak2, "italic"], - - [ "StatusLineFileReadOnly", ui_bg, ui_fg_warning, "italic"], - [ "StatusLineFileReadOnlyActive", "NONE", ui_fg_warning, "italic"], - [ "StatusLineWarning", ui_bg, ui_fg_strong1, "italic"], - [ "StatusLineWarningActive", "NONE", ui_fg_warning, "italic"], - - [ "LinterDash", "NONE", ui_fg_linter_dash, "NONE"], - [ "LinterDashActive", "NONE", ui_fg_linter_dash_active, "NONE"], - - [ "LinterError", "NONE", ui_fg_linter_error, "bold"], - [ "LinterErrorActive", "NONE", ui_fg_linter_error_active, "bold"], - [ "LinterErrorStyle", "NONE", ui_fg_linter_error, "NONE"], - [ "LinterErrorStyleActive", "NONE", ui_fg_linter_error_active, "NONE"], - - [ "LinterWarning", "NONE", ui_fg_linter_warning, "bold"], - [ "LinterWarningActive", "NONE", ui_fg_linter_warning_active, "bold"], - [ "LinterWarningStyle", "NONE", ui_fg_linter_warning, "NONE"], - [ "LinterWarningStyleActive", "NONE", ui_fg_linter_warning_active, "NONE"], - - [ "LinterInfo", "NONE", ui_fg_linter_info, "NONE"], - [ "LinterInfoActive", "NONE", ui_fg_linter_info_active, "NONE"], - - [ "GitGutterDelete", "NONE", ui_sign_delete, "bold"], - [ "GitGutterChange", "NONE", ui_sign_change, "bold"], - [ "GitGutterAdd", "NONE", ui_sign_add, "bold"], - [ "GitGutterChangeDelete", "NONE", ui_sign_changedelete, "bold"], - - [ "QuickScopePrimary", "IncSearch" ], - [ "QuickScopeSecondary", "Pmenu" ], - - # css, scss - - [ "cssIdentifier", "NONE", color_secondary, "bold" ], - [ "cssClass", "NONE", color_secondary_weak, "NONE" ], - [ "cssFunction", "NONE", fg_strong1, "bold" ], - [ "cssProp", "NONE", fg_weak2, "NONE" ], - [ "scssVariable", "NONE", color_secondary_strong, "bold" ], - - [ "cssAttr", "String"], - [ "cssIdentifierAttr", "Noise" ], - [ "cssClassAttr", "cssIdentifierAttr" ], - [ "cssAttrNoise", "Noise" ], - [ "atKeyword", "PreProc" ], - [ "cssIdentifier", "cssIdentifier" ], - [ "cssClassName", "cssClass" ], - [ "cssClassNameDot", "cssClass" ], - [ "cssTagName", "htmlTagName" ], - [ "cssPseudoClassId", "cssClassName" ], - [ "cssKeyFrameSelector", "Label" ], - [ "cssFunctionName", "cssFunction" ], - [ "cssBraces", "Noise" ], - [ "cssUnitDecorators", "NONE", fg_strong2, "NONE" ], - [ "scssSelector", "cssClass" ], - [ "scssSelectorName", "scssSelector" ], - [ "scssSelectorChar", "cssIdentifier" ], - [ "scssFunctionName", "cssFunctionName" ], - [ "scssMixin", "keyword" ], - [ "scssMixinName", "cssFunction" ], - [ "scssampersand", "scssSelectorName" ], - [ "scssAtRoot", "atKeyword" ], - [ "vue_scss", "cssIdentifier" ], - - #html - - ["htmlTagName", "NONE", color_tertiary_weak, "NONE"], - ["htmlSpecialTagName", "NONE", color_tertiary, "bold"], - ["htmlLink", "NONE", fg_strong3, "italic,underline"], - - [ "htmlNormal", "Normal" ], - - [ "htmlTitle", "Title" ], - [ "htmlH1", "htmlTitle" ], - [ "htmlTag", "Noise" ], - [ "htmlEndTag", "htmlTag" ], - [ "htmlArg", "PreProc" ], - [ "htmlValue", "String" ], - [ "htmlSpecialChar", "Special" ], - [ "htmlPreStmt", "PreProc" ], - [ "htmlPreError", "Error" ], - [ "htmlPreProc", "PreProc" ], - [ "htmlPreAttr", "String" ], - [ "htmlPreProcAttrName", "PreProc" ], - [ "htmlPreProcAttrError", "Error" ], - [ "htmlSpecial", "Special" ], - [ "htmlSpecialChar", "Special" ], - [ "htmlString", "String" ], - [ "htmlStatement", "Statement" ], - [ "htmlComment", "Comment" ], - [ "htmlCommentPart", "Comment" ], - [ "htmlValue", "String" ], - [ "htmlCommentError", "htmlError" ], - [ "htmlTagError", "htmlError" ], - [ "htmlEvent", "javaScript" ], - [ "htmlError", "Error" ], - - [ "javaScript", "Special" ], - [ "javaScriptExpression", "javaScript" ], - [ "htmlCssStyleComment", "Comment" ], - [ "htmlCssDefinition", "Special" ], - - [ "htmlImgArg", "htmlArg" ], - [ "htmlSrcValue", "String" ], - [ "htmlSrcsetValue", "htmlSrcValue" ], - [ "htmlAltValue", "String" ], - [ "htmlDataArg", "htmlTagName" ], - [ "htmlDataValue", "Constant" ], - [ "htmlHrefArg", "htmlArg" ], - [ "htmlHrefValue", "htmlSrcValue" ], - - # vue - - [ "vueSpecial", "NONE", indigo7, "bold" ], - [ "vueTagSpecial", "NONE", indigo5, "bold" ], - [ "vueTagComponentName", "NONE", indigo3, "bold" ], - [ "vueDynamicComponent", "NONE", indigo1, "bold" ], - # [ "vueTag", "NONE", indigo3, "bold" ], - [ "vueSlotName", "Constant" ], - - [ "vueComponentName", "vueTagComponentName" ], - [ "vueTransitionComponent", "vueDynamicComponent" ], - [ "vueTransitionName", "vueSlotName" ], - [ "vueTransitionMode", "String" ], - [ "vueDirective", "Identifier" ], - [ "vueEvent", "Function" ], - [ "vueConditional", "vueSpecial" ], - [ "vueFor", "vueConditional" ], - [ "vueRef", "vueSpecial" ], - [ "vueSlot", "Noise" ], - - [ "vueDirectiveValue", "Type" ], - [ "vueEventValue", "vueDirectiveValue" ], - [ "vueConditionalValue", "vueDirectiveValue" ], - [ "vueForValue", "vueConditionalValue" ], - [ "vueRefValue", "Constant" ], - [ "vueSlotValue", "vueSlotName" ], - [ "vueObjectKey", "cssClass" ], - [ "vueObjectValue", "vueDirectiveValue" ], - [ "vueDirectiveClass", "Noise" ], - [ "vueMustache", "Type" ], - - # javascript - [ "jsFunctionKey", "Function" ], - [ "jsFuncCall", "NONE", red2, "bold" ], - [ "jsFuncCall", "Identifier" ], - [ "jsOperator", "Operator" ], - [ "jsVariableDef", "Identifier" ], - [ "jsGlobalObjects", "NONE", fg_strong2, "bold" ], - [ "jsGlobalNodeObjects", "jsGlobalObjects" ], - [ "jsExceptions", "jsGlobalObjects" ], - [ "jsBuiltins", "jsGlobalObjects" ], - [ "jsStorageClass", "Include" ], - [ "jsObjectKey", "NONE", red3, "NONE"], - [ "jsObjectProp", "Type" ], - [ "jsObjectValue", "NONE", color_primary_weak3, "NONE" ], - [ "jsModuleKeyword", "Type" ], - [ "jsOperatorKeyword", "Label" ], - [ "jsThis", "jsGlobalObjects" ], - [ "jsArrowFunction", "Function" ], - - # python - - [ "pythonBuiltin", "Type" ], - [ "pythonBuiltinObj", "Special" ], - [ "pythonDottedName", "Identifier" ], - [ "pythonBrackets", "Noise" ], - [ "pythonQuotes", "Noise" ], - [ "pythonDot", "Noise" ], - [ "pythonNoise", "Noise" ], - [ "pythonExtraOperator", "Operator" ], - [ "pythonDocString", "SpecialComment" ], - [ "pythonSelf", "NONE", fg_weak1, "bold" ], - - [ "JinjaVarBlock", "Noise" ], - [ "JinjaTagBlock", "JinjaVarBlock" ], - [ "jinjaSpecial", "NONE", magenta7, "NONE"], - [ "jinjaRaw", "NONE", magenta1, "NONE"], - [ "jinjaStatement", "NONE", magenta2, "NONE"], - [ "jinjaFilter", "NONE", magenta6, "bold"], - [ "jinjaBlockName", "NONE", magenta6, "bold"], - [ "jinjaVariable", "NONE", magenta3, "bold"], - [ "jinjaString", "String"], - [ "jinjaNumber", "Number"], - [ "jinjaOperator", "Noise"], - [ "jinjaComment", "Comment"], - - # sql - - [ "sqlOperator", "Operator" ], - - # vim - - [ "vimFoldMarker", "NONE", fg_weak1, "NONE"], - [ "vimMap", "Noise" ], - [ "vimAbb", "vimMap" ], - [ "VimCommand", "Statement" ], - [ "VimOption", "String" ], - [ "vimFunction", "Function" ], - [ "vimFuncKey", "Special" ], - [ "vimHighlight", "Noise" ], - [ "vimAuGroupKey", "Noise" ], - [ "vimGroupName", "Special" ], - [ "vimAutoCmd", "Noise" ], - [ "vimSynMtchGrp", "Type" ], - [ "vimSynContains", "Type" ], - [ "vimSynRegOpt", "Type" ], - [ "vimHiTerm", "Include" ], - [ "vimHiAttrib", "Number" ], - [ "VimIsCommand", "Type" ], - [ "vimNotation", "StorageClass" ], - [ "vimMapLhs", "Special" ], - [ "vimMapRhs", "Label" ], - [ "vimNotFunc", "Conditional" ], - [ "vimSep", "Noise" ], - [ "vimParenSep", "vimSep" ], - [ "vimContinue", "vimSep" ], - [ "vimBracket", "vimSep" ], - [ "vimOperParen", "Normal" ], - [ "vimUserFunc", "Identifier" ], - [ "vimFoldMarker", "Noise" ], - - # yaml - - ["yamlKeyValueDelimiter", "Noise" ], - ["yamlFowIndicator", "Noise" ], - - # config highlighting - - [ "confComment", "Comment" ], - - # markdown - ["markdownDelimiter", "NONE", fg_weak1, "bold"], - ["markdownHeadingDelimiter", "markdownDelimiter"], - ["markdownListMarker", "NONE", fg_strong3, "bold"], - ["markdownCodeDelimiter", "markdownDelimiter"], - ["markdownCode", "Type"], - ["markdownItalic", "NONE", fg_strong3, "italic"], - ["markdownItalicDelimiter", "markdownDelimiter"], - ["markdownBold", "NONE", fg_strong2, "bold"], - ["markdownBoldDelimiter", "markdownDelimiter"], - ["markdownIdDeclaration", "Conditional"], - ["markdownId", "markdownIdDeclaration"], - ["markdownLinkText", "NONE", fg_strong2, "underline"], - - # extra whitespace - - [ "ExtraWhitespace", bg_whitespace_error ,"NONE", "NONE" ], - - # php - - [ "phpRegion", "Normal" ], - [ "phpComparison", "Operator" ], - [ "phpMethod", "Function" ], - [ "phpParent", "Normal" ], - [ "phpMemberSelector", "StorageClass" ], - [ "phpVarSelector", "StorageClass" ], - - # quickfix - - [ "QuickfixLine", "NONE", ui_fg_strong2, "bold" ], - [ "qfLineNr", "NONE", ui_fg_weak2, "italic"], - [ "qfFilename", "NONE", ui_fg_strong1, "bold" ], - [ "qfSeparator", "Ignore" ], - [ "qfError", "ErrorMsg" ], - - # json - - [ "jsonKeyword", "Identifier" ], - [ "jsonValue", "String" ], - [ "jsonQuote", "Noise" ], - - # octobercms - [ "octobercmsSectionDelimiter", "Noise" ], - - # plugins - - [ "CocErrorSign", "ErrorMsg" ], - [ "CocWarningSign", "WarningMsg" ], - [ "CocInfoSign", "Question" ], - [ "CocHintSign", "Question" ], - [ "CocHighlightText", "IncSearch" ], - [ "CocUnderline", diff_delete_bg, fg_error, "NONE" ], - [ "LspErrorText", "ErrorMsg" ], - [ "LspWarningText", "WarningMsg" ], - [ "LspInformationText", "Question" ], - [ "LspHintText", "Question" ], - [ "ALEError", "CocUnderline" ], - [ "ALEErrorSign", "ErrorMsg" ], - [ "ALEErrorSign", "ErrorMsg" ], - - [ "mkdCodeStart", "Comment" ], - [ "mkdListItem", "Conditional" ], - - # ctrl-p highlighting - # :h ctrlp-customization - - [ "CtrlPPrtBase", ui_cursor_bg, ui_cursor_fg, "bold" ], - [ "CtrlPPrtText", ui_cursor_bg, ui_cursor_fg, "bold"], - [ "CtrlPMatch", "NONE", ui_fg_strong2, "bold"], - [ "CtrlPMode1", "NONE", ui_fg_strong3, "bold"], - [ "CtrlPMode2", "NONE", ui_fg_strong1, "NONE"], - [ "CtrlPNoEntries", "NONE", ui_fg_warning_strong, "bold" ], - [ "CtrlPBufferNr", "NONE", ui_fg_strong2, "bold" ], - [ "CtrlPBufferInd", "NONE", ui_fg_strong4, "bold" ], - [ "CtrlPBufferPath", "NONE", ui_fg_weak2, "NONE" ], - [ "CtrlPBufferHid", "NONE", ui_fg, "NONE" ], - [ "CtrlPBufferHidMod", "NONE", ui_fg_warning_weak, "NONE" ], - [ "CtrlPBufferVis", "Normal" ], - [ "CtrlPBufferVisMod", "NONE", ui_fg_warning, "NONE" ], - [ "CtrlPBufferCur", "NONE", ui_fg_strong3, "bold" ], - [ "CtrlPBufferCurMod", "NONE", ui_fg_warning_strong, "NONE" ], - - [ "CtrlPBufName", "NONE", ui_fg_strong2, "NONE" ], - [ "CtrlPTagKind", "NONE", ui_fg_strong3, "bold" ], - [ "CtrlPqfLineCol", "NONE", ui_fg_warning, "bold" ], - [ "CtrlPUndoT", "NONE", ui_fg_strong1, "NONE" ], - [ "CtrlPUndoBr", "NONE", ui_fg_weak1, "NONE" ], - [ "CtrlPUndoNr", "NONE", ui_fg_weak2, "NONE" ], - [ "CtrlPUndoSv", "NONE", ui_fg_warning, "NONE" ], - [ "CtrlPUndoPo", "NONE", ui_fg_strong3, "bold" ], - - # netrw - [ "netrwTreeBar", "Noise" ], - [ "netrwClassify", "Noise" ], - [ "netrwExe", "Identifier" ], - [ "netrwDir", "String" ], - [ "netrwPlain", "Statement" ], - [ "netrwHelpCmd", "Type" ], - [ "netrwCmdNote", "function" ], - [ "netrwQuickHelp", "netrwCmdNote" ], - [ "netrwCmdSep", "Noise" ], - [ "netrwVersion", "StorageClass" ], - [ "netrwList", "String" ], - [ "netrwHidePat", "Identifier" ], - - # i3config - [ "Variable", "Function" ], - - # to be implemented - - # "" #shell highlighting - # "{{{ - # "hi! def link shConditional shLoop - # "hi! def link shFunctionTwo mIdentifierBright - # "hi! def link shFunction mIdentifier - # "hi! def link shFunctionKey mStatement - # "hi! def link shCaseEsac mValue - # "hi! def link shCaseBar mNoise - # "hi! def link shEcho mNoiseBright - # "hi! def link bashSpecialVariables mSpecial - # "hi! def link shCmdSubRegion mNoiseBright - # "hi! def link shCommandSub mSpecialDark - # "hi! def link shEscape mNoise - # "hi! def link shTestOpr mNoise - # "hi! def link shSnglCase mNoise - # hi! def link shDerefSimple Type - # hi! def link shDerefVar shDerefSimple - # hi! def link shDerefOp Conditional - # hi! def link shDerefPattern shDerefOp - # hi! def link shCommandSub Type - # hi! def link shOption StorageClass - # ""}}} - - # "" vim-fugitive - # ""{{{ - # "hi! def link gitCommitBranch mValueDarkItalic - # "hi! def link gitCommitDiscarded mNoiseDark - # "hi! def link gitCommitComment mNoiseDark - # "hi! def link gitCommitOnBranch mNoise - # "hi! def link gitCommitWarning mInterfaceError - # "hi! def link gitCommitDiscardedType mNoise - # "hi! def link gitCommitSelectedType mNoise - # "hi! def link gitCommitSelectedFile mValueDarkerItalic - # "hi! def link gitCommitDiscardedFile mInterfaceWarning - # "hi! def link gitCommitUntrackedFile mStatementBright - # "hi! def link gitCommitNumber mInterfaceError - # "hi! def link gitCommitAhead gitCommitNumber - # "hi! def link gitCommitBehind gitCommitNumber - # ""}}} - - # "" #tagbar highlighting - # "" TagbarHighlight defined in vimrc as it gets overridden - # "" by plugin when defined in here - # "" hi! def link TagbarFoldIcon InterfaceNormal - # - # "" hi! def link TagbarHelp InterfaceHelp - # "" hi! def link TagbarHelpKey InterfaceHelpDark - # "" hi! def link TagbarHelpTitle InterfaceHelpBright - # - # "" hi! def link TagbarKind InterfaceH1 - # "" hi! def link TagbarNestedKind InterfaceH1 - # - # "" hi! def link TagbarScope InterfaceH1 - # "" hi! def link TagbarType InterfaceH1 - # "" hi! def link TagbarSignature InterfaceNormal - # "" hi! def link TagbarPseudoID InterfaceNormal - # "" hi! def link TagbarHighlight InterfaceCurrent - # - # "" hi! def link TagbarAccessPublic InterfaceH2 - # "" hi! def link TagbarAccessProtected InterfaceH2 - # "" hi! def link TagbarAccessPrivate InterfaceH2 - # - # "" hi! TagbarHighlight ctermfg=255 guifg=#eeeeee ctermbg=240 guibg=#585858 - - # "" #vimwiki highlighting - # "" hi VimwikiLink ctermfg=252 guifg=#d0d0d0 ctermbg=234 guibg=#1c1c1c - # "" hi! def link VimwikiHeaderChar CRNoiseDark - # "" hi VimwikiHeader1 ctermbg=242 guibg=#666666 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader2 ctermbg=238 guibg=#444444 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader3 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=255 guifg=#eeeeee - # "" hi VimwikiHeader4 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=251 guifg=#c6c6c6 - # "" hi VimwikiHeader5 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=246 guifg=#949494 - # "" hi VimwikiHeader6 ctermbg=236 guibg=#303030 guibg=#303030 ctermfg=244 guifg=#808080 - # "" hi VimwikiListTodo ctermbg=233 guibg=#121212 ctermfg=255 guifg=#eeeeee - - - ] - - # Step 4: generation - # - # From a separate shell: - # - # $ erb -T - bar.erb > bar.vim - # - # From Vim: - # - # :!erb -T - % > %:r.vim - - # These online resources can help you design your colorscheme: - # - # * http://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg - # the xterm palette - # * http://whatcolor.herokuapp.com/ - # play with hexadecimal colors right in the address bar (currently down) - # * http://color.hailpixel.com/ - # similar concept, fuzzier implementation - # * http://colourco.de/ - # similar concept, fancier implementation - # * http://www.colr.org/ - # extract a palette from an image - # * http://colores.manugarri.com/ - # search for 'word', get images and color palettes - # * http://www.colourlovers.com/palettes - # user-created palettes - # * http://www.perbang.dk/color+scheme/ - # a no-nonsense colorscheme generator - # * https://color.adobe.com/ - # Adobe's fancy colorscheme generator - # * http://paletton.com/ - # The classic 'Color Scheme Designer', rebranded - # * http://vrl.cs.brown.edu/color - # A very smart palette generator - # * https://cmcenroe.me/2018/04/03/colour-scheme.html - # "I Made My Own Colour Scheme and You Can Too!" - - # A few general advices: - # - # * The Windows console is limited to the 16 so-called "ANSI" colors but it has - # a few of them interverted which makes numbers impractical. Use color names - # instead of numbers: :help cterm-colors - # * The Windows console (yeah…) doesn't do italics, underlines or bolded text; - # it is limited to normal and reverse. Keep that in mind if you want - # your colorscheme to be usable in as many environments as possible by as many - # people as possible. - # * All of the terminal emulators in use these days allow their users to - # change the 16 so-called "ANSI" colors. It is also possible on some platforms - # to change some or all of the 256 colors in the xterm palette. Don't take - # anything for granted. - # * When used against a light background, strong colors work better than muted - # ones. Light or dark doesn't really matters. Also, it is harder to discriminate - # between two similar colors on a light background. - # * Both strong and muted colors work well against a dark background. It is also - # easier to work with similar colors, but dark colors don't work at all. - # * Use as many text samples as possible. String-heavy languages may look completely - # different than keyword-heavy ones. This can have an impact on the usability - # of your colorscheme. - # * Most terminal emulators and terminal multiplexers currently in use on unix-like - # systems support 256 colors but they almost always default to a '$TERM' that tells - # Vim otherwise. Your users will need to make sure their terminal emulator/multiplexer - # is correctly set up if they want to enjoy the best possible experience. - - # Many thanks to Barry Arthur (https://github.com/dahu) for the original idea. - - # You don't need to edit anything beyond this line. --%> -" <%= information[:name] %>.vim -- Vim color scheme. -" Author: <%= information[:author] %> (<%= information[:email] %>) -" Webpage: <%= information[:webpage] %> -" Description: <%= information[:description] %> - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "<%= information[:name] %>" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") -<% for highlight in highlights -%> -<% if highlight.length == 2 -%> - hi link <%= highlight[0] %> <%= highlight[1] %> -<% elsif highlight.length == 4 -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> -<% if highlight[0] == "Normal" -%> - set background=<%= information[:background] %> -<% end -%> -<% else -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][1] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][1] %> cterm=<%= highlight[3] %> guibg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][0] %> guifg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][0] %> gui=<%= highlight[3] %> guisp=<%= highlight[4].kind_of?(String) ? highlight[4] : highlight[4][0] %> -<% end -%> -<% end -%> -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 -<% for highlight in highlights -%> -<% if highlight.length == 2 -%> - hi link <%= highlight[0] %> <%= highlight[1] %> -<% else -%> - hi <%= highlight[0] %> ctermbg=<%= highlight[1].kind_of?(String) ? highlight[1] : highlight[1][2] %> ctermfg=<%= highlight[2].kind_of?(String) ? highlight[2] : highlight[2][2] %> cterm=<%= highlight[3] %> -<% if highlight[0] == "Normal" -%> - set background=<%= information[:background] %> -<% end -%> -<% end -%> -<% end -%> -endif - -let g:terminal_ansi_colors = <%= terminal_ansi_colors %> - -augroup cursorlinebg - au! - au InsertEnter * hi CursorLine ctermbg=<%= bg_cursorline_input[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_cursorline_input[0] %> guifg=NONE - au InsertLeave * hi CursorLine ctermbg=<%= bg_cursorline[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_cursorline[0] %> guifg=NONE -augroup END - - diff --git a/colors/monotonous-light.vim b/colors/monotonous-light.vim deleted file mode 100644 index 9cef498..0000000 --- a/colors/monotonous-light.vim +++ /dev/null @@ -1,755 +0,0 @@ -" monotonous-dark.vim -- Vim color scheme. -" Author: studiovx (studiovx@studiovx.co.uk) -" Webpage: -" Description: - -hi clear - -if exists("syntax_on") - syntax reset -endif - -let colors_name = "monotonous-dark" - -if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") - hi Normal ctermbg=234 ctermfg=243 cterm=NONE guibg=#ffffff guifg=#999999 gui=NONE - set background=dark - hi Special ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#6b5d5d gui=bold - hi NonText ctermbg=NONE ctermfg=237 cterm=NONE guibg=NONE guifg=#373030 gui=NONE - hi Tag ctermbg=124 ctermfg=NONE cterm=NONE guibg=#d1bab9 guifg=NONE gui=NONE - hi Identifier ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#967978 gui=NONE - hi Function ctermbg=NONE ctermfg=52 cterm=bold guibg=NONE guifg=#866b6b gui=bold - hi Type ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#b79392 gui=NONE - hi StorageClass ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#c4a6a5 gui=bold - hi link Structure StorageClass - hi link TypeDef StorageClass - hi Constant ctermbg=NONE ctermfg=232 cterm=italic guibg=NONE guifg=#555555 gui=italic - hi String ctermbg=NONE ctermfg=232 cterm=italic guibg=NONE guifg=#666666 gui=italic - hi link Character String - hi link Number String - hi link Boolean String - hi link Float String - hi Folded ctermbg=NONE ctermfg=232 cterm=bold guibg=NONE guifg=#666666 gui=bold - hi Statement ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#999999 gui=NONE - hi Conditional ctermbg=NONE ctermfg=232 cterm=bold guibg=NONE guifg=#666666 gui=bold - hi Repeat ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#777777 gui=bold - hi Label ctermbg=NONE ctermfg=240 cterm=bold guibg=NONE guifg=#888888 gui=bold - hi Operator ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#c4c4c4 gui=NONE - hi Keyword ctermbg=NONE ctermfg=240 cterm=bold guibg=NONE guifg=#888888 gui=bold - hi Exception ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#cab0af gui=bold - hi PreProc ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#cccccc gui=bold - hi Include ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#cccccc gui=NONE - hi Comment ctermbg=NONE ctermfg=244 cterm=bold,italic guibg=NONE guifg=#c4c4c4 gui=bold,italic - hi SpecialComment ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#888888 gui=italic - hi Todo ctermbg=NONE ctermfg=196 cterm=bold,italic guibg=NONE guifg=#aa0000 gui=bold,italic - hi Ignore ctermbg=NONE ctermfg=234 cterm=NONE guibg=NONE guifg=#ffffff gui=NONE - hi Conceal ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE - hi Error ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold - hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline guibg=NONE guifg=NONE gui=underline - hi StatusLine ctermbg=238 ctermfg=250 cterm=italic guibg=#dddddd guifg=#555555 gui=italic - hi StatusLineNC ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi TabLine ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi TabLineFill ctermbg=238 ctermfg=238 cterm=italic guibg=#dddddd guifg=#dddddd gui=italic - hi TabLineSel ctermbg=238 ctermfg=250 cterm=italic guibg=#dddddd guifg=#555555 gui=italic - hi VertSplit ctermbg=234 ctermfg=238 cterm=NONE guibg=#ffffff guifg=#dddddd gui=NONE - hi FoldColumn ctermbg=234 ctermfg=247 cterm=NONE guibg=#ffffff guifg=#cccccc gui=NONE - hi ColorColumn ctermbg=250 ctermfg=NONE cterm=NONE guibg=#f7f7f7 guifg=NONE gui=NONE - hi SignColumn ctermbg=234 ctermfg=250 cterm=NONE guibg=#ffffff guifg=#555555 gui=NONE - hi CursorLine ctermbg=250 ctermfg=NONE cterm=NONE guibg=#f7f7f7 guifg=NONE gui=NONE - hi Title ctermbg=NONE ctermfg=232 cterm=bold,italic guibg=NONE guifg=#555555 gui=bold,italic - hi LineNr ctermbg=234 ctermfg=247 cterm=NONE guibg=#ffffff guifg=#cccccc gui=NONE - hi CursorLineNr ctermbg=234 ctermfg=238 cterm=bold guibg=#ffffff guifg=#afafaf gui=bold - hi Pmenu ctermbg=238 ctermfg=243 cterm=NONE guibg=#dddddd guifg=#828282 gui=NONE - hi PmenuSbar ctermbg=238 ctermfg=238 cterm=NONE guibg=#dddddd guifg=#dddddd gui=NONE - hi PmenuSel ctermbg=238 ctermfg=250 cterm=bold guibg=#dddddd guifg=#555555 gui=bold - hi PmenuThumb ctermbg=243 ctermfg=243 cterm=NONE guibg=#828282 guifg=#828282 gui=NONE - hi SpecialKey ctermbg=NONE ctermfg=237 cterm=NONE guibg=NONE guifg=#373030 gui=NONE - hi DiffAdd ctermbg=22 ctermfg=NONE cterm=NONE guibg=#e0ece0 guifg=NONE gui=NONE - hi DiffChange ctermbg=17 ctermfg=NONE cterm=NONE guibg=#e0e0ec guifg=NONE gui=NONE - hi DiffDelete ctermbg=52 ctermfg=NONE cterm=NONE guibg=#ece0e0 guifg=NONE gui=NONE - hi DiffText ctermbg=17 ctermfg=21 cterm=NONE guibg=#e0e0ec guifg=#656a7c gui=NONE - hi IncSearch ctermbg=17 ctermfg=234 cterm=NONE guibg=#5a727c guifg=#ffffff gui=NONE - hi Search ctermbg=17 ctermfg=250 cterm=NONE guibg=#b7c3cd guifg=#555555 gui=NONE - hi Visual ctermbg=17 ctermfg=NONE cterm=NONE guibg=#ced8e0 guifg=NONE gui=NONE - hi VisualNOS ctermbg=52 ctermfg=NONE cterm=NONE guibg=#e0d4ce guifg=NONE gui=NONE - hi Directory ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#555555 gui=NONE - hi MatchParen ctermbg=NONE ctermfg=232 cterm=bold guibg=NONE guifg=#111111 gui=bold - hi SpellBad ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE guisp=#c74444 - hi SpellCap ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#a67038 gui=NONE guisp=#a67038 - hi SpellLocal ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038 - hi SpellRare ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE guisp=#a67038 - hi WildMenu ctermbg=238 ctermfg=255 cterm=bold guibg=#dddddd guifg=#444444 gui=bold - hi ErrorMsg ctermbg=NONE ctermfg=196 cterm=italic guibg=NONE guifg=#c74444 gui=italic - hi ModeMsg ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#444444 gui=italic - hi MoreMsg ctermbg=NONE ctermfg=255 cterm=italic guibg=NONE guifg=#444444 gui=italic - hi Question ctermbg=NONE ctermfg=247 cterm=italic guibg=NONE guifg=#797532 gui=italic - hi WarningMsg ctermbg=NONE ctermfg=166 cterm=italic guibg=NONE guifg=#a67038 gui=italic - hi Cursor ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CursorColumn ctermbg=250 ctermfg=NONE cterm=NONE guibg=#f7f7f7 guifg=NONE gui=NONE - hi EndOfBuffer ctermbg=234 ctermfg=234 cterm=NONE guibg=#ffffff guifg=#ffffff gui=NONE - hi Noise ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#8f8f8f gui=NONE - hi TabLineNum ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi TabLineNumSel ctermbg=238 ctermfg=244 cterm=italic guibg=#dddddd guifg=#707070 gui=italic - hi StatusLineNoise ctermbg=238 ctermfg=240 cterm=italic guibg=#dddddd guifg=#8f8f8f gui=italic - hi StatusLineNoiseActive ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi StatusLineBufferNr ctermbg=238 ctermfg=247 cterm=italic guibg=#dddddd guifg=#666666 gui=italic - hi StatusLineBufferNrActive ctermbg=238 ctermfg=250 cterm=italic guibg=#dddddd guifg=#555555 gui=italic - hi StatusLinePercent ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi StatusLinePercentActive ctermbg=238 ctermfg=247 cterm=italic guibg=#dddddd guifg=#666666 gui=italic - hi StatusLineLinecount ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi StatusLineLinecountActive ctermbg=238 ctermfg=244 cterm=italic guibg=#dddddd guifg=#707070 gui=italic - hi StatusLineDivActive ctermbg=243 ctermfg=243 cterm=NONE guibg=#828282 guifg=#828282 gui=NONE - hi StatusLineDivInput ctermbg=17 ctermfg=17 cterm=NONE guibg=#ced8e0 guifg=#ced8e0 gui=NONE - hi StatusLineDivMod ctermbg=124 ctermfg=124 cterm=NONE guibg=#655757 guifg=#655757 gui=NONE - hi StatusLineDivModActive ctermbg=124 ctermfg=124 cterm=NONE guibg=#916c6c guifg=#916c6c gui=NONE - hi StatusLineFileInfo ctermbg=NONE ctermfg=244 cterm=italic guibg=NONE guifg=#c4c4c4 gui=italic - hi StatusLineFile ctermbg=238 ctermfg=247 cterm=italic guibg=#dddddd guifg=#666666 gui=italic - hi StatusLineFileActive ctermbg=238 ctermfg=250 cterm=italic guibg=#dddddd guifg=#555555 gui=italic - hi StatusLineDir ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi StatusLineDirActive ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi StatusLineExt ctermbg=238 ctermfg=243 cterm=italic guibg=#dddddd guifg=#828282 gui=italic - hi StatusLineExtActive ctermbg=238 ctermfg=244 cterm=italic guibg=#dddddd guifg=#707070 gui=italic - hi StatusLineDot ctermbg=238 ctermfg=240 cterm=italic guibg=#dddddd guifg=#8f8f8f gui=italic - hi StatusLineDotActive ctermbg=238 ctermfg=240 cterm=italic guibg=#dddddd guifg=#8f8f8f gui=italic - hi StatusLineFileReadOnly ctermbg=238 ctermfg=124 cterm=italic guibg=#dddddd guifg=#725454 gui=italic - hi StatusLineFileReadOnlyActive ctermbg=NONE ctermfg=124 cterm=italic guibg=NONE guifg=#725454 gui=italic - hi StatusLineWarning ctermbg=238 ctermfg=244 cterm=italic guibg=#dddddd guifg=#707070 gui=italic - hi StatusLineWarningActive ctermbg=NONE ctermfg=124 cterm=italic guibg=NONE guifg=#725454 gui=italic - hi LinterDash ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#cccccc gui=NONE - hi LinterDashActive ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#c4c4c4 gui=NONE - hi LinterError ctermbg=NONE ctermfg=243 cterm=bold guibg=NONE guifg=#828282 gui=bold - hi LinterErrorActive ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#c74444 gui=bold - hi LinterErrorStyle ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#828282 gui=NONE - hi LinterErrorStyleActive ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#c74444 gui=NONE - hi LinterWarning ctermbg=NONE ctermfg=240 cterm=bold guibg=NONE guifg=#8f8f8f gui=bold - hi LinterWarningActive ctermbg=NONE ctermfg=166 cterm=bold guibg=NONE guifg=#a67038 gui=bold - hi LinterWarningStyle ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#8f8f8f gui=NONE - hi LinterWarningStyleActive ctermbg=NONE ctermfg=166 cterm=NONE guibg=NONE guifg=#a67038 gui=NONE - hi LinterInfo ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#cccccc gui=NONE - hi LinterInfoActive ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#797532 gui=NONE - hi GitGutterDelete ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi GitGutterChange ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#596171 gui=bold - hi GitGutterAdd ctermbg=NONE ctermfg=34 cterm=bold guibg=NONE guifg=#496349 gui=bold - hi GitGutterChangeDelete ctermbg=NONE ctermfg=126 cterm=bold guibg=NONE guifg=#5c4a5a gui=bold - hi link QuickScopePrimary IncSearch - hi link QuickScopeSecondary Pmenu - hi cssIdentifier ctermbg=NONE ctermfg=22 cterm=bold guibg=NONE guifg=#7a9678 gui=bold - hi cssClass ctermbg=NONE ctermfg=28 cterm=NONE guibg=NONE guifg=#85a786 gui=NONE - hi cssFunction ctermbg=NONE ctermfg=240 cterm=bold guibg=NONE guifg=#888888 gui=bold - hi cssProp ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#afafaf gui=NONE - hi scssVariable ctermbg=NONE ctermfg=22 cterm=bold guibg=NONE guifg=#6b866c gui=bold - hi link cssAttr String - hi link cssIdentifierAttr Noise - hi link cssClassAttr cssIdentifierAttr - hi link cssAttrNoise Noise - hi link atKeyword PreProc - hi link cssIdentifier cssIdentifier - hi link cssClassName cssClass - hi link cssClassNameDot cssClass - hi link cssTagName htmlTagName - hi link cssPseudoClassId cssClassName - hi link cssKeyFrameSelector Label - hi link cssFunctionName cssFunction - hi link cssBraces Noise - hi cssUnitDecorators ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#777777 gui=NONE - hi link scssSelector cssClass - hi link scssSelectorName scssSelector - hi link scssSelectorChar cssIdentifier - hi link scssFunctionName cssFunctionName - hi link scssMixin keyword - hi link scssMixinName cssFunction - hi link scssampersand scssSelectorName - hi link scssAtRoot atKeyword - hi link vue_scss cssIdentifier - hi htmlTagName ctermbg=NONE ctermfg=20 cterm=NONE guibg=NONE guifg=#898fcb gui=NONE - hi htmlSpecialTagName ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#7e84c6 gui=bold - hi htmlLink ctermbg=NONE ctermfg=232 cterm=italic,underline guibg=NONE guifg=#666666 gui=italic,underline - hi link htmlNormal Normal - hi link htmlTitle Title - hi link htmlH1 htmlTitle - hi link htmlTag Noise - hi link htmlEndTag htmlTag - hi link htmlArg PreProc - hi link htmlValue String - hi link htmlSpecialChar Special - hi link htmlPreStmt PreProc - hi link htmlPreError Error - hi link htmlPreProc PreProc - hi link htmlPreAttr String - hi link htmlPreProcAttrName PreProc - hi link htmlPreProcAttrError Error - hi link htmlSpecial Special - hi link htmlSpecialChar Special - hi link htmlString String - hi link htmlStatement Statement - hi link htmlComment Comment - hi link htmlCommentPart Comment - hi link htmlValue String - hi link htmlCommentError htmlError - hi link htmlTagError htmlError - hi link htmlEvent javaScript - hi link htmlError Error - hi link javaScript Special - hi link javaScriptExpression javaScript - hi link htmlCssStyleComment Comment - hi link htmlCssDefinition Special - hi link htmlImgArg htmlArg - hi link htmlSrcValue String - hi link htmlSrcsetValue htmlSrcValue - hi link htmlAltValue String - hi link htmlDataArg htmlTagName - hi link htmlDataValue Constant - hi link htmlHrefArg htmlArg - hi link htmlHrefValue htmlSrcValue - hi vueSpecial ctermbg=NONE ctermfg=17 cterm=bold guibg=NONE guifg=#6c6b86 gui=bold - hi vueTagSpecial ctermbg=NONE ctermfg=19 cterm=bold guibg=NONE guifg=#8685a7 gui=bold - hi vueTagComponentName ctermbg=NONE ctermfg=20 cterm=bold guibg=NONE guifg=#a6a5c4 gui=bold - hi vueDynamicComponent ctermbg=NONE ctermfg=21 cterm=bold guibg=NONE guifg=#beb9d1 gui=bold - hi link vueSlotName Constant - hi link vueComponentName vueTagComponentName - hi link vueTransitionComponent vueDynamicComponent - hi link vueTransitionName vueSlotName - hi link vueTransitionMode String - hi link vueDirective Identifier - hi link vueEvent Function - hi link vueConditional vueSpecial - hi link vueFor vueConditional - hi link vueRef vueSpecial - hi link vueSlot Noise - hi link vueDirectiveValue Type - hi link vueEventValue vueDirectiveValue - hi link vueConditionalValue vueDirectiveValue - hi link vueForValue vueConditionalValue - hi link vueRefValue Constant - hi link vueSlotValue vueSlotName - hi link vueObjectKey cssClass - hi link vueObjectValue vueDirectiveValue - hi link vueDirectiveClass Noise - hi link vueMustache Type - hi link jsFunctionKey Function - hi jsFuncCall ctermbg=NONE ctermfg=88 cterm=bold guibg=NONE guifg=#a78685 gui=bold - hi link jsFuncCall Identifier - hi link jsOperator Operator - hi link jsVariableDef Identifier - hi jsGlobalObjects ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#777777 gui=bold - hi link jsGlobalNodeObjects jsGlobalObjects - hi link jsExceptions jsGlobalObjects - hi link jsBuiltins jsGlobalObjects - hi link jsStorageClass Include - hi jsObjectKey ctermbg=NONE ctermfg=52 cterm=NONE guibg=NONE guifg=#967978 gui=NONE - hi link jsObjectProp Type - hi jsObjectValue ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#c4a6a5 gui=NONE - hi link jsModuleKeyword Type - hi link jsOperatorKeyword Label - hi link jsThis jsGlobalObjects - hi link jsArrowFunction Function - hi link pythonBuiltin Type - hi link pythonBuiltinObj Special - hi link pythonDottedName Identifier - hi link pythonBrackets Noise - hi link pythonQuotes Noise - hi link pythonDot Noise - hi link pythonNoise Noise - hi link pythonExtraOperator Operator - hi link pythonDocString SpecialComment - hi pythonSelf ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#cccccc gui=bold - hi link JinjaVarBlock Noise - hi link JinjaTagBlock JinjaVarBlock - hi jinjaSpecial ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#625166 gui=NONE - hi jinjaRaw ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#b99dc1 gui=NONE - hi jinjaStatement ctermbg=NONE ctermfg=164 cterm=NONE guibg=NONE guifg=#b294bb gui=NONE - hi jinjaFilter ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#725f77 gui=bold - hi jinjaBlockName ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#725f77 gui=bold - hi jinjaVariable ctermbg=NONE ctermfg=164 cterm=bold guibg=NONE guifg=#a287aa gui=bold - hi link jinjaString String - hi link jinjaNumber Number - hi link jinjaOperator Noise - hi link jinjaComment Comment - hi link sqlOperator Operator - hi vimFoldMarker ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#cccccc gui=NONE - hi link vimMap Noise - hi link vimAbb vimMap - hi link VimCommand Statement - hi link VimOption String - hi link vimFunction Function - hi link vimFuncKey Special - hi link vimHighlight Noise - hi link vimAuGroupKey Noise - hi link vimGroupName Special - hi link vimAutoCmd Noise - hi link vimSynMtchGrp Type - hi link vimSynContains Type - hi link vimSynRegOpt Type - hi link vimHiTerm Include - hi link vimHiAttrib Number - hi link VimIsCommand Type - hi link vimNotation StorageClass - hi link vimMapLhs Special - hi link vimMapRhs Label - hi link vimNotFunc Conditional - hi link vimSep Noise - hi link vimParenSep vimSep - hi link vimContinue vimSep - hi link vimBracket vimSep - hi link vimOperParen Normal - hi link vimUserFunc Identifier - hi link vimFoldMarker Noise - hi link yamlKeyValueDelimiter Noise - hi link yamlFowIndicator Noise - hi link confComment Comment - hi markdownDelimiter ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#cccccc gui=bold - hi link markdownHeadingDelimiter markdownDelimiter - hi markdownListMarker ctermbg=NONE ctermfg=232 cterm=bold guibg=NONE guifg=#666666 gui=bold - hi link markdownCodeDelimiter markdownDelimiter - hi link markdownCode Type - hi markdownItalic ctermbg=NONE ctermfg=232 cterm=italic guibg=NONE guifg=#666666 gui=italic - hi link markdownItalicDelimiter markdownDelimiter - hi markdownBold ctermbg=NONE ctermfg=238 cterm=bold guibg=NONE guifg=#777777 gui=bold - hi link markdownBoldDelimiter markdownDelimiter - hi link markdownIdDeclaration Conditional - hi link markdownId markdownIdDeclaration - hi markdownLinkText ctermbg=NONE ctermfg=238 cterm=underline guibg=NONE guifg=#777777 gui=underline - hi ExtraWhitespace ctermbg=196 ctermfg=NONE cterm=NONE guibg=#ccbbbb guifg=NONE gui=NONE - hi link phpRegion Normal - hi link phpComparison Operator - hi link phpMethod Function - hi link phpParent Normal - hi link phpMemberSelector StorageClass - hi link phpVarSelector StorageClass - hi QuickfixLine ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#666666 gui=bold - hi qfLineNr ctermbg=NONE ctermfg=240 cterm=italic guibg=NONE guifg=#8f8f8f gui=italic - hi qfFilename ctermbg=NONE ctermfg=244 cterm=bold guibg=NONE guifg=#707070 gui=bold - hi link qfSeparator Ignore - hi link qfError ErrorMsg - hi link jsonKeyword Identifier - hi link jsonValue String - hi link jsonQuote Noise - hi link octobercmsSectionDelimiter Noise - hi link CocErrorSign ErrorMsg - hi link CocWarningSign WarningMsg - hi link CocInfoSign Question - hi link CocHintSign Question - hi link CocHighlightText IncSearch - hi CocUnderline ctermbg=52 ctermfg=196 cterm=NONE guibg=#ece0e0 guifg=#c74444 gui=NONE - hi link LspErrorText ErrorMsg - hi link LspWarningText WarningMsg - hi link LspInformationText Question - hi link LspHintText Question - hi link ALEError CocUnderline - hi link ALEErrorSign ErrorMsg - hi link ALEErrorSign ErrorMsg - hi link mkdCodeStart Comment - hi link mkdListItem Conditional - hi CtrlPPrtBase ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CtrlPPrtText ctermbg=255 ctermfg=0 cterm=bold guibg=#eee4e4 guifg=#131313 gui=bold - hi CtrlPMatch ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#666666 gui=bold - hi CtrlPMode1 ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#555555 gui=bold - hi CtrlPMode2 ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#707070 gui=NONE - hi CtrlPNoEntries ctermbg=NONE ctermfg=196 cterm=bold guibg=NONE guifg=#916c6c gui=bold - hi CtrlPBufferNr ctermbg=NONE ctermfg=247 cterm=bold guibg=NONE guifg=#666666 gui=bold - hi CtrlPBufferInd ctermbg=NONE ctermfg=255 cterm=bold guibg=NONE guifg=#444444 gui=bold - hi CtrlPBufferPath ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#8f8f8f gui=NONE - hi CtrlPBufferHid ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#828282 gui=NONE - hi CtrlPBufferHidMod ctermbg=NONE ctermfg=88 cterm=NONE guibg=NONE guifg=#7b6a6a gui=NONE - hi link CtrlPBufferVis Normal - hi CtrlPBufferVisMod ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi CtrlPBufferCur ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#555555 gui=bold - hi CtrlPBufferCurMod ctermbg=NONE ctermfg=196 cterm=NONE guibg=NONE guifg=#916c6c gui=NONE - hi CtrlPBufName ctermbg=NONE ctermfg=247 cterm=NONE guibg=NONE guifg=#666666 gui=NONE - hi CtrlPTagKind ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#555555 gui=bold - hi CtrlPqfLineCol ctermbg=NONE ctermfg=124 cterm=bold guibg=NONE guifg=#725454 gui=bold - hi CtrlPUndoT ctermbg=NONE ctermfg=244 cterm=NONE guibg=NONE guifg=#707070 gui=NONE - hi CtrlPUndoBr ctermbg=NONE ctermfg=238 cterm=NONE guibg=NONE guifg=#999999 gui=NONE - hi CtrlPUndoNr ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#8f8f8f gui=NONE - hi CtrlPUndoSv ctermbg=NONE ctermfg=124 cterm=NONE guibg=NONE guifg=#725454 gui=NONE - hi CtrlPUndoPo ctermbg=NONE ctermfg=250 cterm=bold guibg=NONE guifg=#555555 gui=bold - hi link netrwTreeBar Noise - hi link netrwClassify Noise - hi link netrwExe Identifier - hi link netrwDir String - hi link netrwPlain Statement - hi link netrwHelpCmd Type - hi link netrwCmdNote function - hi link netrwQuickHelp netrwCmdNote - hi link netrwCmdSep Noise - hi link netrwVersion StorageClass - hi link netrwList String - hi link netrwHidePat Identifier - hi link Variable Function -elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 - set t_Co=16 - hi Normal ctermbg=black ctermfg=gray cterm=NONE - set background=dark - hi Special ctermbg=NONE ctermfg=darkred cterm=bold - hi NonText ctermbg=NONE ctermfg=darkred cterm=NONE - hi Tag ctermbg=red ctermfg=NONE cterm=NONE - hi Identifier ctermbg=NONE ctermfg=darkred cterm=NONE - hi Function ctermbg=NONE ctermfg=darkred cterm=bold - hi Type ctermbg=NONE ctermfg=red cterm=NONE - hi StorageClass ctermbg=NONE ctermfg=red cterm=bold - hi link Structure StorageClass - hi link TypeDef StorageClass - hi Constant ctermbg=NONE ctermfg=gray cterm=italic - hi String ctermbg=NONE ctermfg=gray cterm=italic - hi link Character String - hi link Number String - hi link Boolean String - hi link Float String - hi Folded ctermbg=NONE ctermfg=gray cterm=bold - hi Statement ctermbg=NONE ctermfg=gray cterm=NONE - hi Conditional ctermbg=NONE ctermfg=gray cterm=bold - hi Repeat ctermbg=NONE ctermfg=gray cterm=bold - hi Label ctermbg=NONE ctermfg=gray cterm=bold - hi Operator ctermbg=NONE ctermfg=darkgray cterm=NONE - hi Keyword ctermbg=NONE ctermfg=gray cterm=bold - hi Exception ctermbg=NONE ctermfg=red cterm=bold - hi PreProc ctermbg=NONE ctermfg=darkgray cterm=bold - hi Include ctermbg=NONE ctermfg=darkgray cterm=NONE - hi Comment ctermbg=NONE ctermfg=darkgray cterm=bold,italic - hi SpecialComment ctermbg=NONE ctermfg=gray cterm=italic - hi Todo ctermbg=NONE ctermfg=red cterm=bold,italic - hi Ignore ctermbg=NONE ctermfg=black cterm=NONE - hi Conceal ctermbg=NONE ctermfg=NONE cterm=NONE - hi Error ctermbg=NONE ctermfg=red cterm=bold - hi Underlined ctermbg=NONE ctermfg=NONE cterm=underline - hi StatusLine ctermbg=gray ctermfg=white cterm=italic - hi StatusLineNC ctermbg=gray ctermfg=gray cterm=italic - hi TabLine ctermbg=gray ctermfg=gray cterm=italic - hi TabLineFill ctermbg=gray ctermfg=gray cterm=italic - hi TabLineSel ctermbg=gray ctermfg=white cterm=italic - hi VertSplit ctermbg=black ctermfg=gray cterm=NONE - hi FoldColumn ctermbg=black ctermfg=darkgray cterm=NONE - hi ColorColumn ctermbg=white ctermfg=NONE cterm=NONE - hi SignColumn ctermbg=black ctermfg=white cterm=NONE - hi CursorLine ctermbg=white ctermfg=NONE cterm=NONE - hi Title ctermbg=NONE ctermfg=gray cterm=bold,italic - hi LineNr ctermbg=black ctermfg=darkgray cterm=NONE - hi CursorLineNr ctermbg=black ctermfg=gray cterm=bold - hi Pmenu ctermbg=gray ctermfg=gray cterm=NONE - hi PmenuSbar ctermbg=gray ctermfg=gray cterm=NONE - hi PmenuSel ctermbg=gray ctermfg=white cterm=bold - hi PmenuThumb ctermbg=gray ctermfg=gray cterm=NONE - hi SpecialKey ctermbg=NONE ctermfg=darkred cterm=NONE - hi DiffAdd ctermbg=darkgreen ctermfg=NONE cterm=NONE - hi DiffChange ctermbg=darkblue ctermfg=NONE cterm=NONE - hi DiffDelete ctermbg=darkred ctermfg=NONE cterm=NONE - hi DiffText ctermbg=darkblue ctermfg=white cterm=NONE - hi IncSearch ctermbg=darkblue ctermfg=black cterm=NONE - hi Search ctermbg=darkblue ctermfg=white cterm=NONE - hi Visual ctermbg=darkblue ctermfg=NONE cterm=NONE - hi VisualNOS ctermbg=darkred ctermfg=NONE cterm=NONE - hi Directory ctermbg=NONE ctermfg=white cterm=NONE - hi MatchParen ctermbg=NONE ctermfg=gray cterm=bold - hi SpellBad ctermbg=NONE ctermfg=red cterm=NONE - hi SpellCap ctermbg=NONE ctermfg=yellow cterm=NONE - hi SpellLocal ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi SpellRare ctermbg=NONE ctermfg=darkyellow cterm=NONE - hi WildMenu ctermbg=gray ctermfg=white cterm=bold - hi ErrorMsg ctermbg=NONE ctermfg=red cterm=italic - hi ModeMsg ctermbg=NONE ctermfg=white cterm=italic - hi MoreMsg ctermbg=NONE ctermfg=white cterm=italic - hi Question ctermbg=NONE ctermfg=darkgray cterm=italic - hi WarningMsg ctermbg=NONE ctermfg=yellow cterm=italic - hi Cursor ctermbg=white ctermfg=black cterm=bold - hi CursorColumn ctermbg=white ctermfg=NONE cterm=NONE - hi EndOfBuffer ctermbg=black ctermfg=black cterm=NONE - hi Noise ctermbg=NONE ctermfg=gray cterm=NONE - hi TabLineNum ctermbg=gray ctermfg=gray cterm=italic - hi TabLineNumSel ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineNoise ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineNoiseActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineBufferNr ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineBufferNrActive ctermbg=gray ctermfg=white cterm=italic - hi StatusLinePercent ctermbg=gray ctermfg=gray cterm=italic - hi StatusLinePercentActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineLinecount ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineLinecountActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineDivActive ctermbg=gray ctermfg=gray cterm=NONE - hi StatusLineDivInput ctermbg=darkblue ctermfg=darkblue cterm=NONE - hi StatusLineDivMod ctermbg=red ctermfg=red cterm=NONE - hi StatusLineDivModActive ctermbg=red ctermfg=red cterm=NONE - hi StatusLineFileInfo ctermbg=NONE ctermfg=darkgray cterm=italic - hi StatusLineFile ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineFileActive ctermbg=gray ctermfg=white cterm=italic - hi StatusLineDir ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineDirActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineExt ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineExtActive ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineDot ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineDotActive ctermbg=gray ctermfg=gray cterm=italic - hi StatusLineFileReadOnly ctermbg=gray ctermfg=red cterm=italic - hi StatusLineFileReadOnlyActive ctermbg=NONE ctermfg=red cterm=italic - hi StatusLineWarning ctermbg=gray ctermfg=darkgray cterm=italic - hi StatusLineWarningActive ctermbg=NONE ctermfg=red cterm=italic - hi LinterDash ctermbg=NONE ctermfg=darkgray cterm=NONE - hi LinterDashActive ctermbg=NONE ctermfg=darkgray cterm=NONE - hi LinterError ctermbg=NONE ctermfg=gray cterm=bold - hi LinterErrorActive ctermbg=NONE ctermfg=red cterm=bold - hi LinterErrorStyle ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterErrorStyleActive ctermbg=NONE ctermfg=red cterm=NONE - hi LinterWarning ctermbg=NONE ctermfg=gray cterm=bold - hi LinterWarningActive ctermbg=NONE ctermfg=yellow cterm=bold - hi LinterWarningStyle ctermbg=NONE ctermfg=gray cterm=NONE - hi LinterWarningStyleActive ctermbg=NONE ctermfg=yellow cterm=NONE - hi LinterInfo ctermbg=NONE ctermfg=darkgray cterm=NONE - hi LinterInfoActive ctermbg=NONE ctermfg=darkgray cterm=NONE - hi GitGutterDelete ctermbg=NONE ctermfg=red cterm=bold - hi GitGutterChange ctermbg=NONE ctermfg=blue cterm=bold - hi GitGutterAdd ctermbg=NONE ctermfg=green cterm=bold - hi GitGutterChangeDelete ctermbg=NONE ctermfg=magenta cterm=bold - hi link QuickScopePrimary IncSearch - hi link QuickScopeSecondary Pmenu - hi cssIdentifier ctermbg=NONE ctermfg=darkgreen cterm=bold - hi cssClass ctermbg=NONE ctermfg=darkgreen cterm=NONE - hi cssFunction ctermbg=NONE ctermfg=gray cterm=bold - hi cssProp ctermbg=NONE ctermfg=gray cterm=NONE - hi scssVariable ctermbg=NONE ctermfg=darkgreen cterm=bold - hi link cssAttr String - hi link cssIdentifierAttr Noise - hi link cssClassAttr cssIdentifierAttr - hi link cssAttrNoise Noise - hi link atKeyword PreProc - hi link cssIdentifier cssIdentifier - hi link cssClassName cssClass - hi link cssClassNameDot cssClass - hi link cssTagName htmlTagName - hi link cssPseudoClassId cssClassName - hi link cssKeyFrameSelector Label - hi link cssFunctionName cssFunction - hi link cssBraces Noise - hi cssUnitDecorators ctermbg=NONE ctermfg=gray cterm=NONE - hi link scssSelector cssClass - hi link scssSelectorName scssSelector - hi link scssSelectorChar cssIdentifier - hi link scssFunctionName cssFunctionName - hi link scssMixin keyword - hi link scssMixinName cssFunction - hi link scssampersand scssSelectorName - hi link scssAtRoot atKeyword - hi link vue_scss cssIdentifier - hi htmlTagName ctermbg=NONE ctermfg=blue cterm=NONE - hi htmlSpecialTagName ctermbg=NONE ctermfg=blue cterm=bold - hi htmlLink ctermbg=NONE ctermfg=gray cterm=italic,underline - hi link htmlNormal Normal - hi link htmlTitle Title - hi link htmlH1 htmlTitle - hi link htmlTag Noise - hi link htmlEndTag htmlTag - hi link htmlArg PreProc - hi link htmlValue String - hi link htmlSpecialChar Special - hi link htmlPreStmt PreProc - hi link htmlPreError Error - hi link htmlPreProc PreProc - hi link htmlPreAttr String - hi link htmlPreProcAttrName PreProc - hi link htmlPreProcAttrError Error - hi link htmlSpecial Special - hi link htmlSpecialChar Special - hi link htmlString String - hi link htmlStatement Statement - hi link htmlComment Comment - hi link htmlCommentPart Comment - hi link htmlValue String - hi link htmlCommentError htmlError - hi link htmlTagError htmlError - hi link htmlEvent javaScript - hi link htmlError Error - hi link javaScript Special - hi link javaScriptExpression javaScript - hi link htmlCssStyleComment Comment - hi link htmlCssDefinition Special - hi link htmlImgArg htmlArg - hi link htmlSrcValue String - hi link htmlSrcsetValue htmlSrcValue - hi link htmlAltValue String - hi link htmlDataArg htmlTagName - hi link htmlDataValue Constant - hi link htmlHrefArg htmlArg - hi link htmlHrefValue htmlSrcValue - hi vueSpecial ctermbg=NONE ctermfg=darkblue cterm=bold - hi vueTagSpecial ctermbg=NONE ctermfg=darkblue cterm=bold - hi vueTagComponentName ctermbg=NONE ctermfg=blue cterm=bold - hi vueDynamicComponent ctermbg=NONE ctermfg=blue cterm=bold - hi link vueSlotName Constant - hi link vueComponentName vueTagComponentName - hi link vueTransitionComponent vueDynamicComponent - hi link vueTransitionName vueSlotName - hi link vueTransitionMode String - hi link vueDirective Identifier - hi link vueEvent Function - hi link vueConditional vueSpecial - hi link vueFor vueConditional - hi link vueRef vueSpecial - hi link vueSlot Noise - hi link vueDirectiveValue Type - hi link vueEventValue vueDirectiveValue - hi link vueConditionalValue vueDirectiveValue - hi link vueForValue vueConditionalValue - hi link vueRefValue Constant - hi link vueSlotValue vueSlotName - hi link vueObjectKey cssClass - hi link vueObjectValue vueDirectiveValue - hi link vueDirectiveClass Noise - hi link vueMustache Type - hi link jsFunctionKey Function - hi jsFuncCall ctermbg=NONE ctermfg=darkred cterm=bold - hi link jsFuncCall Identifier - hi link jsOperator Operator - hi link jsVariableDef Identifier - hi jsGlobalObjects ctermbg=NONE ctermfg=gray cterm=bold - hi link jsGlobalNodeObjects jsGlobalObjects - hi link jsExceptions jsGlobalObjects - hi link jsBuiltins jsGlobalObjects - hi link jsStorageClass Include - hi jsObjectKey ctermbg=NONE ctermfg=darkred cterm=NONE - hi link jsObjectProp Type - hi jsObjectValue ctermbg=NONE ctermfg=red cterm=NONE - hi link jsModuleKeyword Type - hi link jsOperatorKeyword Label - hi link jsThis jsGlobalObjects - hi link jsArrowFunction Function - hi link pythonBuiltin Type - hi link pythonBuiltinObj Special - hi link pythonDottedName Identifier - hi link pythonBrackets Noise - hi link pythonQuotes Noise - hi link pythonDot Noise - hi link pythonNoise Noise - hi link pythonExtraOperator Operator - hi link pythonDocString SpecialComment - hi pythonSelf ctermbg=NONE ctermfg=darkgray cterm=bold - hi link JinjaVarBlock Noise - hi link JinjaTagBlock JinjaVarBlock - hi jinjaSpecial ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaRaw ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaStatement ctermbg=NONE ctermfg=magenta cterm=NONE - hi jinjaFilter ctermbg=NONE ctermfg=magenta cterm=bold - hi jinjaBlockName ctermbg=NONE ctermfg=magenta cterm=bold - hi jinjaVariable ctermbg=NONE ctermfg=magenta cterm=bold - hi link jinjaString String - hi link jinjaNumber Number - hi link jinjaOperator Noise - hi link jinjaComment Comment - hi link sqlOperator Operator - hi vimFoldMarker ctermbg=NONE ctermfg=darkgray cterm=NONE - hi link vimMap Noise - hi link vimAbb vimMap - hi link VimCommand Statement - hi link VimOption String - hi link vimFunction Function - hi link vimFuncKey Special - hi link vimHighlight Noise - hi link vimAuGroupKey Noise - hi link vimGroupName Special - hi link vimAutoCmd Noise - hi link vimSynMtchGrp Type - hi link vimSynContains Type - hi link vimSynRegOpt Type - hi link vimHiTerm Include - hi link vimHiAttrib Number - hi link VimIsCommand Type - hi link vimNotation StorageClass - hi link vimMapLhs Special - hi link vimMapRhs Label - hi link vimNotFunc Conditional - hi link vimSep Noise - hi link vimParenSep vimSep - hi link vimContinue vimSep - hi link vimBracket vimSep - hi link vimOperParen Normal - hi link vimUserFunc Identifier - hi link vimFoldMarker Noise - hi link yamlKeyValueDelimiter Noise - hi link yamlFowIndicator Noise - hi link confComment Comment - hi markdownDelimiter ctermbg=NONE ctermfg=darkgray cterm=bold - hi link markdownHeadingDelimiter markdownDelimiter - hi markdownListMarker ctermbg=NONE ctermfg=gray cterm=bold - hi link markdownCodeDelimiter markdownDelimiter - hi link markdownCode Type - hi markdownItalic ctermbg=NONE ctermfg=gray cterm=italic - hi link markdownItalicDelimiter markdownDelimiter - hi markdownBold ctermbg=NONE ctermfg=gray cterm=bold - hi link markdownBoldDelimiter markdownDelimiter - hi link markdownIdDeclaration Conditional - hi link markdownId markdownIdDeclaration - hi markdownLinkText ctermbg=NONE ctermfg=gray cterm=underline - hi ExtraWhitespace ctermbg=red ctermfg=NONE cterm=NONE - hi link phpRegion Normal - hi link phpComparison Operator - hi link phpMethod Function - hi link phpParent Normal - hi link phpMemberSelector StorageClass - hi link phpVarSelector StorageClass - hi QuickfixLine ctermbg=NONE ctermfg=darkgray cterm=bold - hi qfLineNr ctermbg=NONE ctermfg=gray cterm=italic - hi qfFilename ctermbg=NONE ctermfg=darkgray cterm=bold - hi link qfSeparator Ignore - hi link qfError ErrorMsg - hi link jsonKeyword Identifier - hi link jsonValue String - hi link jsonQuote Noise - hi link octobercmsSectionDelimiter Noise - hi link CocErrorSign ErrorMsg - hi link CocWarningSign WarningMsg - hi link CocInfoSign Question - hi link CocHintSign Question - hi link CocHighlightText IncSearch - hi CocUnderline ctermbg=darkred ctermfg=red cterm=NONE - hi link LspErrorText ErrorMsg - hi link LspWarningText WarningMsg - hi link LspInformationText Question - hi link LspHintText Question - hi link ALEError CocUnderline - hi link ALEErrorSign ErrorMsg - hi link ALEErrorSign ErrorMsg - hi link mkdCodeStart Comment - hi link mkdListItem Conditional - hi CtrlPPrtBase ctermbg=white ctermfg=black cterm=bold - hi CtrlPPrtText ctermbg=white ctermfg=black cterm=bold - hi CtrlPMatch ctermbg=NONE ctermfg=darkgray cterm=bold - hi CtrlPMode1 ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPMode2 ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPNoEntries ctermbg=NONE ctermfg=red cterm=bold - hi CtrlPBufferNr ctermbg=NONE ctermfg=darkgray cterm=bold - hi CtrlPBufferInd ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPBufferPath ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPBufferHid ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPBufferHidMod ctermbg=NONE ctermfg=darkred cterm=NONE - hi link CtrlPBufferVis Normal - hi CtrlPBufferVisMod ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPBufferCur ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPBufferCurMod ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPBufName ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPTagKind ctermbg=NONE ctermfg=white cterm=bold - hi CtrlPqfLineCol ctermbg=NONE ctermfg=red cterm=bold - hi CtrlPUndoT ctermbg=NONE ctermfg=darkgray cterm=NONE - hi CtrlPUndoBr ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPUndoNr ctermbg=NONE ctermfg=gray cterm=NONE - hi CtrlPUndoSv ctermbg=NONE ctermfg=red cterm=NONE - hi CtrlPUndoPo ctermbg=NONE ctermfg=white cterm=bold - hi link netrwTreeBar Noise - hi link netrwClassify Noise - hi link netrwExe Identifier - hi link netrwDir String - hi link netrwPlain Statement - hi link netrwHelpCmd Type - hi link netrwCmdNote function - hi link netrwQuickHelp netrwCmdNote - hi link netrwCmdSep Noise - hi link netrwVersion StorageClass - hi link netrwList String - hi link netrwHidePat Identifier - hi link Variable Function -endif - -let g:terminal_ansi_colors = ["#1f2121", "#c4c4c4", "#afafaf", "#999999", "#888888", "#777777", "#666666", "#555555", "#dddddd", "#d5d5a1", "#d0d095", "#c6c689", "#c3c67e", "#b4b473", "#a2a268", "#90905c"] - -augroup cursorlinebg - au! - au InsertEnter * hi CursorLine ctermbg=17 ctermfg=NONE cterm=NONE guibg=#e6e6e6 guifg=NONE - au InsertLeave * hi CursorLine ctermbg=250 ctermfg=NONE cterm=NONE guibg=#f7f7f7 guifg=NONE -augroup END - - diff --git a/ftplugin/css.vim b/ftplugin/css.vim deleted file mode 100644 index ea5af32..0000000 --- a/ftplugin/css.vim +++ /dev/null @@ -1 +0,0 @@ -set iskeyword+=- diff --git a/ftplugin/eruby.vim b/ftplugin/eruby.vim deleted file mode 100644 index 3211e37..0000000 --- a/ftplugin/eruby.vim +++ /dev/null @@ -1,2 +0,0 @@ -nnoremap :call ft#compileeruby#CompileEruby(0) -nnoremap :call ft#compileeruby#CompileEruby(1) diff --git a/ftplugin/fish.vim b/ftplugin/fish.vim deleted file mode 100644 index 0528a65..0000000 --- a/ftplugin/fish.vim +++ /dev/null @@ -1 +0,0 @@ -:compiler fish diff --git a/ftplugin/help.vim b/ftplugin/help.vim deleted file mode 100644 index 24dd22c..0000000 --- a/ftplugin/help.vim +++ /dev/null @@ -1 +0,0 @@ -setlocal keywordprg=:help diff --git a/ftplugin/javascript.vim b/ftplugin/javascript.vim deleted file mode 100644 index 88b6ebc..0000000 --- a/ftplugin/javascript.vim +++ /dev/null @@ -1 +0,0 @@ -set iskeyword+=$ diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim deleted file mode 100644 index e0810bd..0000000 --- a/ftplugin/markdown.vim +++ /dev/null @@ -1,18 +0,0 @@ -" markdown : jump to next heading -" https://gist.github.com/romainl/ac63e108c3d11084be62b3c04156c263 -function! s:JumpToNextHeading(direction, count) - let col = col(".") - - silent execute a:direction == "up" ? '?^#' : '/^#' - - if a:count > 1 - silent execute "normal! " . repeat("n", a:direction == "up" && col != 1 ? a:count : a:count - 1) - endif - - silent execute "normal! " . col . "|" - - unlet col -endfunction - -nnoremap ]] :call JumpToNextHeading("down", v:count1) -nnoremap [[ :call JumpToNextHeading("up", v:count1) diff --git a/ftplugin/octobercms.vim b/ftplugin/octobercms.vim deleted file mode 100644 index 6335705..0000000 --- a/ftplugin/octobercms.vim +++ /dev/null @@ -1,8 +0,0 @@ -function! StripSpecialM() abort - :%s/ $//e -endfunction - -augroup RemoveSpecialM - autocmd BufWritePre call StripSpecialM() -augroup END - diff --git a/ftplugin/php.vim b/ftplugin/php.vim deleted file mode 100644 index 88b6ebc..0000000 --- a/ftplugin/php.vim +++ /dev/null @@ -1 +0,0 @@ -set iskeyword+=$ diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim deleted file mode 100644 index 2313f49..0000000 --- a/ftplugin/ruby.vim +++ /dev/null @@ -1,2 +0,0 @@ -nnoremap :call SaveAndExecute('ruby') - diff --git a/ftplugin/sass.vim b/ftplugin/sass.vim deleted file mode 100644 index 88b6ebc..0000000 --- a/ftplugin/sass.vim +++ /dev/null @@ -1 +0,0 @@ -set iskeyword+=$ diff --git a/ftplugin/sh.vim b/ftplugin/sh.vim deleted file mode 100644 index 9a653ed..0000000 --- a/ftplugin/sh.vim +++ /dev/null @@ -1 +0,0 @@ -nnoremap :w !sh diff --git a/ftplugin/vim.vim b/ftplugin/vim.vim deleted file mode 100644 index 385d996..0000000 --- a/ftplugin/vim.vim +++ /dev/null @@ -1,4 +0,0 @@ -setlocal keywordprg=:help -setlocal iskeyword+=: - -nnoremap :w \| source % diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim deleted file mode 100644 index e34f6bb..0000000 --- a/ftplugin/vue.vim +++ /dev/null @@ -1,8 +0,0 @@ -set includeexpr=substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','') - -setlocal suffixesadd=.js,.vue,.scss -setlocal complete=.,w,b,u,i - -setlocal include=\\%(\\[^;\"']*\\)[\"']\\zs[^\"']* - -setlocal foldnestmax=3 diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add deleted file mode 100644 index 0e26d20..0000000 --- a/spell/en.utf-8.add +++ /dev/null @@ -1,82 +0,0 @@ -Giana -WooCommerce -MacFarley's -Callum -Connor -MacFarleys -Stantham -LLP -Pascutti -Heerlen -Lecadini -#efretina -Defretina's -Lecadina -Defretina/! -Defretini -Defretini's -Aanajse -Fotostudio -EUR -js -backend -Vue -pomodora -walkthrough -Overlearning -Einstellung -Coursera -CTA -lol -Adwords -shareability -B2B -salesy -Depeche -to's -posssible -OctoberCMS -Nuxt -CMS -Laravel -SVG -app -PHP -WordPress -CSS -minification -plugins -codebase -templating -Performant -blogging -SEO -namespaces -Lato -SPAs -API -Heroku -Dokku -jpg -plugin -Dockerised -OceanWP -Elementor -Addon -GDPR -iThemes -WP -iThemes -iThemes -Mailchimp -Mailchimp -MC4WP -UpdraftPlus -ecommerce -FastCGI -Nginx -offsite -Storefront -online -blog -currently diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl deleted file mode 100644 index 02534b3..0000000 Binary files a/spell/en.utf-8.add.spl and /dev/null differ diff --git a/syntax/cst.vim b/syntax/cst.vim deleted file mode 100644 index eb1efbe..0000000 --- a/syntax/cst.vim +++ /dev/null @@ -1,179 +0,0 @@ -" Vim syntax file -" Language: cst -" Maintainer: Thomas R. Kimpton -" URL: http://www.gooberdude.com/~tkimpton/vim/syntax/cst.vim -" Last Change: 5/14/2003 -" Remark: Used to test color schemes: edit your color scheme file, and -" to see what each color assignment does, set the color scheme to your color -" scheme then type the command ':setf cst'. As you continue to make changes -" save your changes, and switch to another color scheme and back to your own -" to see changes. - -" Quit when a syntax file was already loaded -if !exists("main_syntax") - if version < 600 - syntax clear - elseif exists("b:current_syntax") - finish - endif - " we define it here so that included files can test for it - let main_syntax='cst' -endif - -" don't use standard HiLink, it will not work with included syntax files -if version < 508 - command! -nargs=+ CSTHiLink hi link -else - command! -nargs=+ CSTHiLink hi def link -endif - -syntax case ignore - -" match definitions -syn match CSTSpecialKey /\/ -syn match CSTNonText /\/ -syn match CSTDirectory /\/ -syn match CSTErrorMsg /\/ -syn match CSTIncSearch /\/ -syn match CSTSearch /\/ -syn match CSTMoreMsg /\/ -syn match CSTModeMsg /\/ -syn match CSTLineNr /\/ -syn match CSTQuestion /\/ -syn match CSTStatusLineNC /\/ -syn match CSTStatusLine /\/ -syn match CSTVertSplit /\/ -syn match CSTTitle /\/ -syn match CSTVisualNOS /\/ -syn match CSTVisual /\/ -syn match CSTWarningMsg /\/ -syn match CSTWildMenu /\/ -syn match CSTFolded /\/ -syn match CSTFoldColumn /\/ -syn match CSTSignColumn /\/ -syn match CSTDiffAdd /\/ -syn match CSTDiffChange /\/ -syn match CSTDiffDelete /\/ -syn match CSTDiffText /\/ -syn match CSTCursor /\/ -syn match CSTComment /\/ -syn match CSTConstant /\/ -syn match CSTString /\/ -syn match CSTCharacter /\/ -syn match CSTNumber /\/ -syn match CSTBoolean /\/ -syn match CSTFloat /\/ -syn match CSTIdentifier /\/ -syn match CSTFunction /\/ -syn match CSTStatement /\/ -syn match CSTConditional /\/ -syn match CSTRepeat /\/ -syn match CSTLabel /\/ -syn match CSTOperator /\/ -syn match CSTKeyword /\/ -syn match CSTException /\/ -syn match CSTPreProc /\/ -syn match CSTInclude /\/ -syn match CSTDefine /\/ -syn match CSTMacro /\/ -syn match CSTPreCondit /\/ -syn match CSTType /\/ -syn match CSTStorageClass /\/ -syn match CSTStructure /\/ -syn match CSTTypeDef /\/ -syn match CSTSpecial /\/ -syn match CSTSpecialChar /\/ -syn match CSTTag /\/ -syn match CSTDelimiter /\/ -syn match CSTSpecialComment /\/ -syn match CSTDebug /\/ -syn match CSTUnderlined /\/ -syn match CSTIgnore /\/ -syn match CSTError /\/ -syn match CSTSpellBad /\/ -syn match CSTSpellCap /\/ -syn match CSTSpellLocal /\/ -syn match CSTSpellRare /\/ -syn match CSTTodo /\/ - -" The default highlighting. -if version >= 508 || !exists("did_CST_syn_inits") - if version < 508 - let did_CST_syn_inits = 1 - endif - CSTHiLink CSTSpecialKey SpecialKey - CSTHiLink CSTNonText NonText - CSTHiLink CSTDirectory Directory - CSTHiLink CSTErrorMsg ErrorMsg - CSTHiLink CSTIncSearch IncSearch - CSTHiLink CSTSearch Search - CSTHiLink CSTMoreMsg MoreMsg - CSTHiLink CSTModeMsg ModeMsg - CSTHiLink CSTLineNr LineNr - CSTHiLink CSTQuestion Question - CSTHiLink CSTStatusLineNC StatusLineNC - CSTHiLink CSTStatusLine StatusLine - CSTHiLink CSTVertSplit VertSplit - CSTHiLink CSTTitle Title - CSTHiLink CSTVisualNOS VisualNOS - CSTHiLink CSTVisual Visual - CSTHiLink CSTWarningMsg WarningMsg - CSTHiLink CSTWildMenu WildMenu - CSTHiLink CSTFolded Folded - CSTHiLink CSTFoldColumn FoldColumn - CSTHiLink CSTSignColumn SignColumn - CSTHiLink CSTDiffAdd DiffAdd - CSTHiLink CSTDiffChange DiffChange - CSTHiLink CSTDiffDelete DiffDelete - CSTHiLink CSTDiffText DiffText - CSTHiLink CSTCursor Cursor - CSTHiLink CSTComment Comment - CSTHiLink CSTConstant Constant - CSTHiLink CSTString String - CSTHiLink CSTCharacter Character - CSTHiLink CSTNumber Number - CSTHiLink CSTBoolean Boolean - CSTHiLink CSTFloat Float - CSTHiLink CSTIdentifier Identifier - CSTHiLink CSTFunction Function - CSTHiLink CSTStatement Statement - CSTHiLink CSTConditional Conditional - CSTHiLink CSTRepeat Repeat - CSTHiLink CSTLabel Label - CSTHiLink CSTOperator Operator - CSTHiLink CSTKeyword Keyword - CSTHiLink CSTException Exception - CSTHiLink CSTPreProc PreProc - CSTHiLink CSTInclude Include - CSTHiLink CSTDefine Define - CSTHiLink CSTMacro Macro - CSTHiLink CSTPreCondit PreCondit - CSTHiLink CSTType Type - CSTHiLink CSTStorageClass StorageClass - CSTHiLink CSTStructure Structure - CSTHiLink CSTTypedef Typedef - CSTHiLink CSTSpecial Special - CSTHiLink CSTSpecialChar SpecialChar - CSTHiLink CSTTag Tag - CSTHiLink CSTDelimiter Delimiter - CSTHiLink CSTSpecialComment SpecialComment - CSTHiLink CSTDebug Debug - CSTHiLink CSTUnderlined Underlined - CSTHiLink CSTIgnore Ignore - CSTHiLink CSTError Error - CSTHiLink CSTSpellBad SpellBad - CSTHiLink CSTSpellCap SpellCap - CSTHiLink CSTSpellLocal SpellLocal - CSTHiLink CSTSpellRare SpellRare - CSTHiLink CSTTodo Todo -endif - -delcommand CSTHiLink - -let b:current_syntax = "cst" - -if main_syntax == 'cst' - unlet main_syntax -endif - -" vim: set filetype=cst: diff --git a/syntax/octobercms.vim b/syntax/octobercms.vim deleted file mode 100644 index a2f1706..0000000 --- a/syntax/octobercms.vim +++ /dev/null @@ -1,18 +0,0 @@ -if exists("b:current_syntax") - finish -endif - -" changing order of following 4 lines breaks highlighting TODO - why? -syntax include @octoberPHP syntax/php.vim -unlet! b:current_syntax -syntax include @octoberConfig syntax/dosini.vim -runtime! syntax/jinja.vim - -syntax region octoberConfig start=@\%^\([a-zA-z]\+[a-zA-Z0-9]\+\s*=\s*\("\|'\)\)\|\[\s*[a-zA-Z0-9]\+\s*\]@ end=+^==$+me=e-2 contains=@octoberConfig -syntax region octoberPHP start=+^==$+ms=s+2 end=+^==$+me=e-2 contains=@octoberPHP - -" FIXME - why these no work! -" syntax match octobercmsSectionDelimiter "^==$" -" highlight link octobercmsSectionDelimiter Comment - -let b:current_syntax = "octobercms" diff --git a/vimrc b/vimrc index eea3c74..c11fdef 100644 --- a/vimrc +++ b/vimrc @@ -1,240 +1,3 @@ -" ● - -if &shell =~# 'fish$' - set shell=bash -endif - -" #plugins {{{ - -if has('nvim') - if empty(glob('~/.config/nvim/autoload/plug.vim'))"{{{ - silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs - \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - autocmd VimEnter * PlugInstall --sync | source $MYVIMRC - endif - "}}} - - call plug#begin('~/.vim/bundle') - source ~/.config/nvim/init.plugins.vim - " -else - if empty(glob('~/.vim/autoload/plug.vim'))"{{{ - silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs - \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - autocmd VimEnter * PlugInstall --sync | source $MYVIMRC - endif - "}}} - - call plug#begin('~/.config/nvim/bundle') - source ~/.config/vim/vimrc.plugins.vim -endif - -source ~/.config/vim/vimrc.plugins.shared -call plug#end() - -runtime macros/matchit.vim - - -"----------------------------------------------------------------------------}}} -" #functions {{{ - -function! MyFoldText() "{{{ - if !exists('g:foldtext_column') - let g:foldtext_column = 80 " column to right align foldtext with - endif - - if !exists('b:foldtext_column') - let b:foldtext_column = g:foldtext_column " column to right align foldtext with - endif - - if !exists('g:foldtext_maxcolumn') - let g:foldtext_maxcolumn = 120 - endif - - let l:linecount = v:foldend - v:foldstart - " don't display foldmarker braces - " put one of the braces in brackets so vim doesn't treat - " it as an actual fold marker - let l:line = substitute(getline(v:foldstart), '"\?{\({\){', '', '') - " don't display vim comment quotation marks - " TODO other comment markers - let l:line = substitute(l:line, "\^\"\\s\\?", '', '') - - " let l:postfix = l:linecount . ' ' . substitute(v:folddashes, '-', '•', 'g') - let l:postfix = l:linecount . ' ' . substitute(v:folddashes, '-', '↓', 'g') - while strchars(l:postfix) < 7 - let l:postfix = ' ' . l:postfix - endwhile - " let l:postfix = ' ↓ ' . l:postfix - - let l:len_line = len(l:line) - let l:len_postfix = strchars(l:postfix) - - if l:len_line + l:len_postfix <= b:foldtext_column - let l:padding = ' '[l:len_line + l:len_postfix + 0:b:foldtext_column - 1] - let l:foldtext = l:line . l:padding . l:postfix - else - let l:sniptext = ' ⋯' - let l:foldtext = l:line[:b:foldtext_column - 1 - strchars(l:sniptext) - l:len_postfix] . l:sniptext . l:postfix - endif - - return l:foldtext -endfunction - -"}}} -function! SynStack()"{{{ - if !exists('*synstack') - return - endif - echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")') '-> ' . synIDattr(synIDtrans(synID(line('.'),col('.'),1)), 'name' ) -endfunc -nmap pp :call SynStack() -"}}} - -function! s:RunShellCommand(cmdline) abort"{{{ -" Shell command -" http://vim.wikia.com/wiki/VimTip1599 - - let l:expanded_cmdline = a:cmdline - for l:part in split(a:cmdline, ' ') - if l:part[0] =~ '\v[%#<]' - let l:expanded_part = fnameescape(expand(l:part)) - let l:expanded_cmdline = substitute(l:expanded_cmdline, l:part, l:expanded_part, '') - endif - endfor - - if g:shell_scratch_buffer_nr > -1 - let l:win_nr = bufwinnr(g:shell_scratch_buffer_nr) - if l:win_nr < 0 - execute 'bdelete' g:shell_scratch_buffer_nr - top new - let g:shell_scratch_buffer_nr = bufnr('%') - else - execute l:win_nr. ' wincmd w' - setlocal modifiable - %delete _ - endif - else - top new - let g:shell_scratch_buffer_nr = bufnr('%') - endif - - setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile nowrap - nnoremap q :bdelete - augroup ResetShellBufferNr - autocmd! * - autocmd BufUnload let g:shell_scratch_buffer_nr = -1 - augroup END - - " call setline(1, 'You entered: ' . a:cmdline) - " call setline(2, 'Expanded Form: ' .l:expanded_cmdline) - " call setline(3,substitute(getline(2),'.','=','g')) - execute '$read !'. l:expanded_cmdline - 1 - - setlocal nomodifiable - if !exists('b:shell_line_count') - let b:shell_line_count = line('$') - if b:shell_line_count > 25 - let b:shell_line_count = 20 - endif - execute 'resize' b:shell_line_count + 1 - endif - - wincmd p -endfunction - -command! -complete=shellcmd -nargs=+ Shell call s:RunShellCommand() -let g:shell_scratch_buffer_nr = -1 - -"}}} -function! SaveAndExecute(ex_command) abort "{{{ -" https://stackoverflow.com/a/40195855 -" ex_command: command to run to execute file - " SOURCE [reusable window]: https://github.com/fatih/vim-go/blob/master/autoload/go/ui.vim - - " save and reload current file - silent execute 'update | edit' - - " get file path of current file - let s:current_buffer_file_path = expand('%') - - let s:output_buffer_name = 'Output' - let s:output_buffer_filetype = 'output' - - " reuse existing buffer window if it exists otherwise create a new one - if !exists('c:buf_nr') || !bufexists(s:buf_nr) || bufwinnr(s:buf_nr) == -1 - silent execute 'top new ' . s:output_buffer_name - let s:buf_nr = bufnr('%') - elseif bufwinnr(s:buf_nr) != bufwinnr('%') - silent execute bufwinnr(s:buf_nr) . 'wincmd w' - endif - - silent execute 'setlocal filetype=' . s:output_buffer_filetype - setlocal bufhidden=delete - setlocal buftype=nofile - setlocal noswapfile - setlocal nobuflisted - setlocal winfixheight - setlocal cursorline " make it easy to distinguish - " setlocal nonumber - " setlocal norelativenumber - setlocal showbreak="" - - nnoremap q :bdelete!'.zz - - " clear the buffer - setlocal noreadonly - " setlocal modifiable - %delete _ - - " add the console output - silent execute '.!'. a:ex_command . ' ' . shellescape(s:current_buffer_file_path, 1) - - " resize window to content length - " Note: This is annoying because if you print a lot of lines then your code buffer is forced to a height of one line every time you run this function. - " However without this line the buffer starts off as a default size and if you resize the buffer then it keeps that custom size after repeated runs of this function. - " But if you close the output buffer then it returns to using the default size when its recreated - "execute 'resize' . line('$') - - " make the buffer non modifiable - setlocal readonly - " setlocal nomodifiable -endfunction - -"}}} -function! JsIncludeExpr(file)"{{{ - " substitute(substitute(v:fname,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','') - return substitute(substitute(a:file,'^[\\~@]\/','./',''),'^[\\~@]','./node_modules/','') - -endfunction - -"}}} -function! Redir(cmd) "{{{ - for win in range(1, winnr('$')) - if getwinvar(win, 'scratch') - execute win . 'windo close' - endif - endfor - if a:cmd =~ '^!' - let output = system(matchstr(a:cmd, '^!\zs.*')) - else - redir => output - execute a:cmd - redir END - endif - vnew - let w:scratch = 1 - setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile - call setline(1, split(output, "\n")) -endfunction - -command! -nargs=1 -complete=command Redir silent call Redir() -" Usage: -" :Redir hi ............. show the full output of command ':hi' in a scratch window -" :Redir !ls -al ........ show the full output of command ':!ls -al' in a scratch window -"}}} -"----------------------------------------------------------------------------}}} "#commands{{{ " TrimWhitespace{{{ command! -range=% TrimWhitespace let b:wv = winsaveview() | @@ -252,24 +15,6 @@ scriptencoding utf-8 syntax on set fillchars=stl:\ ,stlnc:\ ,vert:\|,fold:\ -set guioptions-=mTrLb -set guioptions+=c - -if exists('+termguicolors') - let &t_8f = "\[38;2;%lu;%lu;%lum" - let &t_8b = "\[48;2;%lu;%lu;%lum" - set termguicolors -endif - -colorscheme monotonous-dark - -set updatetime=100 -set timeoutlen=500 -set lazyredraw - -" the ;/home/ray tells vim to stop searching at /home/ray -set tags+=./.tags,.tags,./tags-py,.tags-py;/home/ray/ - " persisitent undo file set undofile set undodir=~/.vim/.vimtmp @@ -290,6 +35,8 @@ if executable('ag') set grepprg=ag\ --nogroup\ --nocolor\ --ignore\ node_modules endif +colorscheme peachpuff + set hidden set hlsearch @@ -314,26 +61,16 @@ set textwidth=120 set formatoptions=cq set wrapmargin=0 -set cursorline - -set foldcolumn=2 -if has('patch-7-4-2201') - set signcolumn=yes -endif -set colorcolumn=80,120 +set nocursorline set iskeyword+=- -set scrolloff=10 set showcmd set incsearch set laststatus=2 set shortmess=aoOT -set cmdheight=3 set foldmethod=indent -set foldnestmax=3 -set foldlevelstart=2 set showmode @@ -350,15 +87,10 @@ set conceallevel=0 "----------------------------------------------------------------------------}}} " #mappings {{{ let g:mapleader = ' ' -" search and replace {{{ -nnoremap rr :%s/\<=expand('')\>//g -"}}} " #syntax nnoremap s :syntax on nnoremap S :syntax off " miscallaneous {{{ -nnoremap l :colorscheme monotonous-light -nnoremap d :colorscheme monotonous-dark nnoremap 0 ^ nnoremap cs :let @/="" nnoremap : :setlocal number: @@ -459,98 +191,6 @@ onoremap u t_ onoremap U f_ "}}} "----------------------------------------------------------------------------}}} -" #abbreviations {{{ - -" spelling"{{{ -iabbrev adn and -iabbrev waht what -iabbrev tehn then -iabbrev functin function -iabbrev positin position - -"}}} -" css{{{ -iabbrev pabs; position: absolute; -iabbrev pfix; position: fixed; -iabbrev prel; position: relative; -iabbrev fdr; flex-direction: row; -iabbrev fdc; flex-direction: column; -iabbrev jcc; justify-content: center; -iabbrev aic; align-items: center; -iabbrev t0; top: 0; -iabbrev b0; bottom: 0; -iabbrev l0; left: 0; -iabbrev r0; right: 0; - -iabbrev ct'' content-type: ''; - -"}}} - -"----------------------------------------------------------------------------}}} -" #autocommands {{{ - -" persistent folds {{{ - augroup AutoSaveFolds - autocmd! - autocmd BufWrite ?* mkview - autocmd BufRead ?* silent! loadview - augroup END - -" }}} -" Show trailing whitepace and spaces before a tab: {{{ - augroup whitespaceerrors - autocmd! - autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL - augroup END - -" }}} -" automatically reload if color scheme file written {{{ -" augroup coloreload -" autocmd! -" autocmd BufWritePost customred256.vim so $MYVIMRC -" augroup end -" - -" }}} -" line numbering {{{ -" if exists('##CmdlineEnter') -" augroup linenumbering -" autocmd! -" autocmd CmdlineEnter * :redraw | :set number -" autocmd CmdlineLeave * :set nonumber -" augroup END - " endif - -" }}} -" Automatically reload .vimrc if changed {{{ - augroup myvimrc - autocmd! - autocmd BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif - augroup END - -" }}} -" Open quickfix window{{{ - augroup QuickFixAutoload - autocmd! - autocmd QuickFixCmdPost [^l]* nested botright cwindow - autocmd QuickFixCmdPost l* nested botright lwindow - augroup END - -" }}} - -"----------------------------------------------------------------------------}}} -" #statusline {{{ - set statusline=\ - set statusline+=[%n]\ \ - set statusline+=%l\ of\ %L\ - set statusline+=(%p%%) - set statusline+=%= - set statusline+=%y\ - set statusline+=%r\ %m\ %F - set statusline+=\ - -"----------------------------------------------------------------------------}}} -runtime vimrc-overrides diff --git a/vimrc.plugins.shared b/vimrc.plugins.shared deleted file mode 100644 index f8a8fb1..0000000 --- a/vimrc.plugins.shared +++ /dev/null @@ -1,138 +0,0 @@ -" #Netrw {{{ - - let g:netrw_liststyle=3 - let g:netrw_list_hide='^\..*' - let g:netrw_preview = 1 - let g:netrw_winsize = 40 - " let g:netrw_browse_split = 4 - let g:netrw_altfile = 1 - let g:netrw_mousemaps = 0 - - nnoremap nn :call OpenNetrw() - " nnoremap ee :e . - " nnoremap eq :Rex - - function! OpenNetrw() abort "{{{ - Texplore - " setl rnu nu - endfunction - "}}} - - function! CloseNetrw(keep_buffer) abort "{{{ - if a:keep_buffer == 1 - let l:current_buffer = bufnr("%") - tabclose - tabprevious - if bufexists(l:current_buffer) > 0 - execute "buffer" l:current_buffer - endif - else - tabclose - tabprevious - endif - endfunction - "}}} - "}}} -" #Obsession{{{ - " fork of tpope/vim-obsession - Plug 'studio-vx/vim-obsession' - - "}}} -" #undotree {{{ - Plug 'mbbill/undotree' - nnoremap ut :UndotreeToggle - - "}}} -" #tcomment_vim{{{ - " https://github.com/tomtom/tcomment_vim - Plug 'tomtom/tcomment_vim' - -"}}} -" #vim-fzf {{{ -" https://github.com/junegunn/fzf.vim -if executable('fzf') && v:version >= 704 - Plug 'junegunn/fzf.vim' - - nnoremap fg :GFiles - nnoremap ff :Files - nnoremap fH :History - nnoremap ft :Tags - nnoremap fb :Buffers - nnoremap fh :Helptags - " nnoremap fa :Ag - " nnoremap fA :Ag! - - " Ag! gives fullscreen with preview - " command! -bang -nargs=* Ag - " \ call fzf#vim#ag(, - " \ 0 ? fzf#vim#with_preview('up:60%') - " \ : fzf#vim#with_preview('right:50%:hidden', '?'), - " \ 0) - " - " Similarly, we can apply it to fzf#vim#grep. To use ripgrep instead of ag: - command! -bang -nargs=* Rg - \ call fzf#vim#grep( - \ 'rg --column --line-number --no-heading --color=always --smart-case '.shellescape(), 1, - \ 0 ? fzf#vim#with_preview('up:60%') - \ : fzf#vim#with_preview('right:50%:hidden', '?'), - \ 0) - - " Files command with preview window - command! -bang -nargs=? -complete=dir Files - \ call fzf#vim#files(, fzf#vim#with_preview(), 0) - - let g:fzf_colors = - \ { 'fg': ['fg', 'Normal'], - \ 'bg': ['bg', 'Normal'], - \ 'hl': ['fg', 'Label'], - \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], - \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], - \ 'hl+': ['fg', 'WildMenu'], - \ 'info': ['fg', 'Comment'], - \ 'border': ['fg', 'Ignore'], - \ 'prompt': ['fg', 'Constant'], - \ 'pointer': ['fg', 'Special'], - \ 'marker': ['fg', 'Keyword'], - \ 'spinner': ['fg', 'Label'], - \ 'header': ['fg', 'Comment'] } -endif - -"}}} -" #polyglot{{{ - " https://github.com/sheerun/vim-polyglot - Plug 'sheerun/vim-polyglot' - - " vue options - let g:vue_disable_pre_processors=0 - " set custom syntax highlighting - augroup fixhighlighting - autocmd! - autocmd BufNewFile,BufRead *.vue syntax sync fromstart - augroup END -"}}} -" #vim-markdown{{{ -" https://github.com/plasticboy/vim-markdown -Plug 'plasticboy/vim-markdown' -let g:vim_markdown_toc_autofit = 1 -let g:vim_markdown_fenced_languages = ['bash=sh'] -"}}} -" #vim-repeat{{{ - " https://github.com/tpope/vim-repeat - Plug 'tpope/vim-repeat' - - "}}} -" #vim-rsi{{{ - "https://github.com/tpope/vim-rsi - Plug 'tpope/vim-rsi' - - "}}} -" #vim-surround{{{ - Plug 'tpope/vim-surround' - - "}}} -" #wakatime{{{ - " https://wakatime.com/vim - Plug 'wakatime/vim-wakatime' - - "}}} - diff --git a/vimrc.plugins.vim b/vimrc.plugins.vim deleted file mode 100644 index e69de29..0000000