Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add full TAB highlight when switching between buffers #25

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
3 changes: 3 additions & 0 deletions plugin/minibufexpl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ function! <SID>RenderSyntax()
if has("syntax")
syn clear
syn match MBENormal '\[[^\]]*\]'
syn match MBESelecting '\k*\%#\k*[^\]]*\]'
syn match MBEChanged '\[[^\]]*\]+'
syn match MBEVisibleNormal '\[[^\]]*\]\*'
syn match MBEVisibleChanged '\[[^\]]*\]\*+'
Expand All @@ -549,6 +550,7 @@ function! <SID>RenderSyntax()

"MiniBufExpl Color Examples
" hi MBENormal guifg=#808080 guibg=fg
" hi MBESelecting guifg=#B4F869 guibg=fg
" hi MBEChanged guifg=#CD5907 guibg=fg
" hi MBEVisibleNormal guifg=#5DC2D6 guibg=fg
" hi MBEVisibleChanged guifg=#F1266F guibg=fg
Expand All @@ -558,6 +560,7 @@ function! <SID>RenderSyntax()
if !exists("g:did_minibufexplorer_syntax_inits")
let g:did_minibufexplorer_syntax_inits = 1
hi def link MBENormal Comment
hi def link MBESelecting Function
hi def link MBEChanged String
hi def link MBEVisibleNormal Special
hi def link MBEVisibleChanged Special
Expand Down