aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-flat.vim
diff options
context:
space:
mode:
authorChris Kempson <git@chriskempson.com>2018-10-08 13:48:35 +0100
committerChris Kempson <git@chriskempson.com>2018-10-08 13:48:35 +0100
commit7e9af12d680d81cc1277c07ef5acee8c83828f3f (patch)
treee082704d8fd303298b6a9018a27b536e8f417d67 /colors/base16-flat.vim
parent4df653a1ae34968c7d2e4f991e9e4dd4fe932a45 (diff)
Updates output
Diffstat (limited to 'colors/base16-flat.vim')
-rw-r--r--colors/base16-flat.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/colors/base16-flat.vim b/colors/base16-flat.vim
index 8b19c4f..aa052f2 100644
--- a/colors/base16-flat.vim
+++ b/colors/base16-flat.vim
@@ -129,7 +129,11 @@ syntax reset
let g:colors_name = "base16-flat"
" 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, "", "", "")