mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00:00
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:
committed by
Christian Brabandt
parent
d75ab0cbf5
commit
99b9847bd8
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user