diff options
Diffstat (limited to 'colors/base16-atelier-savanna.vim')
-rw-r--r-- | colors/base16-atelier-savanna.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/colors/base16-atelier-savanna.vim b/colors/base16-atelier-savanna.vim index 49c850a..4adc3ae 100644 --- a/colors/base16-atelier-savanna.vim +++ b/colors/base16-atelier-savanna.vim @@ -129,7 +129,11 @@ syntax reset let g:colors_name = "base16-atelier-savanna" " Highlighting function -function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) +" Optional variables are attributes and guisp +function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) + let a:attr = get(a:, 1, "") + let a:guisp = get(a:, 2, "") + if a:guifg != "" exec "hi " . a:group . " guifg=#" . a:guifg endif @@ -333,6 +337,7 @@ call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") +call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " Python highlighting call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") |