0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

runtime(vim): Update base-syntax, improve ex-bang matching

Always match ex-bang explicitly rather than incidentally as the ! operator.

fixes: #16221
closes: #16410

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-01-08 18:20:47 +01:00
committed by Christian Brabandt
parent 1f045f324d
commit 1718e7d07e
7 changed files with 43 additions and 32 deletions

View File

@@ -70,3 +70,8 @@ echo 0z
echo 0zFF00ED015DAF
echo 0zFF00.ED01.5DAF
echo 0zFF.00.ED.01.5D.AF
" Issue #16221 (vimString becomes vimVar when preceded by !)
let bar = !'g:bar'->exists()