diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2016-12-09 16:47:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 16:47:29 +0100 |
commit | ae9f1938eac06adc3a93656c6ef33d2c67ca68b2 (patch) | |
tree | 26eb0dbe9bf266310ba9b9d5807eb286d263b4a0 | |
parent | 4a2d2248e89ea7c409e1d76beb9d39aea2b07fbe (diff) | |
download | rneovim-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.vim | 2 |
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 |