aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8673d51b..27c4d3e5 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -8,13 +8,13 @@
runtime system.vim
" Load filetype settings, plugins, and maps
-if has('autocmd')
+if has('autocmd') && v:version >= 700
let g:maplocalleader = ','
filetype plugin indent on
endif
" Options dependent on the syntax feature
-if has('syntax')
+if has('syntax') && v:version >= 700
" Use syntax highlighting
if !exists('g:syntax_on')