aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-material.vim
diff options
context:
space:
mode:
Diffstat (limited to 'colors/base16-material.vim')
-rw-r--r--colors/base16-material.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/colors/base16-material.vim b/colors/base16-material.vim
index 462b77b..1a3af61 100644
--- a/colors/base16-material.vim
+++ b/colors/base16-material.vim
@@ -129,7 +129,11 @@ syntax reset
let g:colors_name = "base16-material"
" 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, "", "", "")