From ae9f1938eac06adc3a93656c6ef33d2c67ca68b2 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 9 Dec 2016 16:47:29 +0100 Subject: Health: match syntax keyword case exactly (#5741) This prevents the string "error" within error messages to be highlighted as healthError. --- runtime/autoload/health.vim | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit