diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:43:46 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:43:46 +1300 |
commit | 94a37ae9558292868ad00094ca1dfc278d8e9adb (patch) | |
tree | 116c53fc42cc3858707a472e27388f4933c47ecb | |
parent | Pare down after/indent scripts a fair bit (diff) | |
download | dotfiles-94a37ae9558292868ad00094ca1dfc278d8e9adb.tar.gz dotfiles-94a37ae9558292868ad00094ca1dfc278d8e9adb.zip |
Remove some Vim syntax boilerplate
-rw-r--r-- | vim/after/syntax/bindzone.vim | 6 | ||||
-rw-r--r-- | vim/after/syntax/gitcommit.vim | 6 | ||||
-rw-r--r-- | vim/after/syntax/messages.vim | 6 |
3 files changed, 0 insertions, 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 " <https://github.com/vim/vim/issues/220> 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 |