neovim-component icon indicating copy to clipboard operation
neovim-component copied to clipboard

How to change text color at arbitrary cursor position programmatically?

Open cancandan opened this issue 8 years ago • 1 comments

is this possible?

cancandan avatar Nov 04 '16 20:11 cancandan

You will need to talk to Neovim directly, using document.getElementById('my-editor').editor.getClient() if I'm correct. For a full reference of what it can do, see https://github.com/rhysd/promised-neovim-client/blob/promisified/index.d.ts. I think you are looking for setCursor.

ghost avatar Dec 28 '16 16:12 ghost