mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00: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:
		| @@ -1,4 +1,6 @@ | |||||||
| function! s:enhance_syntax() abort | function! s:enhance_syntax() abort | ||||||
|  |   syntax case match | ||||||
|  |  | ||||||
|   syntax keyword healthError ERROR |   syntax keyword healthError ERROR | ||||||
|   highlight link healthError Error |   highlight link healthError Error | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Marco Hinz
					Marco Hinz