mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Health: match syntax keyword case exactly (#5741)
This prevents the string "error" within error messages to be highlighted as healthError.
This commit is contained in:
parent
4a2d2248e8
commit
ae9f1938ea
@ -1,4 +1,6 @@
|
||||
function! s:enhance_syntax() abort
|
||||
syntax case match
|
||||
|
||||
syntax keyword healthError ERROR
|
||||
highlight link healthError Error
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user