0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

runtime(vim): Update base syntax, fix :map termination in :command RHS

Ensure :map (and :abbreviate) terminate at | when included in :command
replacement strings containing commands separated by line continuations.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
Doug Kearns
2025-07-29 21:03:52 +10:00
committed by dkearns
parent 0fde6aebdd
commit b88f9e4a04
26 changed files with 275 additions and 136 deletions

View File

@@ -161,3 +161,10 @@ command -range=% -nargs=? -bang Tb {
command -range=% -nargs=? -bang Tb :<line1>,<line2>s/\v"[^"]*"/\=substitute(submatch(0), " ", "•", "g")/ge
" Unreported issue (:map with trailing bar in replacement text)
command! Foo
\ map lhs rhs |
\ abbreviate foo bar |
\ echo "Foo"