vim-patch:99b9847: runtime(vim): Update base-syntax, fix Vim9 :import expression comment handling

The required space in Vim9 continuation comments (#\ comment) was
accidentally removed in commit 6acca4b as trailing whitespace.

closes: vim/vim#17573

99b9847bd8

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
zeertzjq
2025-06-23 07:22:40 +08:00
parent cfb4d3d2f2
commit 69ef85a533

View File

@@ -324,7 +324,7 @@ if s:vim9script
\\| \\|
\\%(^\s*#.*\)\@<=$ \\%(^\s*#.*\)\@<=$
\\| \\|
\\n\s*\\\|\n\s*#\\ \\n\s*\%(\\\|#\\ \)
\+ \+
\ matchgroup=vimCommand \ matchgroup=vimCommand
\ end="\s\+\zsas\ze\s\+\h" \ end="\s\+\zsas\ze\s\+\h"
@@ -336,7 +336,7 @@ if s:vim9script
else else
syn region vimImportFilename contained syn region vimImportFilename contained
\ start="\S" \ start="\S"
\ skip=+\n\s*\\\|\n\s*"\\ + \ skip=+\n\s*\%(\\\|"\\ \)+
\ matchgroup=vimCommand \ matchgroup=vimCommand
\ end="\s\+\zsas\ze\s\+\h" \ end="\s\+\zsas\ze\s\+\h"
\ matchgroup=NONE \ matchgroup=NONE