]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(skill): Update syntax file to fix string escapes
authorSimão Afonso @ Powertools Tech <simao.afonso@powertools-tech.com>
Tue, 8 Oct 2024 18:58:41 +0000 (20:58 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 8 Oct 2024 18:58:41 +0000 (20:58 +0200)
commitcb1d1dcc879cadfe81ca0088b7e7ebbcd92a9ff3
treee524944d61959b93cdad828015f1c6ebc4f65435
parentd3b55d7f76e32e9b7f895fe43f37435ce7bf782e
runtime(skill): Update syntax file to fix string escapes

The syntax script allowed for single backslash escapes like this
"string\""
But did not accommodate for the uncommon case:
"<key>\\"
Let's fix this by also skipping over double backslashes in the
skillString region.

closes: #15832

Signed-off-by: Simão Afonso @ Powertools Tech <simao.afonso@powertools-tech.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/skill.vim