0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

runtime(vim): Update base-syntax, match multiline continued comments (#13936)

Match multiline (continued) line comments.

Continued tail comments are not supported yet.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
dkearns
2024-06-12 03:27:53 +10:00
committed by GitHub
parent 210b39c2d6
commit 059cbe8933
26 changed files with 170 additions and 82 deletions

View File

@@ -28,6 +28,29 @@ autocmd BufNewFile * {
}
# Multiline comments
# comment
\ continuing comment
\ continuing comment
# :Foo
\ arg1
#\ comment
\ arg2
echo "TOP"
# Line-continuation comments
:Foo
#\ line continuation comment
\ arg1
#\ line continuation comment
\ arg2
# Issue: #13047
if !exists(":DiffOrig")

View File

@@ -25,6 +25,29 @@ autocmd BufNewFile * {
}
" Multiline comments
" comment
\ continuing comment
\ continuing comment
" :Foo
\ arg1
"\ comment
\ arg2
echo "TOP"
" Line-continuation comments
:Foo
"\ line continuation comment
\ arg1
"\ line continuation comment
\ arg2
" Issue: #13047
if !exists(":DiffOrig")