aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-12-09 16:47:29 +0100
committerGitHub <noreply@github.com>2016-12-09 16:47:29 +0100
commitae9f1938eac06adc3a93656c6ef33d2c67ca68b2 (patch)
tree26eb0dbe9bf266310ba9b9d5807eb286d263b4a0
parent4a2d2248e89ea7c409e1d76beb9d39aea2b07fbe (diff)
downloadrneovim-ae9f1938eac06adc3a93656c6ef33d2c67ca68b2.tar.gz
rneovim-ae9f1938eac06adc3a93656c6ef33d2c67ca68b2.tar.bz2
rneovim-ae9f1938eac06adc3a93656c6ef33d2c67ca68b2.zip
Health: match syntax keyword case exactly (#5741)
This prevents the string "error" within error messages to be highlighted as healthError.
-rw-r--r--runtime/autoload/health.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/autoload/health.vim b/runtime/autoload/health.vim
index d13640540b..38e3804bf4 100644
--- a/runtime/autoload/health.vim
+++ b/runtime/autoload/health.vim
@@ -1,4 +1,6 @@
function! s:enhance_syntax() abort
+ syntax case match
+
syntax keyword healthError ERROR
highlight link healthError Error