aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-14 07:49:57 +0800
committerGitHub <noreply@github.com>2025-02-14 07:49:57 +0800
commit6b387bde6963f73a1ba38d48070945ee6004ea6f (patch)
tree362ae7cc8a4c08b5d7c8031df8dac4e3c005e4be
parent9f85dace94d2682f076ede824d3516cdf779ff7b (diff)
downloadrneovim-6b387bde6963f73a1ba38d48070945ee6004ea6f.tar.gz
rneovim-6b387bde6963f73a1ba38d48070945ee6004ea6f.tar.bz2
rneovim-6b387bde6963f73a1ba38d48070945ee6004ea6f.zip
vim-patch:4f010c9: runtime(vim): Update base-syntax, always match continuation comments to EOL (#32435)
closes: vim/vim#16630 https://github.com/vim/vim/commit/4f010c90bdcb56a9c72cfee4d6fe3130b88616f8 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
-rw-r--r--runtime/syntax/vim.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 9b128265de..3d62f883b2 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -1117,8 +1117,8 @@ endif
syn match vimShebang "\%^#!.*" display
syn match vimContinue "^\s*\zs\\"
-syn match vimContinueComment '^\s*\zs["#]\\ .*'
-syn match vim9ContinueComment "^\s*\zs#\\ .*"
+syn match vimContinueComment '^\s*\zs["#]\\ .*' extend
+syn match vim9ContinueComment "^\s*\zs#\\ .*" extend
syn cluster vimContinue contains=vimContinue,vimContinueComment
syn cluster vim9Continue contains=vimContinue,vim9ContinueComment