vim-maktaba icon indicating copy to clipboard operation
vim-maktaba copied to clipboard

maktaba#syscall doesn't support newlines properly

Open dbarnett opened this issue 11 years ago • 0 comments

The makataba#syscall functions seem to garble newlines you try to pass to them. For example:

:echo maktaba#syscall#Create(['echo', "foo\nbar"]).GetCommand()
echo 'foo\
bar'

I think it will work properly if we just changed it to pass newlines through unmodified inside single-quoted strings.

dbarnett avatar Dec 30 '14 21:12 dbarnett