Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-21 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-06-20 22:00 GMT+03:00 Bram Moolenaar : > > Nikolay Pavlov wrote: > >> It appears that executing commands after :endfunction in :execute is >> not that hard. My solution is in >> https://github.com/neovim/neovim/pull/6914. > > I do not see a documentation update. What update? `:endfunction` al

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-20 Fir de Conversatie Bram Moolenaar
Nikolay Pavlov wrote: > It appears that executing commands after :endfunction in :execute is > not that hard. My solution is in > https://github.com/neovim/neovim/pull/6914. I do not see a documentation update. -- Never go to the toilet in a paperless office. /// Bram Moolenaar -- b...@moole

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-20 Fir de Conversatie Nikolay Aleksandrovich Pavlov
It appears that executing commands after :endfunction in :execute is not that hard. My solution is in https://github.com/neovim/neovim/pull/6914. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Bram Moolenaar
Nikolay Pavlov wrote: > 2017-06-19 13:11 GMT+03:00 Nikolay Aleksandrovich Pavlov : > > 2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov > > : > >> 2017-06-19 12:41 GMT+03:00 Björn Linse : > >>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" > >>> works fine but > >>> vim --cm

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-06-19 13:11 GMT+03:00 Nikolay Aleksandrovich Pavlov : > 2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov : >> 2017-06-19 12:41 GMT+03:00 Björn Linse : >>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" >>> works fine but >>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nen

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov : > 2017-06-19 12:41 GMT+03:00 Björn Linse : >> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" >> works fine but >> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')" >> does not. One would expect at least an er

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-06-19 12:41 GMT+03:00 Björn Linse : > vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" > works fine but > vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')" > does not. One would expect at least an error about 'trailing characters' as > vim does in some similar si

code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Björn Linse
vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" works fine but vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')" does not. One would expect at least an error about 'trailing characters' as vim does in some similar situations, expect for 'endfunc "comment' (and perha