neovim / node-client

Nvim Node.js client and plugin host
https://neovim.io/node-client/
MIT License
464 stars 49 forks source link

Example in README doesn't work #273

Closed blinry closed 5 months ago

blinry commented 6 months ago

Hey :)

When we tried to run the provided example in the README (in TypeScript), we encountered three issues:

Can you reproduce these errors?

justinmk commented 5 months ago

If you can provide an example that works, please send a PR.

Duplicate of https://github.com/neovim/node-client/issues/154 https://github.com/neovim/node-client/issues/41

justinmk commented 5 months ago

When we tried to run the provided example in the README (in TypeScript), we encountered three issues:

After https://github.com/neovim/node-client/pull/309 the README.md now provides a fully working self-contained example. You should be able to copy-paste the code and run it immediately.