Skip to content

Commit

Permalink
colorcolumn is only available for VIM version 7.3 and higher
Browse files Browse the repository at this point in the history
  • Loading branch information
munen committed Oct 22, 2011
1 parent fad7338 commit 1dce4d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugin/minibufexpl.vim
Expand Up @@ -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
Expand Down

0 comments on commit 1dce4d5

Please sign in to comment.