From 94a37ae9558292868ad00094ca1dfc278d8e9adb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 29 Nov 2018 23:43:46 +1300 Subject: Remove some Vim syntax boilerplate --- vim/after/syntax/bindzone.vim | 6 ------ vim/after/syntax/gitcommit.vim | 6 ------ vim/after/syntax/messages.vim | 6 ------ 3 files changed, 18 deletions(-) diff --git a/vim/after/syntax/bindzone.vim b/vim/after/syntax/bindzone.vim index cc50638c..19989995 100644 --- a/vim/after/syntax/bindzone.vim +++ b/vim/after/syntax/bindzone.vim @@ -1,9 +1,3 @@ -" Don't try to make these corrections if running 'compatible' or if the -" runtime files are too old -if &compatible || v:version < 700 - finish -endif - " Highlight TLSA and SSHFP records correctly " syn keyword zoneRRType contained TLSA SSHFP nextgroup=zoneRData skipwhite diff --git a/vim/after/syntax/gitcommit.vim b/vim/after/syntax/gitcommit.vim index 2232e499..e47091f9 100644 --- a/vim/after/syntax/gitcommit.vim +++ b/vim/after/syntax/gitcommit.vim @@ -1,8 +1,2 @@ -" Don't try to make these corrections if running 'compatible' or if the -" runtime files are too old -if &compatible || v:version < 700 - finish -endif - " If my commit subject is too long, highlight it as an error. highlight link gitCommitOverflow Error diff --git a/vim/after/syntax/messages.vim b/vim/after/syntax/messages.vim index 75fe89b9..04faa607 100644 --- a/vim/after/syntax/messages.vim +++ b/vim/after/syntax/messages.vim @@ -1,9 +1,3 @@ -" Don't try to make these corrections if running 'compatible' or if the -" runtime files are too old -if &compatible || v:version < 700 - finish -endif - " The highlighting for errors in syslog/messages files is more often annoying " than useful, so just turn it off. syntax clear messagesError -- cgit v1.2.3