aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-06 13:40:59 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-06 13:40:59 +1200
commitaa11fe749a37ceebb8eb25ba9ea1efe4d17d0e62 (patch)
tree656b4ff19c55fca5ff57f0dce1db47bc05053ddc
parentRemove .vimrc 'report' setting (diff)
downloaddotfiles-aa11fe749a37ceebb8eb25ba9ea1efe4d17d0e62.tar.gz
dotfiles-aa11fe749a37ceebb8eb25ba9ea1efe4d17d0e62.zip
Correct has() to exists() in .vimrc
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 63be1692..300fc3a5 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -14,7 +14,7 @@ if has('autocmd')
endif
" Options dependent on the syntax feature
-if has('syntax') && !has('g:syntax_on')
+if has('syntax') && !exists('g:syntax_on')
" Use syntax highlighting
syntax enable