mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +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*#.*\)\@<=$
|
\\%(^\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
|
||||||
|
Reference in New Issue
Block a user