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 <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-06-20 18:59:21 +02:00
committed by Christian Brabandt
parent d75ab0cbf5
commit 99b9847bd8
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
" Language: Vim script
" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
" Doug Kearns <dougkearns@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*\\\|\n\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=+\n\s*\\\|\n\s*"\\ +
\ skip=+\n\s*\%(\\\|"\\ \)+
\ matchgroup=vimCommand
\ end="\s\+\zsas\ze\s\+\h"
\ matchgroup=NONE

View File

@ -2,7 +2,7 @@
" Language: Vim script
" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
" Doug Kearns <dougkearns@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*\\\|\n\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=+\n\s*\\\|\n\s*"\\ +
\ skip=+\n\s*\%(\\\|"\\ \)+
\ matchgroup=vimCommand
\ end="\s\+\zsas\ze\s\+\h"
\ matchgroup=NONE