Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #27 from toupeira/master

Issue #24 - Fix syntax highlighting break when closing buffers.
  • Loading branch information...
commit c2f5ba63c4c3ee6e26623d95bd1c3e0294fb3a9f 2 parents 71f194f + 00fa5f0
@fholgado fholgado authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 plugin/minibufexpl.vim
5 plugin/minibufexpl.vim
@@ -1601,7 +1601,10 @@ 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'
+ if g:miniBufExplForceSyntaxEnable
+ call <SID>DEBUG('Enable Syntax', 9)
+ exec 'syntax enable'
+ endif
call <SID>DEBUG('AutoUpdate does not run for cycled windows', 9)
call <SID>DEBUG('AutoUpdate does not run for the MBE window', 9)
Please sign in to comment.
Something went wrong with that request. Please try again.