Skip to content
Browse files

Use "exists" instead of "has" to detect for colorcolumn option

  • Loading branch information...
1 parent 74e8194 commit 45532086460dcc0ea5ab0715c5dac516d2aa1317 @sandaya sandaya committed Dec 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/minibufexpl.vim
View
2 plugin/minibufexpl.vim
@@ -750,7 +750,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 4553208

Please sign in to comment.
Something went wrong with that request. Please try again.