mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
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:
@ -324,7 +324,7 @@ if s:vim9script
|
||||
\\|
|
||||
\\%(^\s*#.*\)\@<=$
|
||||
\\|
|
||||
\\n\s*\\\|\n\s*#\\
|
||||
\\n\s*\%(\\\|#\\ \)
|
||||
\+
|
||||
\ matchgroup=vimCommand
|
||||
\ end="\s\+\zsas\ze\s\+\h"
|
||||
@ -336,7 +336,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