adolenc / cl-neovim

Common lisp client for neovim
MIT License
98 stars 4 forks source link

Use `nvim:out-write` in Lisp interface #14

Closed HiPhish closed 5 years ago

HiPhish commented 5 years ago

Using (nvim:command "echo '...'") crashes if the message contains an apostrophe because it terminates the spliced-in message prematurely, leaving nonsense "Vimscript code" in the ex-command.

For example, the message That's nice will be turned into the ex-command echo 'That's nice', which is not valid Vimscript.

adolenc commented 5 years ago

Nice, thank you!