Permalink
Browse files

Merge pull request #28 from preek/master

fix bug for vim <= 7.2
  • Loading branch information...
fholgado committed Oct 22, 2011
2 parents fad7338 + 1dce4d5 commit 74e8194d6d35319ccb412e532d79a28314e4e519
Showing with 4 additions and 2 deletions.
  1. +4 −2 plugin/minibufexpl.vim
View
@@ -749,8 +749,10 @@ function! <SID>StartExplorer(sticky,delBufNum,currBufName)
" No spell check
setlocal nospell
- " Restore colorcolumn
- setlocal colorcolumn&
+ " Restore colorcolumn for VIM >= 7.3
+ if has("colorcolumn")
+ setlocal colorcolumn&
+ end
if has("syntax")
syn clear

0 comments on commit 74e8194

Please sign in to comment.