aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax/messages.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/syntax/messages.vim')
-rw-r--r--vim/after/syntax/messages.vim6
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