Support stripped down versions of Vim

Closes #6.
This commit is contained in:
Tim Pope
2013-01-06 21:57:14 -05:00
parent 8b414c3c43
commit d2cdd0014a

View File

@@ -3,11 +3,14 @@
if exists('g:loaded_sensible') || &compatible
finish
else
let g:loaded_sensible = 1
endif
let g:loaded_sensible = 1
filetype plugin indent on
if !exists('g:syntax_on')
if has('autocmd')
filetype plugin indent on
endif
if has('syntax') && !exists('g:syntax_on')
syntax enable
endif