mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
- Normalise behaviour of :echo commands and improve expression matching. - Allow continued argument lines. - Refine string interpolation groups. - Remove duplicated :menu and :map generated commands that are handled specially later in the file. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
21 lines
362 B
VimL
21 lines
362 B
VimL
" Vim :echo commands
|
|
|
|
echo "Answer = " 42
|
|
echon "Answer = " 42
|
|
echomsg "Answer = " 42
|
|
echowindow "Answer = " 42
|
|
echoerr "Answer = " 42
|
|
echoconsole "Answer = " 42
|
|
|
|
echo "following command is :|" | |
|
|
|
|
echohl WarningMsg | echo "Don't panic!" | echohl None
|
|
|
|
echo "Answer = "
|
|
"\ comment
|
|
\ 42
|
|
|
|
" :echo without {expr}
|
|
echo| echo "Foo"
|
|
|