diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:57:13 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 00:01:12 +1300 |
commit | 7fed281d49ee41a15a1c2c6e9d565e264a0abf1d (patch) | |
tree | 98c4804cb25a2832a296e10d45ffe3d03766115c /vim/vimrc | |
parent | Simplify a load guard for sh.vim syntax tweaks (diff) | |
download | dotfiles-7fed281d49ee41a15a1c2c6e9d565e264a0abf1d.tar.gz dotfiles-7fed281d49ee41a15a1c2c6e9d565e264a0abf1d.zip |
Require Vim 7 for filetype and syntax highlights
It's time!
The rest of the vimrc can probably be allowed to load, though.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') |