Browse files

Re-enable syntax highlighting after cycling the buffer from Sontek. T…

…hanks :)
  • Loading branch information...
1 parent 7ffc2dd commit 4fee44015393a1786e63058ec310552e572df492 @fholgado fholgado committed May 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 plugin/minibufexpl.vim
View
1 plugin/minibufexpl.vim
@@ -1579,6 +1579,7 @@ function! <SID>AutoUpdate(delBufNum,currBufName)
" If this is the only buffer left then toggle the buffer
if (winbufnr(2) == -1)
call <SID>CycleBuffer(1)
+ exec 'syntax enable'
call <SID>DEBUG('AutoUpdate does not run for cycled windows', 9)
else
call <SID>DEBUG('AutoUpdate does not run for the MBE window', 9)

0 comments on commit 4fee440

Please sign in to comment.