Closed Slotos closed 2 years ago
vim.api.nvim_buf_set_lines explodes if final argument table contains strings with newlines. To prevent that, this commit replaces newlines with spaces before passing the data to it.
Rust analyzer yields quite a lot of strings with newlines when reporting code actions.
vim.api.nvim_buf_set_lines explodes if final argument table contains strings with newlines. To prevent that, this commit replaces newlines with spaces before passing the data to it.