" Maintainer: Matthias P. Braendli " Last Change: Tue Jul 27 13:54:09 CEST 2010 set background=dark hi clear if exists("syntax_on") syntax reset endif let colors_name = "bramwombat" augroup Syntax_extensions au! au Syntax c,cpp syn region cParen matchgroup=Operator transparent start='(' end=')' contains=ALLBUT,@cParenGroup,cCppParen,cErrInBracket,cCppBracket,cCppString,@Spell au Syntax c,cpp syn region cCppParen matchgroup=Operator transparent start='(' skip='\\$' excludenl end=')' end='$' contained contains=ALLBUT,@cParenGroup,cErrInBracket,cParen,cBracket,cString,@Spell au Syntax c,cpp syn region cBracket matchgroup=Operator transparent start='\[\|<::\@!' end=']\|:>' contains=ALLBUT,@cParenGroup,cErrInParen,cCppParen,cCppBracket,cCppString,@Spell au Syntax c,cpp syn region cCppBracket matchgroup=Operator transparent start='\[\|<::\@!' skip='\\$' excludenl end=']\|:>' end='$' contained contains=ALLBUT,@cParenGroup,cErrInParen,cParen,cBracket,cString,@Spell au Syntax c,cpp syn region cBlock matchgroup=OperatorCurlyBrackets start="{" end="}" transparent fold augroup END " Vim >= 7.0 specific colors if version >= 700 hi CursorLine guibg=#2d2d2d hi CursorColumn guibg=#2d2d2d hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=bold hi Pmenu guifg=#f6f3e8 guibg=#444444 hi PmenuSel guifg=#000000 guibg=#cae682 endif " General colors hi Cursor guifg=NONE guibg=#656565 gui=none hi Normal guifg=#f6f3e8 guibg=#242424 gui=none hi NonText guifg=#808080 guibg=#303030 gui=none hi LineNr guifg=#857b6f guibg=#000000 gui=none hi StatusLine guifg=#f6f3e8 guibg=#444444 gui=none hi StatusLineNC guifg=#857b6f guibg=#444444 gui=none hi VertSplit guifg=#444444 guibg=#444444 gui=none hi Folded guibg=#384048 guifg=#a0a8b0 gui=none hi Title guifg=#f6f3e8 guibg=NONE gui=bold hi Visual guifg=#f6f3e8 guibg=#444444 gui=none hi SpecialKey guifg=#606060 guibg=#222020 gui=none " Syntax highlighting hi Comment guifg=#bba09b gui=italic hi Todo guifg=#aa8f8f gui=bold hi Constant guifg=#e5786d gui=none hi String guifg=#95e454 gui=none hi Identifier guifg=#cae682 gui=none hi Function guifg=#cae682 gui=none hi Type guifg=#cae682 gui=none hi Statement guifg=#8ac6f2 gui=none hi Keyword guifg=#8ac6f2 gui=bold hi PreProc guifg=#e5786d gui=none hi Number guifg=#e5786d gui=none hi Special guifg=#e7f6da gui=none hi DiffAdd gui=none guibg=#000087 hi DiffChange gui=none guibg=#5f5f00 hi DiffDelete gui=none guibg=#5f0000 guifg=#5f5f00 hi DiffText gui=none guibg=#5f005f " highlight modes autocmd InsertEnter * hi StatusLine guibg=#5f0000 autocmd InsertLeave * hi StatusLine guibg=#303030 autocmd CmdwinEnter * hi StatusLine guibg=#005f00 autocmd CmdwinLeave * hi StatusLine guibg=#303030