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