runtime(vim): Update base-syntax, fix Vim9 :import expression comment handling
Commit:
https://github.com/vim/vim/commit/99b9847bd8c9146b2ccc3c1403752755650ee4c6
Author: Doug Kearns <
dougk...@gmail.com>
Date: Fri Jun 20 18:59:21 2025 +0200
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: #17573
Signed-off-by: Doug Kearns <
dougk...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/syntax/generator/vim.vim.base b/runtime/syntax/generator/vim.vim.base
index dcd57cde5..fabf808e1 100644
--- a/runtime/syntax/generator/vim.vim.base
+++ b/runtime/syntax/generator/vim.vim.base
@@ -2,7 +2,7 @@
" Language: Vim script
" Maintainer: Hirohito Higashi <h.east.727 ATMARK
gmail.com>
" Doug Kearns <
dougk...@gmail.com>
-" Last Change: 2025 Jun 18
+" Last Change: 2025 Jun 20
" Former Maintainer: Charles E. Campbell
" DO NOT CHANGE DIRECTLY.
@@ -338,7 +338,7 @@ if s:vim9script
\|
\%(^\s*#.*\)\@<=$
\|
- \n\s*\\|
\s*#\
+ \n\s*\%(\\|#\ \)
\+
\ matchgroup=vimCommand
\ end="\s\+\zsas\ze\s\+\h"
@@ -350,7 +350,7 @@ if s:vim9script
else
syn region vimImportFilename contained
\ start="\S"
- \ skip=+
\s*\\|
\s*"\ +
+ \ skip=+
\s*\%(\\|"\ \)+
\ matchgroup=vimCommand
\ end="\s\+\zsas\ze\s\+\h"
\ matchgroup=NONE
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 10cefd332..71d7f37ef 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -2,7 +2,7 @@
" Language: Vim script
" Maintainer: Hirohito Higashi <h.east.727 ATMARK
gmail.com>
" Doug Kearns <
dougk...@gmail.com>
-" Last Change: 2025 Jun 18
+" Last Change: 2025 Jun 20
" Former Maintainer: Charles E. Campbell
" DO NOT CHANGE DIRECTLY.
@@ -391,7 +391,7 @@ if s:vim9script
\|
\%(^\s*#.*\)\@<=$
\|
- \n\s*\\|
\s*#\
+ \n\s*\%(\\|#\ \)
\+
\ matchgroup=vimCommand
\ end="\s\+\zsas\ze\s\+\h"
@@ -403,7 +403,7 @@ if s:vim9script
else
syn region vimImportFilename contained
\ start="\S"
- \ skip=+
\s*\\|
\s*"\ +
+ \ skip=+
\s*\%(\\|"\ \)+
\ matchgroup=vimCommand
\ end="\s\+\zsas\ze\s\+\h"
\ matchgroup=NONE