Rainbow config
This commit is contained in:
parent
aa57053d30
commit
fc0c87076f
37
init.vim
37
init.vim
@ -166,12 +166,37 @@ let g:UltiSnipsJumpBackwardTrigger = "<S-Tab>"
|
|||||||
" ===========RAINBOW====================
|
" ===========RAINBOW====================
|
||||||
let g:rainbow_active = 1
|
let g:rainbow_active = 1
|
||||||
let g:rainbow_conf = {
|
let g:rainbow_conf = {
|
||||||
\'separately': {
|
\ 'guifgs': ['lightblue', 'darkorange3', 'seagreen3', 'firebrick'],
|
||||||
\ 'cmake': {
|
\ 'ctermfgs': ['lightblue', 'lightyellow', 'lightcyan', 'lightmagenta'],
|
||||||
\ 'parentheses': [],
|
\ 'operators': '_,_',
|
||||||
\ },
|
\ 'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/{/ end=/}/ fold'],
|
||||||
\}
|
\ 'separately': {
|
||||||
\}
|
\ '*': {},
|
||||||
|
\ 'tex': {
|
||||||
|
\ 'parentheses': ['start=/(/ end=/)/', 'start=/\[/ end=/\]/'],
|
||||||
|
\ },
|
||||||
|
\ 'cpp': {
|
||||||
|
\ 'parentheses': [
|
||||||
|
\ 'start=/(/ end=/)/ fold',
|
||||||
|
\ 'start=/\[/ end=/\]/ fold',
|
||||||
|
\ 'start=/{/ end=/}/ fold',
|
||||||
|
\ 'start=/\(\(\<operator\>\)\@<!<\)\&[a-zA-Z0-9_]\@<=<\ze[^<]/ end=/>/']
|
||||||
|
\ },
|
||||||
|
\ 'cmake': {
|
||||||
|
\ 'parentheses': [],
|
||||||
|
\ },
|
||||||
|
\ 'lisp': {
|
||||||
|
\ 'guifgs': ['royalblue3', 'darkorange3', 'seagreen3', 'firebrick', 'darkorchid3'],
|
||||||
|
\ },
|
||||||
|
\ 'vim': {
|
||||||
|
\ 'parentheses': ['start=/(/ end=/)/', 'start=/\[/ end=/\]/', 'start=/{/ end=/}/ fold', 'start=/(/ end=/)/ containedin=vimFuncBody', 'start=/\[/ end=/\]/ containedin=vimFuncBody', 'start=/{/ end=/}/ fold containedin=vimFuncBody'],
|
||||||
|
\ },
|
||||||
|
\ 'html': {
|
||||||
|
\ 'parentheses': ['start=/\v\<((area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)[ >])@!\z([-_:a-zA-Z0-9]+)(\s+[-_:a-zA-Z0-9]+(\=("[^"]*"|'."'".'[^'."'".']*'."'".'|[^ '."'".'"><=`]*))?)*\>/ end=#</\z1># fold'],
|
||||||
|
\ },
|
||||||
|
\ 'css': 0,
|
||||||
|
\ }
|
||||||
|
\}
|
||||||
|
|
||||||
" ===================LanguageServer==================
|
" ===================LanguageServer==================
|
||||||
if has("win32")
|
if has("win32")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user