vim9script def Foo() echo "bar" enddef nmap <leader>foo :vim9cmd <SID>Foo()<CR> This results in the error: E1144: Command "<" is not followed by white space: <SNR>93_Foo() If I use this instead, it works: nmap <leader>foo :vim9cmd call <SID>Foo()<CR> Is this intended behavior? Regards, Christian -- 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, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/DFD02288-A72E-42FF-AB77-CBEDE0CFDD38%40hxcore.ol. |
- :vim9cmd can't handle <SNR> without :call Christian J. Robinson
- Re: :vim9cmd can't handle <SNR> without :... Bram Moolenaar
