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