summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/testdir/input/vim_ex_echo.vim
blob: c031724b8a1d89df65ccf3d03283b960a5d89497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" 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"