Permalink
Browse files

Merge pull request #34 from sandaya/master

Use "exists" instead of "has" to detect colorcolumn option
  • Loading branch information...
2 parents 2fc4085 + 4553208 commit 08d72870d037aac056a660e5c97a119c22152115 @fholgado fholgado committed Feb 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/minibufexpl.vim
View
2 plugin/minibufexpl.vim
@@ -755,7 +755,7 @@ function! <SID>StartExplorer(sticky,delBufNum,currBufName)
" No spell check
setlocal nospell
" Restore colorcolumn for VIM >= 7.3
- if has("colorcolumn")
+ if exists("+colorcolumn")
setlocal colorcolumn&
end

0 comments on commit 08d7287

Please sign in to comment.