diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-19 09:15:08 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-19 09:15:08 +1200 |
commit | 45f31a03c727a8b29dfe65ac27ecfbbdf8f58d15 (patch) | |
tree | de25a609059dc8fb2f89e73b002e5c82f16f8f0b /vim/after/syntax/messages.vim | |
parent | Remove line continuations from VimL indent after (diff) | |
download | dotfiles-45f31a03c727a8b29dfe65ac27ecfbbdf8f58d15.tar.gz dotfiles-45f31a03c727a8b29dfe65ac27ecfbbdf8f58d15.zip |
Add compatible/version guard to syntax after files
Diffstat (limited to 'vim/after/syntax/messages.vim')
-rw-r--r-- | vim/after/syntax/messages.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/after/syntax/messages.vim b/vim/after/syntax/messages.vim index 04faa607..75fe89b9 100644 --- a/vim/after/syntax/messages.vim +++ b/vim/after/syntax/messages.vim @@ -1,3 +1,9 @@ +" 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 |