Closed trkoch closed 3 years ago
See https://github.com/neovim/neovim/issues/13890#issuecomment-774542572. I don't know how to do this from Lua myself.
$ nvim -u NORC --listen /tmp/vim
Buffer
AAA BBB
neovim/node-client
$ NVIM_LISTEN_ADDRESS=/tmp/vim NVIM_NODE_LOG_FILE=nvim.log node --experimental-repl-await > const nvim = await require('neovim/scripts/nvim') > await nvim.request('nvim_buf_set_text', [0, 0, 0, 1, 3, ['XXX', 'YYY']])
XXX YYY BBB
XXX YYY
(Apparently this is the behavior when doing the same thing with Lua inside Neovim).
Turns out node-client does in fact have the behavior as Lua inside Neovim.
See https://github.com/neovim/neovim/issues/13890#issuecomment-774542572. I don't know how to do this from Lua myself.
Steps to reproduce
Buffer
neovim/node-client
Actual behaviour
Buffer
Expected behaviour
(Apparently this is the behavior when doing the same thing with Lua inside Neovim).