From f0bcb51101807840770788229a2da7905370912f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 29 Nov 2018 23:52:03 +1300 Subject: Simplify a load guard for sh.vim syntax tweaks --- vim/after/syntax/sh.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vim/after/syntax/sh.vim') diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim index f02f30f5..872d659c 100644 --- a/vim/after/syntax/sh.vim +++ b/vim/after/syntax/sh.vim @@ -1,6 +1,5 @@ -" Don't try to make these corrections if running 'compatible' or if the -" runtime files are too old -if &compatible || v:version < 700 +" Don't try to make these corrections if the runtime files are too old +if v:version < 700 finish endif -- cgit v1.2.3 From 7fed281d49ee41a15a1c2c6e9d565e264a0abf1d Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 29 Nov 2018 23:57:13 +1300 Subject: Require Vim 7 for filetype and syntax highlights It's time! The rest of the vimrc can probably be allowed to load, though. --- vim/after/syntax/sh.vim | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vim/after/syntax/sh.vim') diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim index 872d659c..bdedaf65 100644 --- a/vim/after/syntax/sh.vim +++ b/vim/after/syntax/sh.vim @@ -1,8 +1,3 @@ -" Don't try to make these corrections if the runtime files are too old -if v:version < 700 - finish -endif - " Remove g:is_posix if we resorted to it in order to get correct POSIX sh " highlighting with older Vim runtime files if exists('g:is_posix') -- cgit v1.2.3