neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 39c0425c4c6ed52e280310fdbef5bfc11df195a1
parent b4016f4525ddb1a2fd2c093f59de9629c804f45c
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu,  2 Oct 2025 08:41:04 +0800

vim-patch:0977c8b: runtime(vim): Update base syntax, contain user command replacement text (#35979)

Ensure that :command replacement text terminates at the end of the
logical line.

Add :command to the generator exclusion list.

fixes: vim/vim#18414 (@Dougaak)
fixes: vim/vim#18448 (Maxim Kim)
closes: vim/vim#18415

https://github.com/vim/vim/commit/0977c8b03e7eca56bb640acd2fd1c6f5fc825899

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat:
Mruntime/syntax/vim.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim @@ -851,6 +851,7 @@ syn region vimUserCmdReplacement contained \ skip=+\n\s*\%(\\\|["#]\\ \)+ \ end="$" \ contains=@vimContinue,@vimUserCmdList,vimComFilter + \ keepend syn region vimUserCmdBlock contained \ matchgroup=vimSep \ start="{"