google / vimdoc

Helpfile generation for vim
Apache License 2.0
291 stars 29 forks source link

maktaba#syscall doesn't support newlines properly #80

Closed dbarnett closed 9 years ago

dbarnett commented 10 years ago

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 commented 9 years ago

Oops, wrong project. Moved to maktaba issue tracker as https://github.com/google/vim-maktaba/issues/111.