From aa11fe749a37ceebb8eb25ba9ea1efe4d17d0e62 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 6 Jul 2018 13:40:59 +1200 Subject: Correct has() to exists() in .vimrc --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3