mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00:00
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
0977c8b03e
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
@@ -851,6 +851,7 @@ syn region vimUserCmdReplacement contained
|
||||
\ skip=+\n\s*\%(\\\|["#]\\ \)+
|
||||
\ end="$"
|
||||
\ contains=@vimContinue,@vimUserCmdList,vimComFilter
|
||||
\ keepend
|
||||
syn region vimUserCmdBlock contained
|
||||
\ matchgroup=vimSep
|
||||
\ start="{"
|
||||
|
Reference in New Issue
Block a user