Add regression test for #4959

Thanks @krobelus
This commit is contained in:
Maxime Coste 2023-08-27 08:12:58 +10:00
parent 7e86230c61
commit cd4a695f41
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@
bad-highlighter

View File

@ -0,0 +1,6 @@
add-highlighter shared/test regions
try %{
add-highlighter shared/test/ default-region invalid highlighter
} catch %{
exec ibad-highlighter<esc>
}