(bug) :sil!, :try and :echoerr

23 views
Skip to first unread message

Andy Wokula

unread,
Aug 23, 2016, 3:22:17 PM8/23/16
to vim...@googlegroups.com
gVim 7.4.2239

:sil! throw 'foo'
" throws exception (ok)
" :h :sil only talks about error messages, not exceptions

:sil! try|echoerr 'foo'|endtry
" nothing, should probably throw an exception, given
" error message is turned into an exception according to :h :echoerr
" worse: this command confuses Vim

:sil! throw 'foo'
" nothing (bug)

--
Andy
Reply all
Reply to author
Forward
0 new messages