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:
@@ -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")
|
@@ -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")
|
Reference in New Issue
Block a user