diff options
Diffstat (limited to 'vim/.vim')
-rw-r--r-- | vim/.vim/after/ftplugin/nroff.vim | 7 | ||||
-rw-r--r-- | vim/.vim/after/syntax/nroff.vim | 249 | ||||
-rw-r--r-- | vim/.vim/colors/eink.vim | 189 | ||||
-rw-r--r-- | vim/.vim/colors/notepad++.vim | 101 | ||||
-rw-r--r-- | vim/.vim/colors/notepadC.vim | 49 | ||||
-rw-r--r-- | vim/.vim/colors/snow.vim | 430 | ||||
-rw-r--r-- | vim/.vim/colors/test.vim | 48 | ||||
-rw-r--r-- | vim/.vim/colors/typewriter-night.vim | 145 | ||||
-rw-r--r-- | vim/.vim/colors/typewriter.vim | 146 | ||||
-rw-r--r-- | vim/.vim/syntax/c.vim | 286 |
10 files changed, 1650 insertions, 0 deletions
diff --git a/vim/.vim/after/ftplugin/nroff.vim b/vim/.vim/after/ftplugin/nroff.vim index a8ae553..9ce0ada 100644 --- a/vim/.vim/after/ftplugin/nroff.vim +++ b/vim/.vim/after/ftplugin/nroff.vim @@ -2,3 +2,10 @@ set spell "autocmd BufWritePost * silent! !refer % | grap | pic | tbl | eqn | troff -dpaper=a4 -ms | grops -p a4 > %:r.ps "autocmd BufWritePost * silent! !cat % | n-eqn | n-roff -ms -mtbl | n-post > %:r.ps set tw=0 +set nowrap + +set tabstop=8 "A tab is 8 spaces +set expandtab "Always uses spaces instead of tabs +set softtabstop=4 "Insert 4 spaces when tab is pressed +set shiftwidth=4 "An indent is 4 spaces +set shiftround "Round indent to nearest shiftwidth multiple diff --git a/vim/.vim/after/syntax/nroff.vim b/vim/.vim/after/syntax/nroff.vim new file mode 100644 index 0000000..c1f8bde --- /dev/null +++ b/vim/.vim/after/syntax/nroff.vim @@ -0,0 +1,249 @@ +" VIM syntax file +" Language: nroff/groff +" Maintainer: Pedro Alejandro López-Valencia <palopezv@gmail.com> +" URL: http://vorbote.wordpress.com/ +" Last Change: 2012 Feb 2 +" +" {{{1 Acknowledgements +" +" ACKNOWLEDGEMENTS: +" +" My thanks to Jérôme Plût <Jerome.Plut@ens.fr>, who was the +" creator and maintainer of this syntax file for several years. +" May I be as good at it as he has been. +" +" {{{1 Todo +" +" TODO: +" +" * Write syntax highlighting files for the preprocessors, +" and integrate with nroff.vim. +" +" +" {{{1 Start syntax highlighting. +" +" quit when a syntax file was already loaded +" +if exists("b:current_syntax") + finish +endif + +let s:cpo_save = &cpo +set cpo&vim + +" +" {{{1 plugin settings... +" +" {{{2 enable spacing error highlighting +" +if exists("nroff_space_errors") + syn match nroffError /\s\+$/ + syn match nroffSpaceError /[.,:;!?]\s\{2,}/ +endif +" +" +" {{{1 Special file settings +" +" {{{2 ms exdented paragraphs are not in the default paragraphs list. +" +setlocal paragraphs+=XP +" +" {{{2 Activate navigation to preporcessor sections. +" +if exists("b:preprocs_as_sections") + setlocal sections=EQTSPS[\ G1GS +endif + +" {{{1 Escape sequences +" ------------------------------------------------------------ + +syn match nroffEscChar /\\[CN]/ nextgroup=nroffEscCharArg +syn match nroffEscape /\\[*fgmnYV]/ nextgroup=nroffEscRegPar,nroffEscRegArg +syn match nroffEscape /\\s[+-]\=/ nextgroup=nroffSize +syn match nroffEscape /\\[$AbDhlLRvxXZ]/ nextgroup=nroffEscPar,nroffEscArg + +syn match nroffEscRegArg /./ contained +syn match nroffEscRegArg2 /../ contained +syn match nroffEscRegPar /(/ contained nextgroup=nroffEscRegArg2 +syn match nroffEscArg /./ contained +syn match nroffEscArg2 /../ contained +syn match nroffEscPar /(/ contained nextgroup=nroffEscArg2 +syn match nroffSize /\((\d\)\=\d/ contained + +syn region nroffEscCharArg start=/'/ end=/'/ contained +syn region nroffEscArg start=/'/ end=/'/ contained contains=nroffEscape,@nroffSpecial + +if exists("b:nroff_is_groff") + syn region nroffEscRegArg matchgroup=nroffEscape start=/\[/ end=/\]/ contained oneline + syn region nroffSize matchgroup=nroffEscape start=/\[/ end=/\]/ contained +endif + +syn match nroffEscape /\\[adprtu{}]/ +syn match nroffEscape /\\$/ +syn match nroffEscape /\\\$[@*]/ + +" {{{1 Strings and special characters +" ------------------------------------------------------------ + +syn match nroffSpecialChar /\\[\\eE?!-]/ +syn match nroffSpace "\\[&%~|^0)/,]" +syn match nroffSpecialChar /\\(../ + +if exists("b:nroff_is_groff") + syn match nroffSpecialChar /\\\[[^]]*]/ + syn region nroffPreserve matchgroup=nroffSpecialChar start=/\\?/ end=/\\?/ oneline +endif + +syn region nroffPreserve matchgroup=nroffSpecialChar start=/\\!/ end=/$/ oneline + +syn cluster nroffSpecial contains=nroffSpecialChar,nroffSpace + + +syn region nroffString start=/"/ end=/"/ skip=/\\$/ contains=nroffEscape,@nroffSpecial contained +syn region nroffString start=/'/ end=/'/ skip=/\\$/ contains=nroffEscape,@nroffSpecial contained + + +" {{{1 Numbers and units +" ------------------------------------------------------------ +syn match nroffNumBlock /[0-9.]\a\=/ contained contains=nroffNumber +syn match nroffNumber /\d\+\(\.\d*\)\=/ contained nextgroup=nroffUnit,nroffBadChar +syn match nroffNumber /\.\d\+)/ contained nextgroup=nroffUnit,nroffBadChar +syn match nroffBadChar /./ contained +syn match nroffUnit /[icpPszmnvMu]/ contained + + +" {{{1 Requests +" ------------------------------------------------------------ + +" Requests begin with . or ' at the beginning of a line, or +" after .if or .ie. + +syn match nroffReqLeader /^[.']/ nextgroup=nroffReqName skipwhite +syn match nroffReqLeader /[.']/ contained nextgroup=nroffReqName skipwhite + +if exists("b:nroff_is_groff") +" +" GNU troff allows long request names +" + syn match nroffReqName /[^\t \\\[?]\+/ contained nextgroup=nroffReqArg +else + syn match nroffReqName /[^\t \\\[?]\{1,2}/ contained nextgroup=nroffReqArg +endif + +syn region nroffReqArg start=/\S/ skip=/\\$/ end=/$/ contained contains=nroffEscape,@nroffSpecial,nroffString,nroffError,nroffSpaceError,nroffNumBlock,nroffComment + +" {{{2 Conditional: .if .ie .el +syn match nroffReqName /\(if\|ie\)/ contained nextgroup=nroffCond skipwhite +syn match nroffReqName /el/ contained nextgroup=nroffReqLeader skipwhite +syn match nroffCond /\S\+/ contained nextgroup=nroffReqLeader skipwhite + +" {{{2 String definition: .ds .as +syn match nroffReqname /[da]s/ contained nextgroup=nroffDefIdent skipwhite +syn match nroffDefIdent /\S\+/ contained nextgroup=nroffDefinition skipwhite +syn region nroffDefinition matchgroup=nroffSpecialChar start=/"/ matchgroup=NONE end=/\\"/me=e-2 skip=/\\$/ start=/\S/ end=/$/ contained contains=nroffDefSpecial +syn match nroffDefSpecial /\\$/ contained +syn match nroffDefSpecial /\\\((.\)\=./ contained + +if exists("b:nroff_is_groff") + syn match nroffDefSpecial /\\\[[^]]*]/ contained +endif + +" {{{2 Macro definition: .de .am, also diversion: .di +syn match nroffReqName /\(d[ei]\|am\)/ contained nextgroup=nroffIdent skipwhite +syn match nroffIdent /[^[?( \t]\+/ contained +if exists("b:nroff_is_groff") + syn match nroffReqName /als/ contained nextgroup=nroffIdent skipwhite +endif + +" {{{2 Register definition: .rn .rr +syn match nroffReqName /[rn]r/ contained nextgroup=nroffIdent skipwhite +if exists("b:nroff_is_groff") + syn match nroffReqName /\(rnn\|aln\)/ contained nextgroup=nroffIdent skipwhite +endif + + +" {{{1 eqn/tbl/pic +" ------------------------------------------------------------ +" <jp> +" XXX: write proper syntax highlight for eqn / tbl / pic ? +" <jp /> + +syn region nroffEquation start=/^\.\s*EQ\>/ end=/^\.\s*EN\>/ fold +syn region nroffTable start=/^\.\s*TS\>/ end=/^\.\s*TE\>/ fold +syn region nroffPicture start=/^\.\s*PS\>/ end=/^\.\s*PE\>/ fold +syn region nroffRefer start=/^\.\s*\[\>/ end=/^\.\s*\]\>/ fold +syn region nroffGrap start=/^\.\s*G1\>/ end=/^\.\s*G2\>/ fold +syn region nroffGremlin start=/^\.\s*GS\>/ end=/^\.\s*GE|GF\>/ fold + +" {{{1 Comments +" ------------------------------------------------------------ + +syn region nroffIgnore start=/^[.']\s*ig/ end=/^['.]\s*\./ +syn match nroffComment /\(^[.']\s*\)\=\\".*/ contains=nroffTodo +syn match nroffComment /^'''.*/ contains=nroffTodo + +if exists("b:nroff_is_groff") + syn match nroffComment "\\#.*$" contains=nroffTodo +endif + +syn keyword nroffTodo TODO XXX FIXME contained + +" {{{1 Hilighting +" ------------------------------------------------------------ +" + +" +" Define the default highlighting. +" Only when an item doesn't have highlighting yet +" + +hi def link nroffEscChar nroffSpecialChar +hi def link nroffEscCharAr nroffSpecialChar +hi def link nroffSpecialChar SpecialChar +hi def link nroffSpace Delimiter + +hi def link nroffEscRegArg2 nroffEscRegArg +hi def link nroffEscRegArg nroffIdent + +hi def link nroffEscArg2 nroffEscArg +hi def link nroffEscPar nroffEscape + +hi def link nroffEscRegPar nroffEscape +hi def link nroffEscArg nroffEscape +hi def link nroffSize nroffEscape +hi def link nroffEscape Preproc + +hi def link nroffIgnore Comment +hi def link nroffComment Comment +hi def link nroffTodo Todo + +hi def link nroffReqLeader nroffRequest +hi def link nroffReqName nroffRequest +hi def link nroffRequest Statement +hi def link nroffCond PreCondit +hi def link nroffDefIdent nroffIdent +hi def link nroffIdent Identifier + +hi def link nroffEquation PreProc +hi def link nroffTable PreProc +hi def link nroffPicture PreProc +hi def link nroffRefer PreProc +hi def link nroffGrap PreProc +hi def link nroffGremlin PreProc + +hi def link nroffNumber Number +hi def link nroffBadChar nroffError +hi def link nroffSpaceError nroffError +hi def link nroffError Error + +hi def link nroffPreserve String +hi def link nroffString String +hi def link nroffDefinition String +hi def link nroffDefSpecial Special + + +let b:current_syntax = "nroff" + +let &cpo = s:cpo_save +unlet s:cpo_save +" vim600: set fdm=marker fdl=2: diff --git a/vim/.vim/colors/eink.vim b/vim/.vim/colors/eink.vim new file mode 100644 index 0000000..6cea411 --- /dev/null +++ b/vim/.vim/colors/eink.vim @@ -0,0 +1,189 @@ +" vim:sw=8:ts=8 +" +" act like t_Co=0 but use (256) color on just a few things +" + +hi clear +if exists("syntax_on") + syntax reset +endif + +let colors_name = "eink" + +if !has('gui_running') + if &background == "light" + hi Normal cterm=NONE ctermbg=white ctermfg=235 + hi SpecialKey cterm=bold ctermfg=NONE + hi IncSearch cterm=reverse ctermfg=NONE + hi Search cterm=reverse ctermfg=NONE + hi MoreMsg cterm=bold ctermfg=NONE + hi ModeMsg cterm=bold ctermfg=NONE + hi LineNr cterm=NONE ctermfg=235 + hi StatusLine cterm=bold,reverse ctermfg=NONE + hi StatusLineNC cterm=reverse ctermfg=NONE + hi VertSplit cterm=reverse ctermfg=NONE + hi Title cterm=bold ctermfg=NONE + hi Visual cterm=reverse ctermfg=NONE + hi VisualNOS cterm=bold ctermfg=NONE + hi WarningMsg cterm=standout ctermfg=NONE + hi WildMenu cterm=standout ctermfg=NONE + hi Folded cterm=standout ctermfg=NONE + hi FoldColumn cterm=standout ctermfg=NONE + hi DiffAdd cterm=bold ctermfg=NONE + hi DiffChange cterm=bold ctermfg=NONE + hi DiffDelete cterm=bold ctermfg=NONE + hi DiffText cterm=reverse ctermfg=NONE + hi Type cterm=None ctermbg=NONE ctermfg=NONE + hi Keyword cterm=None ctermbg=NONE ctermfg=NONE + hi Number cterm=None ctermbg=NONE ctermfg=NONE + hi Char cterm=None ctermbg=NONE ctermfg=NONE + hi Format cterm=None ctermbg=NONE ctermfg=NONE + hi Special cterm=underline ctermbg=NONE ctermfg=NONE + hi Constant cterm=None ctermbg=NONE ctermfg=NONE + hi PreProc cterm=None ctermfg=NONE + hi Directive cterm=NONE ctermbg=NONE ctermfg=NONE + hi Conditional cterm=NONE ctermbg=NONE ctermfg=NONE + hi Comment cterm=bold ctermbg=NONE ctermfg=240 + hi Func cterm=None ctermbg=234 ctermfg=250 + hi Identifier cterm=NONE ctermbg=NONE ctermfg=NONE + hi Statement cterm=NONE ctermbg=NONE ctermfg=NONE + hi Ignore cterm=bold ctermfg=NONE + hi String term=underline ctermfg=NONE + hi ErrorMsg cterm=reverse ctermbg=15 ctermfg=9 + hi Error cterm=reverse ctermbg=15 ctermfg=9 + hi Todo cterm=bold,standout ctermbg=0 ctermfg=11 + hi MatchParen cterm=bold ctermbg=250 ctermfg=NONE + hi ColorColumn ctermbg=255 + else + hi Normal cterm=NONE ctermbg=234 ctermfg=250 + hi SpecialKey cterm=bold ctermfg=NONE + hi IncSearch cterm=reverse ctermfg=NONE + hi Search cterm=reverse ctermfg=NONE + hi MoreMsg cterm=bold ctermfg=NONE + hi ModeMsg cterm=bold ctermfg=NONE + hi LineNr cterm=NONE ctermfg=238 + hi StatusLine cterm=bold,reverse ctermfg=NONE + hi StatusLineNC cterm=reverse ctermfg=NONE + hi VertSplit cterm=reverse ctermfg=NONE + hi Title cterm=bold ctermfg=NONE + hi Visual cterm=reverse ctermfg=NONE + hi VisualNOS cterm=bold ctermfg=NONE + hi WarningMsg cterm=standout ctermfg=NONE + hi WildMenu cterm=standout ctermfg=NONE + hi Folded cterm=standout ctermfg=NONE + hi FoldColumn cterm=standout ctermfg=NONE + hi DiffAdd cterm=bold ctermfg=NONE + hi DiffChange cterm=bold ctermfg=NONE + hi DiffDelete cterm=bold ctermfg=NONE + hi DiffText cterm=reverse ctermfg=NONE + hi Type cterm=None ctermbg=NONE ctermfg=NONE + hi Keyword cterm=None ctermbg=NONE ctermfg=NONE + hi Number cterm=None ctermbg=NONE ctermfg=NONE + hi Char cterm=None ctermbg=NONE ctermfg=NONE + hi Format cterm=None ctermbg=NONE ctermfg=NONE + hi Special cterm=underline ctermbg=NONE ctermfg=NONE + hi Constant cterm=None ctermbg=NONE ctermfg=NONE + hi PreProc cterm=None ctermfg=NONE + hi Directive cterm=NONE ctermbg=NONE ctermfg=NONE + hi Conditional cterm=NONE ctermbg=NONE ctermfg=NONE + hi Comment cterm=NONE ctermbg=NONE ctermfg=245 + hi Func cterm=None ctermbg=234 ctermfg=250 + hi Identifier cterm=NONE ctermbg=NONE ctermfg=NONE + hi Statement cterm=NONE ctermbg=NONE ctermfg=NONE + hi Ignore cterm=bold ctermfg=NONE + hi String cterm=underline ctermfg=NONE + hi ErrorMsg cterm=reverse ctermbg=15 ctermfg=9 + hi Error cterm=reverse ctermbg=15 ctermfg=9 + hi Todo cterm=bold,standout ctermbg=0 ctermfg=11 + hi MatchParen cterm=bold ctermbg=250 ctermfg=NONE + hi ColorColumn ctermbg=255 + endif +else + if &background == "light" + hi Normal gui=NONE guibg=snow1 guifg=gray11 + hi SpecialKey gui=bold guifg=NONE + hi IncSearch gui=reverse guifg=NONE + hi Search gui=reverse guifg=NONE + hi MoreMsg gui=bold guifg=NONE + hi ModeMsg gui=bold guifg=NONE + hi LineNr gui=NONE guifg=gray60 + hi StatusLine gui=bold,reverse guifg=NONE + hi StatusLineNC gui=reverse guifg=NONE + hi VertSplit gui=reverse guifg=NONE + hi Title gui=bold guifg=NONE + hi Visual gui=reverse guifg=NONE + hi VisualNOS gui=bold guifg=NONE + hi WarningMsg gui=standout guifg=NONE + hi WildMenu gui=standout guifg=NONE + hi Folded gui=standout guifg=NONE + hi FoldColumn gui=standout guifg=NONE + hi DiffAdd gui=bold guifg=NONE + hi DiffChange gui=bold guifg=NONE + hi DiffDelete gui=bold guifg=NONE + hi DiffText gui=reverse guifg=NONE + hi Type gui=None guibg=NONE guifg=NONE + hi Keyword gui=None guibg=NONE guifg=NONE + hi Number gui=None guibg=NONE guifg=NONE + hi Char gui=None guibg=NONE guifg=NONE + hi Format gui=None guibg=NONE guifg=NONE + hi Special gui=underline guibg=NONE guifg=NONE + hi Constant gui=None guibg=NONE guifg=NONE + hi PreProc gui=None guifg=NONE + hi Directive gui=NONE guibg=NONE guifg=NONE + hi Conditional gui=NONE guibg=NONE guifg=NONE + hi Comment gui=bold guibg=NONE guifg=gray17 + hi Func gui=None guibg=NONE guifg=gray17 + hi Identifier gui=NONE guibg=NONE guifg=NONE + hi Statement gui=NONE guibg=NONE guifg=NONE + hi Ignore gui=bold guifg=NONE + hi String term=italic guifg=NONE + hi ErrorMsg gui=reverse guibg=NONE guifg=firebrick3 + hi Error gui=reverse guibg=NONE guifg=firebrick3 + hi Todo gui=bold,standout guibg=NONE guifg=darkgoldenrod2 + hi MatchParen gui=bold guibg=gray70 guifg=NONE + hi ColorColumn guifg=gray60 + else + hi Normal gui=NONE guibg=#1d1f21 guifg=gray70 + hi SpecialKey gui=bold guifg=NONE + hi IncSearch gui=reverse guifg=NONE + hi Search gui=reverse guifg=NONE + hi MoreMsg gui=bold guifg=NONE + hi ModeMsg gui=bold guifg=NONE + hi LineNr gui=NONE guifg=gray30 + hi StatusLine gui=bold,reverse guifg=NONE + hi StatusLineNC gui=reverse guifg=NONE + hi VertSplit gui=reverse guifg=NONE + hi Title gui=bold guifg=NONE + hi Visual gui=reverse guifg=NONE + hi VisualNOS gui=bold guifg=NONE + hi WarningMsg gui=standout guifg=NONE + hi WildMenu gui=standout guifg=NONE + hi Folded gui=standout guifg=NONE + hi FoldColumn gui=standout guifg=NONE + hi DiffAdd gui=bold guifg=NONE + hi DiffChange gui=bold guifg=NONE + hi DiffDelete gui=bold guifg=NONE + hi DiffText gui=reverse guifg=NONE + hi Type gui=None guibg=NONE guifg=NONE + hi Keyword gui=None guibg=NONE guifg=NONE + hi Number gui=None guibg=NONE guifg=NONE + hi Char gui=None guibg=NONE guifg=NONE + hi Format gui=None guibg=NONE guifg=NONE + hi Special gui=underline guibg=NONE guifg=NONE + hi Constant gui=None guibg=NONE guifg=NONE + hi PreProc gui=None guifg=NONE + hi Directive gui=NONE guibg=NONE guifg=NONE + hi Conditional gui=NONE guibg=NONE guifg=NONE + hi Comment gui=NONE guibg=NONE guifg=gray50 + hi Func gui=None guibg=NONE guifg=gray50 + hi Identifier gui=NONE guibg=NONE guifg=NONE + hi Statement gui=NONE guibg=NONE guifg=NONE + hi Ignore gui=bold guifg=NONE + hi String gui=italic guifg=NONE + hi ErrorMsg gui=reverse guibg=NONE guifg=firebrick3 + hi Error gui=reverse guibg=NONE guifg=firebrick3 + hi Todo gui=bold,standout guibg=NONE guifg=darkgoldenrod2 + hi MatchParen gui=bold guibg=gray45 guifg=NONE + hi ColorColumn guibg=gray10 + endif +endif diff --git a/vim/.vim/colors/notepad++.vim b/vim/.vim/colors/notepad++.vim new file mode 100644 index 0000000..c28d18d --- /dev/null +++ b/vim/.vim/colors/notepad++.vim @@ -0,0 +1,101 @@ +" Vim color file - notepad-plus-plus +" Generated by http://bytefluent.com/vivify 2014-07-30 +set background=light +if version > 580 + hi clear + if exists("syntax_on") + syntax reset + endif +endif + +set t_Co=256 +let g:colors_name = "notepad-plus-plus" + +hi IncSearch guifg=#192224 guibg=#BD9800 guisp=#BD9800 gui=NONE ctermfg=235 ctermbg=1 cterm=NONE +hi WildMenu guifg=NONE guibg=#A1A6A8 guisp=#A1A6A8 gui=NONE ctermfg=NONE ctermbg=248 cterm=NONE +hi SignColumn guifg=#192224 guibg=#536991 guisp=#536991 gui=NONE ctermfg=235 ctermbg=60 cterm=NONE +hi SpecialComment guifg=#BD9800 guibg=NONE guisp=NONE gui=NONE ctermfg=1 ctermbg=NONE cterm=NONE +hi Typedef guifg=#536991 guibg=NONE guisp=NONE gui=bold ctermfg=60 ctermbg=NONE cterm=bold +hi Title guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=bold ctermfg=189 ctermbg=235 cterm=bold +hi Folded guifg=#192224 guibg=#A1A6A8 guisp=#A1A6A8 gui=italic ctermfg=235 ctermbg=248 cterm=NONE +hi PreCondit guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi Include guifg=#BD9800 guibg=NONE guisp=NONE gui=NONE ctermfg=1 ctermbg=NONE cterm=NONE +hi TabLineSel guifg=#192224 guibg=#BD9800 guisp=#BD9800 gui=bold ctermfg=235 ctermbg=1 cterm=bold +hi StatusLineNC guifg=#192224 guibg=#5E6C70 guisp=#5E6C70 gui=bold ctermfg=235 ctermbg=66 cterm=bold +"hi CTagsMember -- no settings -- +hi NonText guifg=#5E6C70 guibg=NONE guisp=NONE gui=italic ctermfg=66 ctermbg=NONE cterm=NONE +"hi CTagsGlobalConstant -- no settings -- +hi DiffText guifg=NONE guibg=#492224 guisp=#492224 gui=NONE ctermfg=NONE ctermbg=52 cterm=NONE +hi ErrorMsg guifg=#A1A6A8 guibg=#912C00 guisp=#912C00 gui=NONE ctermfg=248 ctermbg=88 cterm=NONE +"hi Ignore -- no settings -- +hi Debug guifg=#BD9800 guibg=NONE guisp=NONE gui=NONE ctermfg=1 ctermbg=NONE cterm=NONE +hi PMenuSbar guifg=NONE guibg=#848688 guisp=#848688 gui=NONE ctermfg=NONE ctermbg=102 cterm=NONE +hi Identifier guifg=#000080 guibg=#fefcf5 guisp=#fefcf5 gui=NONE ctermfg=18 ctermbg=230 cterm=NONE +hi SpecialChar guifg=#BD9800 guibg=NONE guisp=NONE gui=NONE ctermfg=1 ctermbg=NONE cterm=NONE +hi Conditional guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi StorageClass guifg=#536991 guibg=NONE guisp=NONE gui=bold ctermfg=60 ctermbg=NONE cterm=bold +hi Todo guifg=#F9F9FF guibg=#BD9800 guisp=#BD9800 gui=NONE ctermfg=189 ctermbg=1 cterm=NONE +hi Special guifg=#8000ff guibg=#fefcf5 guisp=#fefcf5 gui=NONE ctermfg=93 ctermbg=230 cterm=NONE +hi LineNr guifg=#808080 guibg=#e4e4e4 guisp=#e4e4e4 gui=NONE ctermfg=8 ctermbg=254 cterm=NONE +hi StatusLine guifg=#192224 guibg=#BD9800 guisp=#BD9800 gui=bold ctermfg=235 ctermbg=1 cterm=bold +hi Normal guifg=#000000 guibg=#fefcf5 guisp=#fefcf5 gui=NONE ctermfg=NONE ctermbg=230 cterm=NONE +hi Label guifg=#BD9800 guibg=NONE guisp=NONE gui=bold ctermfg=1 ctermbg=NONE cterm=bold +"hi CTagsImport -- no settings -- +hi PMenuSel guifg=#192224 guibg=#BD9800 guisp=#BD9800 gui=NONE ctermfg=235 ctermbg=1 cterm=NONE +hi Search guifg=#192224 guibg=#BD9800 guisp=#BD9800 gui=NONE ctermfg=235 ctermbg=1 cterm=NONE +"hi CTagsGlobalVariable -- no settings -- +hi Delimiter guifg=#8000ff guibg=#fefcf5 guisp=#fefcf5 gui=NONE ctermfg=1 ctermbg=NONE cterm=NONE +hi Statement guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi SpellRare guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline +"hi EnumerationValue -- no settings -- +hi Comment guifg=#008000 guibg=#fefcf5 guisp=#fefcf5 gui=NONE ctermfg=2 ctermbg=230 cterm=NONE +hi Character guifg=#A1A6A8 guibg=NONE guisp=NONE gui=NONE ctermfg=248 ctermbg=NONE cterm=NONE +hi Float guifg=#A1A6A8 guibg=NONE guisp=NONE gui=NONE ctermfg=248 ctermbg=NONE cterm=NONE +hi Number guifg=#ff8000 guibg=#fefcf5 guisp=#fefcf5 gui=NONE ctermfg=208 ctermbg=230 cterm=NONE +hi Boolean guifg=#A1A6A8 guibg=NONE guisp=NONE gui=NONE ctermfg=248 ctermbg=NONE cterm=NONE +hi Operator guifg=#000080 guibg=#fefcf5 guisp=#fefcf5 gui=NONE ctermfg=18 ctermbg=230 cterm=NONE +hi CursorLine guifg=NONE guibg=#222E30 guisp=#222E30 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE +"hi Union -- no settings -- +hi TabLineFill guifg=#192224 guibg=#5E6C70 guisp=#5E6C70 gui=bold ctermfg=235 ctermbg=66 cterm=bold +"hi Question -- no settings -- +hi WarningMsg guifg=#A1A6A8 guibg=#912C00 guisp=#912C00 gui=NONE ctermfg=248 ctermbg=88 cterm=NONE +hi VisualNOS guifg=#192224 guibg=#F9F9FF guisp=#F9F9FF gui=underline ctermfg=235 ctermbg=189 cterm=underline +hi DiffDelete guifg=NONE guibg=#192224 guisp=#192224 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE +hi ModeMsg guifg=#F9F9F9 guibg=#192224 guisp=#192224 gui=bold ctermfg=15 ctermbg=235 cterm=bold +hi CursorColumn guifg=NONE guibg=#222E30 guisp=#222E30 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE +hi Define guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi Function guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi FoldColumn guifg=#192224 guibg=#A1A6A8 guisp=#A1A6A8 gui=italic ctermfg=235 ctermbg=248 cterm=NONE +hi PreProc guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +"hi EnumerationName -- no settings -- +hi Visual guifg=#192224 guibg=#F9F9FF guisp=#F9F9FF gui=NONE ctermfg=235 ctermbg=189 cterm=NONE +hi MoreMsg guifg=#BD9800 guibg=NONE guisp=NONE gui=bold ctermfg=1 ctermbg=NONE cterm=bold +hi SpellCap guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline +hi VertSplit guifg=#192224 guibg=#5E6C70 guisp=#5E6C70 gui=bold ctermfg=235 ctermbg=66 cterm=bold +hi Exception guifg=#BD9800 guibg=NONE guisp=NONE gui=bold ctermfg=1 ctermbg=NONE cterm=bold +hi Keyword guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi Type guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi DiffChange guifg=NONE guibg=#492224 guisp=#492224 gui=NONE ctermfg=NONE ctermbg=52 cterm=NONE +hi Cursor guifg=#192224 guibg=#bd9800 guisp=#F9F9F9 gui=NONE ctermfg=235 ctermbg=15 cterm=NONE +hi SpellLocal guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline +hi Error guifg=#A1A6A8 guibg=#912C00 guisp=#912C00 gui=NONE ctermfg=248 ctermbg=88 cterm=NONE +hi PMenu guifg=#192224 guibg=#5E6C70 guisp=#5E6C70 gui=NONE ctermfg=235 ctermbg=66 cterm=NONE +hi SpecialKey guifg=#5E6C70 guibg=NONE guisp=NONE gui=italic ctermfg=66 ctermbg=NONE cterm=NONE +hi Constant guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +"hi DefinedName -- no settings -- +hi Tag guifg=#BD9800 guibg=NONE guisp=NONE gui=NONE ctermfg=1 ctermbg=NONE cterm=NONE +hi String guifg=#808080 guibg=#fefcf5 guisp=#fefcf5 gui=NONE ctermfg=8 ctermbg=230 cterm=NONE +hi PMenuThumb guifg=NONE guibg=#a4a6a8 guisp=#a4a6a8 gui=NONE ctermfg=NONE ctermbg=248 cterm=NONE +hi MatchParen guifg=#BD9800 guibg=NONE guisp=NONE gui=bold ctermfg=1 ctermbg=NONE cterm=bold +"hi LocalVariable -- no settings -- +hi Repeat guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi SpellBad guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline +"hi CTagsClass -- no settings -- +hi Directory guifg=#536991 guibg=NONE guisp=NONE gui=bold ctermfg=60 ctermbg=NONE cterm=bold +hi Structure guifg=#0000ff guibg=#fefcf5 guisp=#fefcf5 gui=bold ctermfg=21 ctermbg=230 cterm=bold +hi Macro guifg=#BD9800 guibg=NONE guisp=NONE gui=NONE ctermfg=1 ctermbg=NONE cterm=NONE +hi Underlined guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline +hi DiffAdd guifg=NONE guibg=#193224 guisp=#193224 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE +hi TabLine guifg=#192224 guibg=#5E6C70 guisp=#5E6C70 gui=bold ctermfg=235 ctermbg=66 cterm=bold +hi cursorim guifg=#192224 guibg=#536991 guisp=#536991 gui=NONE ctermfg=235 ctermbg=60 cterm=NONE +"hi clear -- no settings -- diff --git a/vim/.vim/colors/notepadC.vim b/vim/.vim/colors/notepadC.vim new file mode 100644 index 0000000..0e434e0 --- /dev/null +++ b/vim/.vim/colors/notepadC.vim @@ -0,0 +1,49 @@ +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif + + +highlight cPreprocessor guifg=#804000 +highlight link cInclude cPreprocessor +highlight link cDefine cPreprocessor +highlight link cIncluded cPreprocessor + +highlight cNumber guifg=#FF8000 +highlight link cNumbers cNumber + +highlight cConditional guifg=#0000FF +highlight cType guifg=#8001FF +highlight link cStructure cType +highlight cStruct guibg=#00FF00 + +highlight cComment guifg=#008000 + +highlight cString guifg=#808080 +highlight link cCharacter cString + +highlight Delimiter guifg=#000080 guibg=NONE +"highlight Delimiter guifg=#FF0000 guibg=NONE +highlight link cOperator Delimiter +highlight link cConstant Delimiter +highlight link cParen Delimiter +highlight link cErrInParen cParen +highlight MatchParen guifg=#FF0000 guibg=NONE + +highlight link cRepeat cConditional +highlight link cStatement cConditional +highlight cFunction guifg=NONE +highlight link cUserFunction cFunction +highlight link cAnsiName cFunction +highlight link cErrInBracket cBracket + +highlight CursorLineNr guibg=#E4E4E4 guifg=#808080 +highlight CursorLine guibg=#e8e8ff +highlight LineNr guibg=#E4E4E4 guifg=#808080 +highlight SpecialKey guifg=#C0C0C0 +highlight Search guibg=#C0C0C0 +"highlight CoursorLine guibg=#ff0000 guifg=#00FF00 +"number bar e4e4e4 +"numbers 808080 +" diff --git a/vim/.vim/colors/snow.vim b/vim/.vim/colors/snow.vim new file mode 100644 index 0000000..f17e6c5 --- /dev/null +++ b/vim/.vim/colors/snow.vim @@ -0,0 +1,430 @@ +" Name: snow +" Author: nightsense +" Maintainer: nightsense +" License: MIT + +if !(has('termguicolors') && &termguicolors) && !has('gui_running') + \ && (!exists('&t_Co') || &t_Co < 256) + echoerr '[snow] There are not enough colors.' + finish +endif + +hi clear +if exists('syntax_on') + syntax reset +endif + +let g:colors_name = 'snow' + +if &background ==# 'dark' + hi Bold ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold + hi Conceal ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Directory ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold + hi EndOfBuffer ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Ignore ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Italic ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,italic gui=NONE,italic + hi ModeMsg ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi MoreMsg ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Question ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi NonText ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Normal ctermfg=249 ctermbg=236 guifg=#b0b7c3 guibg=#2b2e32 guisp=NONE cterm=NONE gui=NONE + hi Terminal ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Title ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold + hi Underlined ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,underline gui=NONE,underline + hi Comment ctermfg=246 ctermbg=NONE guifg=#8c96a4 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi CursorLineNr ctermfg=246 ctermbg=NONE guifg=#8c96a4 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi LineNr ctermfg=246 ctermbg=NONE guifg=#8c96a4 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi FoldColumn ctermfg=249 ctermbg=NONE guifg=#b0b7c3 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi PmenuSel ctermfg=249 ctermbg=236 guifg=#b0b7c3 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi SignColumn ctermfg=249 ctermbg=NONE guifg=#b0b7c3 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi StatusLine ctermfg=249 ctermbg=236 guifg=#b0b7c3 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi StatusLineTerm ctermfg=249 ctermbg=236 guifg=#b0b7c3 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi TabLineSel ctermfg=249 ctermbg=236 guifg=#b0b7c3 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi VisualNOS ctermfg=246 ctermbg=236 guifg=#8c96a4 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi Cursor ctermfg=252 ctermbg=236 guifg=#ced4dd guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi IncSearch ctermfg=252 ctermbg=236 guifg=#ced4dd guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi ColorColumn ctermfg=NONE ctermbg=237 guifg=NONE guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi CursorColumn ctermfg=NONE ctermbg=237 guifg=NONE guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi CursorLine ctermfg=NONE ctermbg=237 guifg=NONE guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi DiffChange ctermfg=NONE ctermbg=237 guifg=NONE guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi Folded ctermfg=NONE ctermbg=237 guifg=NONE guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi MatchParen ctermfg=252 ctermbg=240 guifg=#ced4dd guibg=#555c66 guisp=NONE cterm=NONE gui=NONE + hi Pmenu ctermfg=249 ctermbg=237 guifg=#b0b7c3 guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi QuickFixLine ctermfg=NONE ctermbg=237 guifg=NONE guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi StatusLineNC ctermfg=249 ctermbg=237 guifg=#b0b7c3 guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi StatusLineTermNC ctermfg=249 ctermbg=237 guifg=#b0b7c3 guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi TabLine ctermfg=249 ctermbg=237 guifg=#b0b7c3 guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi ToolbarButton ctermfg=249 ctermbg=237 guifg=#b0b7c3 guibg=#35383e guisp=NONE cterm=NONE,bold gui=NONE,bold + hi WildMenu ctermfg=249 ctermbg=237 guifg=#b0b7c3 guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi PmenuSbar ctermfg=240 ctermbg=240 guifg=#555c66 guibg=#555c66 guisp=NONE cterm=NONE gui=NONE + hi PmenuThumb ctermfg=249 ctermbg=249 guifg=#b0b7c3 guibg=#b0b7c3 guisp=NONE cterm=NONE gui=NONE + hi TabLineFill ctermfg=237 ctermbg=237 guifg=#35383e guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi ToolbarLine ctermfg=237 ctermbg=237 guifg=#35383e guibg=#35383e guisp=NONE cterm=NONE gui=NONE + hi VertSplit ctermfg=240 ctermbg=240 guifg=#555c66 guibg=#555c66 guisp=NONE cterm=NONE gui=NONE + hi SpellBad ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=#d49b9b cterm=NONE,underline gui=NONE,undercurl + hi SpellCap ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=#91add4 cterm=NONE,underline gui=NONE,undercurl + hi SpellLocal ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=#72b6ba cterm=NONE,underline gui=NONE,undercurl + hi SpellRare ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=#c39fc5 cterm=NONE,underline gui=NONE,undercurl + hi StorageClass ctermfg=139 ctermbg=NONE guifg=#ad89ae guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Structure ctermfg=139 ctermbg=NONE guifg=#ad89ae guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Type ctermfg=139 ctermbg=NONE guifg=#ad89ae guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Typedef ctermfg=139 ctermbg=NONE guifg=#ad89ae guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi TooLong ctermfg=139 ctermbg=236 guifg=#ad89ae guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi WarningMsg ctermfg=139 ctermbg=236 guifg=#ad89ae guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi Function ctermfg=138 ctermbg=NONE guifg=#be8786 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Identifier ctermfg=138 ctermbg=NONE guifg=#be8786 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi DiffDelete ctermfg=138 ctermbg=236 guifg=#be8786 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi DiffRemoved ctermfg=138 ctermbg=236 guifg=#be8786 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi Error ctermfg=138 ctermbg=236 guifg=#be8786 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi ErrorMsg ctermfg=138 ctermbg=236 guifg=#be8786 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi Debug ctermfg=137 ctermbg=NONE guifg=#a6936c guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Delimiter ctermfg=137 ctermbg=NONE guifg=#a6936c guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Special ctermfg=137 ctermbg=NONE guifg=#a6936c guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi SpecialChar ctermfg=137 ctermbg=NONE guifg=#a6936c guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi SpecialComment ctermfg=137 ctermbg=NONE guifg=#a6936c guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi SpecialKey ctermfg=137 ctermbg=NONE guifg=#a6936c guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Tag ctermfg=137 ctermbg=NONE guifg=#a6936c guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi DiffChanged ctermfg=137 ctermbg=236 guifg=#a6936c guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi DiffText ctermfg=137 ctermbg=236 guifg=#a6936c guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi Search ctermfg=137 ctermbg=236 guifg=#a6936c guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi Conditional ctermfg=108 ctermbg=NONE guifg=#799e7a guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Exception ctermfg=108 ctermbg=NONE guifg=#799e7a guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Keyword ctermfg=108 ctermbg=NONE guifg=#799e7a guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Label ctermfg=108 ctermbg=NONE guifg=#799e7a guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Operator ctermfg=108 ctermbg=NONE guifg=#799e7a guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Repeat ctermfg=108 ctermbg=NONE guifg=#799e7a guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Statement ctermfg=108 ctermbg=NONE guifg=#799e7a guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi DiffAdd ctermfg=108 ctermbg=236 guifg=#799e7a guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi DiffAdded ctermfg=108 ctermbg=236 guifg=#799e7a guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi Define ctermfg=73 ctermbg=NONE guifg=#5b9fa3 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Include ctermfg=73 ctermbg=NONE guifg=#5b9fa3 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Macro ctermfg=73 ctermbg=NONE guifg=#5b9fa3 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi PreCondit ctermfg=73 ctermbg=NONE guifg=#5b9fa3 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi PreProc ctermfg=73 ctermbg=NONE guifg=#5b9fa3 guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Todo ctermfg=73 ctermbg=236 guifg=#5b9fa3 guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + hi Boolean ctermfg=67 ctermbg=NONE guifg=#7a97bd guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Character ctermfg=67 ctermbg=NONE guifg=#7a97bd guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Constant ctermfg=67 ctermbg=NONE guifg=#7a97bd guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Float ctermfg=67 ctermbg=NONE guifg=#7a97bd guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Number ctermfg=67 ctermbg=NONE guifg=#7a97bd guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi String ctermfg=67 ctermbg=NONE guifg=#7a97bd guibg=NONE guisp=NONE cterm=NONE gui=NONE + hi Visual ctermfg=67 ctermbg=236 guifg=#7a97bd guibg=#2b2e32 guisp=NONE cterm=NONE,reverse gui=NONE,reverse + finish +endif + +hi Bold ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold +hi Conceal ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Directory ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold +hi EndOfBuffer ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Ignore ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Italic ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,italic gui=NONE,italic +hi ModeMsg ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi MoreMsg ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Question ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi NonText ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Normal ctermfg=240 ctermbg=231 guifg=#555c66 guibg=#ffffff guisp=NONE cterm=NONE gui=NONE +hi Terminal ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Title ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold +hi Underlined ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,underline gui=NONE,underline +hi Comment ctermfg=243 ctermbg=NONE guifg=#6e7785 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi CursorLineNr ctermfg=243 ctermbg=NONE guifg=#6e7785 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi LineNr ctermfg=243 ctermbg=NONE guifg=#6e7785 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi FoldColumn ctermfg=240 ctermbg=NONE guifg=#555c66 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi PmenuSel ctermfg=240 ctermbg=231 guifg=#555c66 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi SignColumn ctermfg=240 ctermbg=NONE guifg=#555c66 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi StatusLine ctermfg=240 ctermbg=231 guifg=#555c66 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi StatusLineTerm ctermfg=240 ctermbg=231 guifg=#555c66 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi TabLineSel ctermfg=240 ctermbg=231 guifg=#555c66 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi VisualNOS ctermfg=243 ctermbg=231 guifg=#6e7785 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi Cursor ctermfg=238 ctermbg=231 guifg=#444951 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi IncSearch ctermfg=238 ctermbg=231 guifg=#444951 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi ColorColumn ctermfg=NONE ctermbg=255 guifg=NONE guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi CursorColumn ctermfg=NONE ctermbg=255 guifg=NONE guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi CursorLine ctermfg=NONE ctermbg=255 guifg=NONE guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi DiffChange ctermfg=NONE ctermbg=255 guifg=NONE guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi Folded ctermfg=NONE ctermbg=255 guifg=NONE guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi MatchParen ctermfg=238 ctermbg=249 guifg=#444951 guibg=#b0b7c3 guisp=NONE cterm=NONE gui=NONE +hi Pmenu ctermfg=240 ctermbg=255 guifg=#555c66 guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi QuickFixLine ctermfg=NONE ctermbg=255 guifg=NONE guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi StatusLineNC ctermfg=240 ctermbg=255 guifg=#555c66 guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi StatusLineTermNC ctermfg=240 ctermbg=255 guifg=#555c66 guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi TabLine ctermfg=240 ctermbg=255 guifg=#555c66 guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi ToolbarButton ctermfg=240 ctermbg=255 guifg=#555c66 guibg=#eceef2 guisp=NONE cterm=NONE,bold gui=NONE,bold +hi WildMenu ctermfg=240 ctermbg=255 guifg=#555c66 guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi PmenuSbar ctermfg=249 ctermbg=249 guifg=#b0b7c3 guibg=#b0b7c3 guisp=NONE cterm=NONE gui=NONE +hi PmenuThumb ctermfg=240 ctermbg=240 guifg=#555c66 guibg=#555c66 guisp=NONE cterm=NONE gui=NONE +hi TabLineFill ctermfg=255 ctermbg=255 guifg=#eceef2 guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi ToolbarLine ctermfg=255 ctermbg=255 guifg=#eceef2 guibg=#eceef2 guisp=NONE cterm=NONE gui=NONE +hi VertSplit ctermfg=249 ctermbg=249 guifg=#b0b7c3 guibg=#b0b7c3 guisp=NONE cterm=NONE gui=NONE +hi SpellBad ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=#cb3e50 cterm=NONE,underline gui=NONE,undercurl +hi SpellCap ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=#007bdc cterm=NONE,underline gui=NONE,undercurl +hi SpellLocal ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=#008b9a cterm=NONE,underline gui=NONE,undercurl +hi SpellRare ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=#aa4eb4 cterm=NONE,underline gui=NONE,undercurl +hi StorageClass ctermfg=133 ctermbg=NONE guifg=#9a639f guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Structure ctermfg=133 ctermbg=NONE guifg=#9a639f guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Type ctermfg=133 ctermbg=NONE guifg=#9a639f guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Typedef ctermfg=133 ctermbg=NONE guifg=#9a639f guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi TooLong ctermfg=133 ctermbg=231 guifg=#9a639f guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi WarningMsg ctermfg=133 ctermbg=231 guifg=#9a639f guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi Function ctermfg=131 ctermbg=NONE guifg=#b25d60 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Identifier ctermfg=131 ctermbg=NONE guifg=#b25d60 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi DiffDelete ctermfg=131 ctermbg=231 guifg=#b25d60 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi DiffRemoved ctermfg=131 ctermbg=231 guifg=#b25d60 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi Error ctermfg=131 ctermbg=231 guifg=#b25d60 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi ErrorMsg ctermfg=131 ctermbg=231 guifg=#b25d60 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi Debug ctermfg=94 ctermbg=NONE guifg=#8d7334 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Delimiter ctermfg=94 ctermbg=NONE guifg=#8d7334 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Special ctermfg=94 ctermbg=NONE guifg=#8d7334 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi SpecialChar ctermfg=94 ctermbg=NONE guifg=#8d7334 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi SpecialComment ctermfg=94 ctermbg=NONE guifg=#8d7334 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi SpecialKey ctermfg=94 ctermbg=NONE guifg=#8d7334 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Tag ctermfg=94 ctermbg=NONE guifg=#8d7334 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi DiffChanged ctermfg=94 ctermbg=231 guifg=#8d7334 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi DiffText ctermfg=94 ctermbg=231 guifg=#8d7334 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi Search ctermfg=179 ctermbg=238 guifg=#ddbe7b guibg=#444951 guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi Conditional ctermfg=65 ctermbg=NONE guifg=#45834c guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Exception ctermfg=65 ctermbg=NONE guifg=#45834c guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Keyword ctermfg=65 ctermbg=NONE guifg=#45834c guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Label ctermfg=65 ctermbg=NONE guifg=#45834c guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Operator ctermfg=65 ctermbg=NONE guifg=#45834c guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Repeat ctermfg=65 ctermbg=NONE guifg=#45834c guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Statement ctermfg=65 ctermbg=NONE guifg=#45834c guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi DiffAdd ctermfg=65 ctermbg=231 guifg=#45834c guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi DiffAdded ctermfg=65 ctermbg=231 guifg=#45834c guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi Define ctermfg=30 ctermbg=NONE guifg=#00838a guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Include ctermfg=30 ctermbg=NONE guifg=#00838a guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Macro ctermfg=30 ctermbg=NONE guifg=#00838a guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi PreCondit ctermfg=30 ctermbg=NONE guifg=#00838a guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi PreProc ctermfg=30 ctermbg=NONE guifg=#00838a guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Todo ctermfg=30 ctermbg=231 guifg=#00838a guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +hi Boolean ctermfg=32 ctermbg=NONE guifg=#3f7ab5 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Character ctermfg=32 ctermbg=NONE guifg=#3f7ab5 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Constant ctermfg=32 ctermbg=NONE guifg=#3f7ab5 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Float ctermfg=32 ctermbg=NONE guifg=#3f7ab5 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Number ctermfg=32 ctermbg=NONE guifg=#3f7ab5 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi String ctermfg=32 ctermbg=NONE guifg=#3f7ab5 guibg=NONE guisp=NONE cterm=NONE gui=NONE +hi Visual ctermfg=32 ctermbg=231 guifg=#3f7ab5 guibg=#ffffff guisp=NONE cterm=NONE,reverse gui=NONE,reverse +finish + +" Background: light +" Color: gry0 #ffffff ~ +" Color: gry1 #eceef2 ~ +" Color: gry2 #6e7785 ~ +" Color: gry3 #555c66 ~ +" Color: gryc #444951 ~ +" Color: srch #ddbe7b ~ +" Color: grys #444951 ~ +" Color: gryp #b0b7c3 ~ +" Color: sprd #cb3e50 ~ +" Color: spbl #007bdc ~ +" Color: spcy #008b9a ~ +" Color: spmg #aa4eb4 ~ +" Color: red_ #b25d60 ~ +" Color: gold #8d7334 ~ +" Color: gren #45834c ~ +" Color: cyan #00838a ~ +" Color: blue #3f7ab5 ~ +" Color: mgnt #9a639f ~ +" Bold none none bold +" Conceal none none +" Directory none none bold +" EndOfBuffer none none +" Ignore none none +" Italic none none italic +" ModeMsg none none +" MoreMsg none none +" Question none none +" NonText none none +" Normal gry3 gry0 +" Terminal none none +" Title none none bold +" Underlined none none underline +" Comment gry2 none +" CursorLineNr gry2 none +" LineNr gry2 none +" FoldColumn gry3 none +" PmenuSel gry3 gry0 reverse +" SignColumn gry3 none +" StatusLine gry3 gry0 reverse +" StatusLineTerm gry3 gry0 reverse +" TabLineSel gry3 gry0 reverse +" VisualNOS gry2 gry0 reverse +" Cursor gryc gry0 reverse +" IncSearch gryc gry0 reverse +" ColorColumn none gry1 +" CursorColumn none gry1 +" CursorLine none gry1 +" DiffChange none gry1 +" Folded none gry1 +" MatchParen gryc gryp +" Pmenu gry3 gry1 +" QuickFixLine none gry1 +" StatusLineNC gry3 gry1 +" StatusLineTermNC gry3 gry1 +" TabLine gry3 gry1 +" ToolbarButton gry3 gry1 bold +" WildMenu gry3 gry1 +" PmenuSbar gryp gryp +" PmenuThumb gry3 gry3 +" TabLineFill gry1 gry1 +" ToolbarLine gry1 gry1 +" VertSplit gryp gryp +" SpellBad none none g=undercurl s=sprd t=underline +" SpellCap none none g=undercurl s=spbl t=underline +" SpellLocal none none g=undercurl s=spcy t=underline +" SpellRare none none g=undercurl s=spmg t=underline +" StorageClass mgnt none +" Structure mgnt none +" Type mgnt none +" Typedef mgnt none +" TooLong mgnt gry0 reverse +" WarningMsg mgnt gry0 reverse +" Function red_ none +" Identifier red_ none +" DiffDelete red_ gry0 reverse +" DiffRemoved red_ gry0 reverse +" Error red_ gry0 reverse +" ErrorMsg red_ gry0 reverse +" Debug gold none +" Delimiter gold none +" Special gold none +" SpecialChar gold none +" SpecialComment gold none +" SpecialKey gold none +" Tag gold none +" DiffChanged gold gry0 reverse +" DiffText gold gry0 reverse +" Search srch grys reverse +" Conditional gren none +" Exception gren none +" Keyword gren none +" Label gren none +" Operator gren none +" Repeat gren none +" Statement gren none +" DiffAdd gren gry0 reverse +" DiffAdded gren gry0 reverse +" Define cyan none +" Include cyan none +" Macro cyan none +" PreCondit cyan none +" PreProc cyan none +" Todo cyan gry0 reverse +" Boolean blue none +" Character blue none +" Constant blue none +" Float blue none +" Number blue none +" String blue none +" Visual blue gry0 reverse +" Background: dark +" Color: gry0 #2b2e32 ~ +" Color: gry1 #35383e ~ +" Color: gry2 #8c96a4 ~ +" Color: gry3 #b0b7c3 ~ +" Color: gryc #ced4dd ~ +" Color: srch #a6936c ~ +" Color: grys #2b2e32 ~ +" Color: gryp #555c66 ~ +" Color: sprd #d49b9b ~ +" Color: spbl #91add4 ~ +" Color: spcy #72b6ba ~ +" Color: spmg #c39fc5 ~ +" Color: red_ #be8786 ~ +" Color: gold #a6936c ~ +" Color: gren #799e7a ~ +" Color: cyan #5b9fa3 ~ +" Color: blue #7a97bd ~ +" Color: mgnt #ad89ae ~ +" Bold none none bold +" Conceal none none +" Directory none none bold +" EndOfBuffer none none +" Ignore none none +" Italic none none italic +" ModeMsg none none +" MoreMsg none none +" Question none none +" NonText none none +" Normal gry3 gry0 +" Terminal none none +" Title none none bold +" Underlined none none underline +" Comment gry2 none +" CursorLineNr gry2 none +" LineNr gry2 none +" FoldColumn gry3 none +" PmenuSel gry3 gry0 reverse +" SignColumn gry3 none +" StatusLine gry3 gry0 reverse +" StatusLineTerm gry3 gry0 reverse +" TabLineSel gry3 gry0 reverse +" VisualNOS gry2 gry0 reverse +" Cursor gryc gry0 reverse +" IncSearch gryc gry0 reverse +" ColorColumn none gry1 +" CursorColumn none gry1 +" CursorLine none gry1 +" DiffChange none gry1 +" Folded none gry1 +" MatchParen gryc gryp +" Pmenu gry3 gry1 +" QuickFixLine none gry1 +" StatusLineNC gry3 gry1 +" StatusLineTermNC gry3 gry1 +" TabLine gry3 gry1 +" ToolbarButton gry3 gry1 bold +" WildMenu gry3 gry1 +" PmenuSbar gryp gryp +" PmenuThumb gry3 gry3 +" TabLineFill gry1 gry1 +" ToolbarLine gry1 gry1 +" VertSplit gryp gryp +" SpellBad none none g=undercurl s=sprd t=underline +" SpellCap none none g=undercurl s=spbl t=underline +" SpellLocal none none g=undercurl s=spcy t=underline +" SpellRare none none g=undercurl s=spmg t=underline +" StorageClass mgnt none +" Structure mgnt none +" Type mgnt none +" Typedef mgnt none +" TooLong mgnt gry0 reverse +" WarningMsg mgnt gry0 reverse +" Function red_ none +" Identifier red_ none +" DiffDelete red_ gry0 reverse +" DiffRemoved red_ gry0 reverse +" Error red_ gry0 reverse +" ErrorMsg red_ gry0 reverse +" Debug gold none +" Delimiter gold none +" Special gold none +" SpecialChar gold none +" SpecialComment gold none +" SpecialKey gold none +" Tag gold none +" DiffChanged gold gry0 reverse +" DiffText gold gry0 reverse +" Search srch grys reverse +" Conditional gren none +" Exception gren none +" Keyword gren none +" Label gren none +" Operator gren none +" Repeat gren none +" Statement gren none +" DiffAdd gren gry0 reverse +" DiffAdded gren gry0 reverse +" Define cyan none +" Include cyan none +" Macro cyan none +" PreCondit cyan none +" PreProc cyan none +" Todo cyan gry0 reverse +" Boolean blue none +" Character blue none +" Constant blue none +" Float blue none +" Number blue none +" String blue none +" Visual blue gry0 reverse diff --git a/vim/.vim/colors/test.vim b/vim/.vim/colors/test.vim new file mode 100644 index 0000000..eccc021 --- /dev/null +++ b/vim/.vim/colors/test.vim @@ -0,0 +1,48 @@ +set background=light +highlight clear +if exists("syntax_on") + syntax reset +endif + + +highlight Preprocessor guifg=#804000 +highlight link Include cPreprocessor +highlight link Define cPreprocessor +highlight link Included cPreprocessor + +highlight Number guifg=#FF8000 +highlight link Numbers cNumber + +highlight Conditional guifg=#0000FF +highlight Type guifg=#8001FF +highlight link Structure cType + +highlight Comment guifg=#008000 + +highlight String guifg=#808080 +highlight link Character cString + +highlight Delimiter guifg=#000080 guibg=NONE +"highlight Delimiter guifg=#FF0000 guibg=NONE +highlight link Operator Delimiter +highlight link Constant Delimiter +highlight link Paren Delimiter +highlight link ErrInParen cParen +highlight MatchParen guifg=#FF0000 guibg=NONE + +highlight link Repeat Conditional +highlight link Statement Conditional +highlight Function guifg=NONE +highlight link cUserFunction cFunction +highlight link cAnsiName cFunction +highlight link cErrInBracket cBracket + +highlight CursorLineNr guibg=#E4E4E4 guifg=#808080 +highlight CursorLine guibg=#e8e8ff +highlight LineNr guibg=#E4E4E4 guifg=#808080 +highlight SpecialKey guifg=#C0C0C0 +highlight Search guibg=#C0C0C0 +"highlight CoursorLine guibg=#ff0000 guifg=#00FF00 +"number bar e4e4e4 +"numbers 808080 +" diff --git a/vim/.vim/colors/typewriter-night.vim b/vim/.vim/colors/typewriter-night.vim new file mode 100644 index 0000000..06eac2f --- /dev/null +++ b/vim/.vim/colors/typewriter-night.vim @@ -0,0 +1,145 @@ +set background=dark +highlight clear + +if exists("syntax on") + hi clear + hi clear CursorLine + syntax reset +endif + +let g:colors_name = "typewriter-night" + +hi Cursor guibg=#00BAFF +hi Normal ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626 +hi Title ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626 term=bold cterm=bold +hi Special ctermfg=250 ctermbg=NONE guifg=#BCBCBC guibg=NONE +hi Comment ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE cterm=italic +hi Constant ctermfg=252 ctermbg=NONE guifg=#D0D0D0 guibg=NONE +hi String ctermfg=242 ctermbg=NONE guifg=#6C6C6C guibg=NONE +hi Number ctermfg=252 ctermbg=NONE guifg=#D0D0D0 guibg=NONE +hi htmlTagName ctermfg=254 ctermbg=NONE guifg=#E4E4E4 guibg=NONE +hi Identifier ctermfg=250 ctermbg=NONE guifg=#BCBCBC guibg=NONE +hi Statement ctermfg=242 ctermbg=NONE guifg=#6C6C6C guibg=NONE cterm=NONE +hi Boolean ctermfg=252 ctermbg=NONE guifg=#D0D0D0 guibg=NONE cterm=NONE +hi PreProc ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE +hi Type ctermfg=248 ctermbg=NONE guifg=#A8A8A8 guibg=NONE +hi Function ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE cterm=italic +hi Repeat ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE +hi Operator ctermfg=248 ctermbg=NONE guifg=#A8A8A8 guibg=NONE +hi Error ctermfg=9 ctermbg=NONE guifg=#FF0000 guibg=NONE +hi TODO ctermfg=135 ctermbg=NONE guifg=#AF5FFF guibg=NONE cterm=italic +hi linenr ctermfg=238 ctermbg=235 guifg=#444444 guibg=#262626 term=bold cterm=bold +hi CursorLine ctermfg=254 ctermbg=NONE guifg=#E4E4E4 guibg=NONE +hi CursorLineNR ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626 term=bold cterm=bold gui=bold +hi Search ctermfg=234 ctermbg=153 guifg=#1C1C1C guibg=#AFD7FF term=bold cterm=bold gui=bold +hi IncSearch ctermfg=234 ctermbg=121 guifg=#1C1C1C guibg=#87FFAF term=bold cterm=bold gui=bold +hi WildMenu ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626 + +" Messages +hi ModeMsg ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626 +hi MoreMsg ctermfg=254 ctermbg=235 guifg=#E4E4E4 guibg=#262626 +hi WarningMsg ctermfg=202 ctermbg=235 guifg=#FF5F00 guibg=#262626 +hi ErrorMsg ctermfg=197 ctermbg=234 guifg=#FF005F guibg=#1C1C1C term=italic cterm=italic + +hi Visual ctermfg=235 ctermbg=153 guifg=#262626 guibg=#AFD7FF +hi SpecialKey ctermfg=254 ctermbg=NONE guifg=#E4E4E4 guibg=NONE +hi NonText ctermfg=238 ctermbg=NONE guifg=#E4E4E4 guibg=NONE +hi ExtraWhitespace ctermbg=115 guibg=#87D7AF +hi MatchParen ctermfg=250 ctermbg=238 guifg=#BCBCBC guibg=#444444 cterm=bold +hi Pmenu ctermfg=254 ctermbg=233 guifg=#E4E4E4 guibg=#121212 +hi PmenuSel ctermfg=234 ctermbg=255 guifg=#1C1C1C guibg=#EEEEEE +hi VertSplit ctermfg=233 ctermbg=235 guifg=#121212 guibg=#262626 +hi ColorColumn ctermbg=236 guibg=#303030 +hi Underlined ctermfg=245 ctermbg=NONE guifg=#949494 cterm=underline term=underline gui=underline + +match ExtraWhitespace /\s\+$/ + +hi link character constant +hi link number constant +hi link boolean constant +hi link Float Number +hi link Conditional Repeat +hi link Label Statement +hi link Keyword Statement +hi link Exception Statement +hi link Include PreProc +hi link Define PreProc +hi link Macro PreProc +hi link PreCondit PreProc +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type +hi link htmlTag Special +hi link Tag Special +hi link SpecialChar Special +hi link Delimiter Special +hi link SpecialComment Special +hi link Debug Special + + +" sytnax specific + +" javascript (ala vim-javascript-syntax) +hi javaScriptFuncArg ctermfg=244 ctermbg=NONE +hi javaScriptFuncExp ctermfg=248 +hi javaScriptBraces cterm=NONE + +hi link javaScriptDocTags Comment +hi link jsObjectSeparator Number +hi link jsStorageClass String +hi link jsObjectKey String +hi link jsObjectProp String +hi link jsFuncCall String + +" Markdown +hi link markdownLinkDelimiter String +hi link markdownLinkTextDelimiter String +hi link mkdDelimiter String +hi link markdownLinkText Normal +hi link mkdLink Normal +hi link markdownUrl Underlined +hi link mkdUrl Underlined + +" Pug / HTML +hi link pugId String +hi link pugBegin String +hi link pugTop String +hi link pugIdChar String +hi link pugClass String +hi link pugClassChar String +hi link pugAttributes String + +hi link htmlTag String +hi htmlTagName ctermfg=249 ctermbg=NONE +hi htmlArg ctermfg=249 ctermbg=NONE +hi htmlTag ctermfg=249 ctermbg=NONE +hi htmlEndTag ctermfg=249 ctermbg=NONE + +" CSS +hi link cssBraces Special + +" go (ala vim-go) +hi gotypes ctermfg=208 ctermbg=NONE cterm=italic +hi goDirective ctermfg=242 ctermbg=NONE cterm=italic + +hi link goTodo TODO +hi link goType gotypes +hi link goSignedInts gotypes +hi link goUnsignedInts gotypes +hi link goFloats gotypes +hi link goComplexes gotypes + +hi goOperator ctermfg=242 +hi goBuiltins ctermfg=70 +hi goDeclaration ctermfg=242 +hi goDeclType ctermfg=242 + +hi goFunction ctermfg=242 ctermbg=NONE cterm=italic +hi goMethod ctermfg=242 ctermbg=NONE cterm=NONE +hi goStruct ctermfg=254 ctermbg=NONE cterm=NONE +hi goStructDef ctermfg=254 ctermbg=NONE cterm=italic + + +" NerdTree +hi link NERDTreeDir Special +hi NERDTreeFile ctermfg=241 diff --git a/vim/.vim/colors/typewriter.vim b/vim/.vim/colors/typewriter.vim new file mode 100644 index 0000000..e1144cd --- /dev/null +++ b/vim/.vim/colors/typewriter.vim @@ -0,0 +1,146 @@ +set background=light +highlight clear + +if exists("syntax on") + hi clear + hi clear CursorLine + syntax reset +endif + +let g:colors_name = "typewriter" + +hi Cursor guibg=#00BAFF +hi Normal ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE +hi Title ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE term=bold cterm=bold gui=bold +hi Special ctermfg=234 ctermbg=NONE guifg=#1C1C1C guibg=NONE +hi Comment ctermfg=247 ctermbg=NONE guifg=#9E9E9E guibg=NONE term=italic cterm=italic gui=italic +hi Constant ctermfg=237 ctermbg=NONE guifg=#3A3A3A guibg=NONE +hi String ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE +hi Number ctermfg=234 ctermbg=NONE guifg=#1C1C1C guibg=NONE +hi htmlTagName ctermfg=235 ctermbg=NONE guifg=#424242 guibg=NONE +hi Identifier ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE +hi Statement ctermfg=242 ctermbg=NONE guifg=#6C6C6C guibg=NONE cterm=NONE +hi Boolean ctermfg=242 ctermbg=NONE guifg=#6C6C6C guibg=NONE cterm=NONE +hi PreProc ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE +hi Type ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE +hi Function ctermfg=240 ctermbg=NONE guifg=#585858 cterm=italic gui=italic +hi Repeat ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE +hi Operator ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE +hi Error ctermfg=9 ctermbg=NONE guifg=#FF1493 guibg=NONE +hi TODO ctermfg=135 ctermbg=NONE guifg=#AF5FFF guibg=NONE cterm=italic gui=italic +hi linenr ctermfg=250 ctermbg=255 guifg=#BCBCBC term=bold cterm=NONE +hi CursorLine ctermfg=235 ctermbg=NONE guifg=#262626 guibg=NONE +hi CursorLineNR ctermfg=232 ctermbg=255 guifg=#080808 term=bold cterm=bold gui=bold +hi Search ctermfg=235 ctermbg=153 guifg=#424242 guibg=#C1E7F4 cterm=bold gui=bold +hi IncSearch ctermfg=235 ctermbg=121 guifg=#424242 guibg=#C3E9DB cterm=bold gui=bold +hi WildMenu ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE + +" Messages +hi ModeMsg ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE +hi MoreMsg ctermfg=235 ctermbg=255 guifg=#424242 guibg=#EEEEEE +hi WarningMsg ctermfg=202 ctermbg=255 guifg=#FF5F00 guibg=#EEEEEE +hi ErrorMsg ctermfg=197 ctermbg=255 guifg=#E41D91 guibg=#EEEEEE cterm=italic gui=italic + +hi Visual ctermfg=235 ctermbg=153 guifg=#424242 guibg=#C1E7F4 +hi SpecialKey ctermfg=255 ctermbg=NONE +hi NonText ctermfg=249 ctermbg=NONE +hi ExtraWhitespace ctermbg=115 guibg=#87D7AF +hi MatchParen ctermfg=234 ctermbg=253 guifg=#1C1C1C guibg=#DADADA cterm=bold gui=bold gui=bold +hi Pmenu ctermfg=235 ctermbg=252 guifg=#424242 guibg=#D0D0D0 +hi PmenuSel ctermfg=255 ctermbg=234 guifg=#EEEEEE guibg=#1C1C1C +hi VertSplit ctermfg=254 ctermbg=245 guifg=#E4E4E4 guibg=#8A8A8A +hi ColorColumn ctermbg=254 guibg=#E4E4E4 +hi Underlined ctermfg=246 ctermbg=NONE guifg=#949494 cterm=underline term=underline gui=underline + +match ExtraWhitespace /\s\+$/ + +hi link character constant +hi link number constant +hi link boolean constant +hi link Float Number +hi link Conditional Repeat +hi link Label Statement +hi link Keyword Statement +hi link Exception Statement +hi link Include PreProc +hi link Define PreProc +hi link Macro PreProc +hi link PreCondit PreProc +hi link StorageClass Type +hi link Structure Type +hi link Typedef Type +hi link htmlTag Special +hi link Tag Special +hi link SpecialChar Special +hi link Delimiter Special +hi link SpecialComment Special +hi link Debug Special + + +" sytnax specific + +" javascript (ala vim-javascript-syntax) +hi javaScriptFuncArg ctermfg=244 ctermbg=NONE guifg=#808080 guibg=NONE +hi javaScriptFuncExp ctermfg=239 ctermbg=NONE guifg=#4E4E4E guibg=NONE +hi javaScriptBraces cterm=NONE guibg=NONE + +hi link javaScriptDocTags Comment +hi link jsObjectSeparator Number +hi link jsStorageClass String +hi link jsObjectKey String +hi link jsObjectProp String +hi link jsFuncCall String + +" Markdown +" Support for plain markdown and markdown.vim plugin +hi link markdownLinkDelimiter String +hi link markdownLinkTextDelimiter String +hi link mkdDelimiter String +hi link markdownLinkText Normal +hi link mkdLink Normal +hi link markdownUrl Underlined +hi link mkdUrl Underlined + +" Pug / HTML +hi link pugId String +hi link pugBegin String +hi link pugTop String +hi link pugIdChar String +hi link pugClass String +hi link pugClassChar String +hi link pugAttributes String + +hi link htmlTag String +hi htmlTagName ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE +hi htmlArg ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE +hi htmlTag ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE +hi htmlEndTag ctermfg=246 ctermbg=NONE guifg=#949494 guibg=NONE + +" CSS +hi link cssBraces Special + +" go (ala vim-go) +hi gotypes ctermfg=208 ctermbg=NONE cterm=italic gui=italic +hi goDirective ctermfg=242 ctermbg=NONE guifg=#6C6C6C cterm=italic gui=italic + +hi link goTodo TODO +hi link goType gotypes +hi link goSignedInts gotypes +hi link goUnsignedInts gotypes +hi link goFloats gotypes +hi link goComplexes gotypes + +hi goOperator ctermfg=242 guifg=#6C6C6C +hi goBuiltins ctermfg=70 +hi goDeclaration ctermfg=242 guifg=#6C6C6C +hi goDeclType ctermfg=242 guifg=#6C6C6C + +hi goFunction ctermfg=242 ctermbg=NONE guifg=#6C6C6C cterm=italic gui=italic +hi goMethod ctermfg=242 ctermbg=NONE guifg=#6C6C6C cterm=NONE +hi goStruct ctermfg=235 ctermbg=NONE guifg=#424242 cterm=NONE +hi goStructDef ctermfg=235 ctermbg=NONE guifg=#424242 cterm=italic gui=italic + + +" NerdTree +hi link NERDTreeDir Special +hi NERDTreeFile ctermfg=241 diff --git a/vim/.vim/syntax/c.vim b/vim/.vim/syntax/c.vim new file mode 100644 index 0000000..4c47c43 --- /dev/null +++ b/vim/.vim/syntax/c.vim @@ -0,0 +1,286 @@ +" Vim syntax file +" Language: C Additions +" Maintainer: Mikhail Wolfson <mywolfson@gmail.com> +" URL: http://web.mit.edu/wolfsonm +" Last Change: 2010 Dec. 3 +" Version: 0.4 +" +" Changelog: +" 0.4 - updates and fixes to cDelimiter to fix break with foldmethod=syntax, +" entirely suggested and solved by Ivan Freitas +" <ivansichfreitas@gmail.com> +" 0.3 - updates and fixes to cUserFunctionPointer, thanks to +" Alexei <lxmzhv@gmail.com> +" 0.2 - change [] to operator +" 0.1 - initial upload, modification from vimscript#1201, Extended c.vim + + +" Common ANSI-standard functions +syn keyword cAnsiFunction MULU_ DIVU_ MODU_ MUL_ DIV_ MOD_ +syn keyword cAnsiFunction main typeof +syn keyword cAnsiFunction open close read write lseek dup dup2 +syn keyword cAnsiFunction fcntl ioctl +syn keyword cAnsiFunction wctrans towctrans towupper +syn keyword cAnsiFunction towlower wctype iswctype +syn keyword cAnsiFunction iswxdigit iswupper iswspace +syn keyword cAnsiFunction iswpunct iswprint iswlower +syn keyword cAnsiFunction iswgraph iswdigit iswcntrl +syn keyword cAnsiFunction iswalpha iswalnum wcsrtombs +syn keyword cAnsiFunction mbsrtowcs wcrtomb mbrtowc +syn keyword cAnsiFunction mbrlen mbsinit wctob +syn keyword cAnsiFunction btowc wcsfxtime wcsftime +syn keyword cAnsiFunction wmemset wmemmove wmemcpy +syn keyword cAnsiFunction wmemcmp wmemchr wcstok +syn keyword cAnsiFunction wcsstr wcsspn wcsrchr +syn keyword cAnsiFunction wcspbrk wcslen wcscspn +syn keyword cAnsiFunction wcschr wcsxfrm wcsncmp +syn keyword cAnsiFunction wcscoll wcscmp wcsncat +syn keyword cAnsiFunction wcscat wcsncpy wcscpy +syn keyword cAnsiFunction wcstoull wcstoul wcstoll +syn keyword cAnsiFunction wcstol wcstold wcstof +syn keyword cAnsiFunction wcstod ungetwc putwchar +syn keyword cAnsiFunction putwc getwchar getwc +syn keyword cAnsiFunction fwide fputws fputwc +syn keyword cAnsiFunction fgetws fgetwc wscanf +syn keyword cAnsiFunction wprintf vwscanf vwprintf +syn keyword cAnsiFunction vswscanf vswprintf vfwscanf +syn keyword cAnsiFunction vfwprintf swscanf swprintf +syn keyword cAnsiFunction fwscanf fwprintf zonetime +syn keyword cAnsiFunction strfxtime strftime localtime +syn keyword cAnsiFunction gmtime ctime asctime +syn keyword cAnsiFunction time mkxtime mktime +syn keyword cAnsiFunction difftime clock strlen +syn keyword cAnsiFunction strerror memset strtok +syn keyword cAnsiFunction strstr strspn strrchr +syn keyword cAnsiFunction strpbrk strcspn strchr +syn keyword cAnsiFunction memchr strxfrm strncmp +syn keyword cAnsiFunction strcoll strcmp memcmp +syn keyword cAnsiFunction strncat strcat strncpy +syn keyword cAnsiFunction strcpy memmove memcpy +syn keyword cAnsiFunction wcstombs mbstowcs wctomb +syn keyword cAnsiFunction mbtowc mblen lldiv +syn keyword cAnsiFunction ldiv div llabs +syn keyword cAnsiFunction labs abs qsort +syn keyword cAnsiFunction bsearch system getenv +syn keyword cAnsiFunction exit atexit abort +syn keyword cAnsiFunction realloc malloc free +syn keyword cAnsiFunction calloc srand rand +syn keyword cAnsiFunction strtoull strtoul strtoll +syn keyword cAnsiFunction strtol strtold strtof +syn keyword cAnsiFunction strtod atoll atol +syn keyword cAnsiFunction atoi atof perror +syn keyword cAnsiFunction ferror feof clearerr +syn keyword cAnsiFunction rewind ftell fsetpos +syn keyword cAnsiFunction fseek fgetpos fwrite +syn keyword cAnsiFunction fread ungetc puts +syn keyword cAnsiFunction putchar putc gets +syn keyword cAnsiFunction getchar getc fputs +syn keyword cAnsiFunction fputc fgets fgetc +syn keyword cAnsiFunction vsscanf vsprintf vsnprintf +syn keyword cAnsiFunction vscanf vprintf vfscanf +syn keyword cAnsiFunction vfprintf sscanf sprintf +syn keyword cAnsiFunction snprintf scanf printf +syn keyword cAnsiFunction fscanf fprintf setvbuf +syn keyword cAnsiFunction setbuf freopen fopen +syn keyword cAnsiFunction fflush fclose tmpnam +syn keyword cAnsiFunction tmpfile rename remove +syn keyword cAnsiFunction offsetof va_start va_end +syn keyword cAnsiFunction va_copy va_arg raise signal +syn keyword cAnsiFunction longjmp setjmp isunordered +syn keyword cAnsiFunction islessgreater islessequal isless +syn keyword cAnsiFunction isgreaterequal isgreater fmal +syn keyword cAnsiFunction fmaf fma fminl +syn keyword cAnsiFunction fminf fmin fmaxl +syn keyword cAnsiFunction fmaxf fmax fdiml +syn keyword cAnsiFunction fdimf fdim nextafterxl +syn keyword cAnsiFunction nextafterxf nextafterx nextafterl +syn keyword cAnsiFunction nextafterf nextafter nanl +syn keyword cAnsiFunction nanf nan copysignl +syn keyword cAnsiFunction copysignf copysign remquol +syn keyword cAnsiFunction remquof remquo remainderl +syn keyword cAnsiFunction remainderf remainder fmodl +syn keyword cAnsiFunction fmodf fmod truncl +syn keyword cAnsiFunction truncf trunc llroundl +syn keyword cAnsiFunction llroundf llround lroundl +syn keyword cAnsiFunction lroundf lround roundl +syn keyword cAnsiFunction roundf round llrintl +syn keyword cAnsiFunction llrintf llrint lrintl +syn keyword cAnsiFunction lrintf lrint rintl +syn keyword cAnsiFunction rintf rint nearbyintl +syn keyword cAnsiFunction nearbyintf nearbyint floorl +syn keyword cAnsiFunction floorf floor ceill +syn keyword cAnsiFunction ceilf ceil tgammal +syn keyword cAnsiFunction tgammaf tgamma lgammal +syn keyword cAnsiFunction lgammaf lgamma erfcl +syn keyword cAnsiFunction erfcf erfc erfl +syn keyword cAnsiFunction erff erf sqrtl +syn keyword cAnsiFunction sqrtf sqrt powl +syn keyword cAnsiFunction powf pow hypotl +syn keyword cAnsiFunction hypotf hypot fabsl +syn keyword cAnsiFunction fabsf fabs cbrtl +syn keyword cAnsiFunction cbrtf cbrt scalblnl +syn keyword cAnsiFunction scalblnf scalbln scalbnl +syn keyword cAnsiFunction scalbnf scalbn modfl +syn keyword cAnsiFunction modff modf logbl +syn keyword cAnsiFunction logbf logb log2l +syn keyword cAnsiFunction log2f log2 log1pl +syn keyword cAnsiFunction log1pf log1p log10l +syn keyword cAnsiFunction log10f log10 logl +syn keyword cAnsiFunction logf log ldexpl +syn keyword cAnsiFunction ldexpf ldexp ilogbl +syn keyword cAnsiFunction ilogbf ilogb frexpl +syn keyword cAnsiFunction frexpf frexp expm1l +syn keyword cAnsiFunction expm1f expm1 exp2l +syn keyword cAnsiFunction exp2f exp2 expl +syn keyword cAnsiFunction expf exp tanhl +syn keyword cAnsiFunction tanhf tanh sinhl +syn keyword cAnsiFunction sinhf sinh coshl +syn keyword cAnsiFunction coshf cosh atanhl +syn keyword cAnsiFunction atanhf atanh asinhl +syn keyword cAnsiFunction asinhf asinh acoshl +syn keyword cAnsiFunction acoshf acosh tanl +syn keyword cAnsiFunction tanf tan sinl +syn keyword cAnsiFunction sinf sin cosl +syn keyword cAnsiFunction cosf cos atan2l +syn keyword cAnsiFunction atan2f atan2 atanl +syn keyword cAnsiFunction atanf atan asinl +syn keyword cAnsiFunction asinf asin acosl +syn keyword cAnsiFunction acosf acos signbit +syn keyword cAnsiFunction isnormal isnan isinf +syn keyword cAnsiFunction isfinite fpclassify localeconv +syn keyword cAnsiFunction setlocale wcstoumax wcstoimax +syn keyword cAnsiFunction strtoumax strtoimax feupdateenv +syn keyword cAnsiFunction fesetenv feholdexcept fegetenv +syn keyword cAnsiFunction fesetround fegetround fetestexcept +syn keyword cAnsiFunction fesetexceptflag feraiseexcept fegetexceptflag +syn keyword cAnsiFunction feclearexcept toupper tolower +syn keyword cAnsiFunction isxdigit isupper isspace +syn keyword cAnsiFunction ispunct isprint islower +syn keyword cAnsiFunction isgraph isdigit iscntrl +syn keyword cAnsiFunction isalpha isalnum creall +syn keyword cAnsiFunction crealf creal cprojl +syn keyword cAnsiFunction cprojf cproj conjl +syn keyword cAnsiFunction conjf conj cimagl +syn keyword cAnsiFunction cimagf cimag cargl +syn keyword cAnsiFunction cargf carg csqrtl +syn keyword cAnsiFunction csqrtf csqrt cpowl +syn keyword cAnsiFunction cpowf cpow cabsl +syn keyword cAnsiFunction cabsf cabs clogl +syn keyword cAnsiFunction clogf clog cexpl +syn keyword cAnsiFunction cexpf cexp ctanhl +syn keyword cAnsiFunction ctanhf ctanh csinhl +syn keyword cAnsiFunction csinhf csinh ccoshl +syn keyword cAnsiFunction ccoshf ccosh catanhl +syn keyword cAnsiFunction catanhf catanh casinhl +syn keyword cAnsiFunction casinhf casinh cacoshl +syn keyword cAnsiFunction cacoshf cacosh ctanl +syn keyword cAnsiFunction ctanf ctan csinl +syn keyword cAnsiFunction csinf csin ccosl +syn keyword cAnsiFunction ccosf ccos catanl +syn keyword cAnsiFunction catanf catan casinl +syn keyword cAnsiFunction casinf casin cacosl +syn keyword cAnsiFunction cacosf cacos assert +syn keyword cAnsiFunction UINTMAX_C INTMAX_C UINT64_C +syn keyword cAnsiFunction UINT32_C UINT16_C UINT8_C +syn keyword cAnsiFunction INT64_C INT32_C INT16_C INT8_C + +" Common ANSI-standard Names +syn keyword cAnsiName PRId8 PRIi16 PRIo32 PRIu64 +syn keyword cAnsiName PRId16 PRIi32 PRIo64 PRIuLEAST8 +syn keyword cAnsiName PRId32 PRIi64 PRIoLEAST8 PRIuLEAST16 +syn keyword cAnsiName PRId64 PRIiLEAST8 PRIoLEAST16 PRIuLEAST32 +syn keyword cAnsiName PRIdLEAST8 PRIiLEAST16 PRIoLEAST32 PRIuLEAST64 +syn keyword cAnsiName PRIdLEAST16 PRIiLEAST32 PRIoLEAST64 PRIuFAST8 +syn keyword cAnsiName PRIdLEAST32 PRIiLEAST64 PRIoFAST8 PRIuFAST16 +syn keyword cAnsiName PRIdLEAST64 PRIiFAST8 PRIoFAST16 PRIuFAST32 +syn keyword cAnsiName PRIdFAST8 PRIiFAST16 PRIoFAST32 PRIuFAST64 +syn keyword cAnsiName PRIdFAST16 PRIiFAST32 PRIoFAST64 PRIuMAX +syn keyword cAnsiName PRIdFAST32 PRIiFAST64 PRIoMAX PRIuPTR +syn keyword cAnsiName PRIdFAST64 PRIiMAX PRIoPTR PRIx8 +syn keyword cAnsiName PRIdMAX PRIiPTR PRIu8 PRIx16 +syn keyword cAnsiName PRIdPTR PRIo8 PRIu16 PRIx32 +syn keyword cAnsiName PRIi8 PRIo16 PRIu32 PRIx64 + +syn keyword cAnsiName PRIxLEAST8 SCNd8 SCNiFAST32 SCNuLEAST32 +syn keyword cAnsiName PRIxLEAST16 SCNd16 SCNiFAST64 SCNuLEAST64 +syn keyword cAnsiName PRIxLEAST32 SCNd32 SCNiMAX SCNuFAST8 +syn keyword cAnsiName PRIxLEAST64 SCNd64 SCNiPTR SCNuFAST16 +syn keyword cAnsiName PRIxFAST8 SCNdLEAST8 SCNo8 SCNuFAST32 +syn keyword cAnsiName PRIxFAST16 SCNdLEAST16 SCNo16 SCNuFAST64 +syn keyword cAnsiName PRIxFAST32 SCNdLEAST32 SCNo32 SCNuMAX +syn keyword cAnsiName PRIxFAST64 SCNdLEAST64 SCNo64 SCNuPTR +syn keyword cAnsiName PRIxMAX SCNdFAST8 SCNoLEAST8 SCNx8 +syn keyword cAnsiName PRIxPTR SCNdFAST16 SCNoLEAST16 SCNx16 +syn keyword cAnsiName PRIX8 SCNdFAST32 SCNoLEAST32 SCNx32 +syn keyword cAnsiName PRIX16 SCNdFAST64 SCNoLEAST64 SCNx64 +syn keyword cAnsiName PRIX32 SCNdMAX SCNoFAST8 SCNxLEAST8 +syn keyword cAnsiName PRIX64 SCNdPTR SCNoFAST16 SCNxLEAST16 +syn keyword cAnsiName PRIXLEAST8 SCNi8 SCNoFAST32 SCNxLEAST32 +syn keyword cAnsiName PRIXLEAST16 SCNi16 SCNoFAST64 SCNxLEAST64 +syn keyword cAnsiName PRIXLEAST32 SCNi32 SCNoMAX SCNxFAST8 +syn keyword cAnsiName PRIXLEAST64 SCNi64 SCNoPTR SCNxFAST16 +syn keyword cAnsiName PRIXFAST8 SCNiLEAST8 SCNu8 SCNxFAST32 +syn keyword cAnsiName PRIXFAST16 SCNiLEAST16 SCNu16 SCNxFAST64 +syn keyword cAnsiName PRIXFAST32 SCNiLEAST32 SCNu32 SCNxMAX +syn keyword cAnsiName PRIXFAST64 SCNiLEAST64 SCNu64 SCNxPTR +syn keyword cAnsiName PRIXMAX SCNiFAST8 SCNuLEAST8 +syn keyword cAnsiName PRIXPTR SCNiFAST16 SCNuLEAST16 + +syn keyword cAnsiName errno environ + +syn keyword cAnsiName STDC CX_LIMITED_RANGE +syn keyword cAnsiName STDC FENV_ACCESS +syn keyword cAnsiName STDC FP_CONTRACT + +syn keyword cAnsiName AF_INET SOCK_STREAM INADDR_ANY AF_INET +syn keyword cAnsiName SOL_SOCKET SO_REUSEPORT SO_REUSEADDR +syn keyword cAnsiName SO_RCVTIMEO IPPROTO_TCP TCP_NODELAY +syn keyword cAnsiName SOCK_DGRAM POLLIN + +syn keyword cAnsiName and bitor not_eq xor +syn keyword cAnsiName and_eq compl or xor_eq +syn keyword cAnsiName bitand not or_eq + +hi def link cAnsiFunction cFunction +hi def link cAnsiName cIdentifier + +" Operators +syn match cOperator "\(<<\|>>\|[-+*/%&^|<>!=]\)=" +syn match cOperator "<<\|>>\|&&\|||\|++\|--\|->" +syn match cOperator "[.!~*&%<>^|=,+-]" +syn match cOperator "/[^/*=]"me=e-1 +syn match cOperator "/$" +syn match cOperator "&&\|||" +syn match cOperator "[][]" + +" Preprocs +syn keyword cDefined defined contained containedin=cDefine +hi def link cDefined cDefine + +" Functions +syn match cUserFunction "\<\h\w*\>\(\s\|\n\)*("me=e-1 contains=cType,cDelimiter,cDefine +syn match cUserFunctionPointer "(\s*\*\s*\h\w*\s*)\(\s\|\n\)*(" contains=cDelimiter,cOperator + +hi def link cUserFunction cFunction +hi def link cUserFunctionPointer cFunction + +" Delimiters +syn match cDelimiter "[();\\]" +" foldmethod=syntax fix, courtesy of Ivan Freitas +syn match cBraces display "[{}]" + + +" Booleans +syn keyword cBoolean true false TRUE FALSE + + +" Links +hi def link cFunction Function +hi def link cIdentifier Identifier +hi def link cDelimiter Delimiter +" foldmethod=syntax fix, courtesy of Ivan Freitas +hi def link cBraces Delimiter +hi def link cBoolean Boolean + +syn match cPreprocessor "#.*$" +syn match cTypedef "int" containedin=ALL Contains=ALL |