node-client
node-client copied to clipboard
export RPC functions
This is more a tracking issue.
Pynvim offers the ability to export RPC functions from the plugin decorator. This should be supported by node-client as well.
what would this look like? I'm not aware of "decorator" in node.js
Decorator is a feature proposed to ECMAScript, but it's still on stage2 and not implemented in V8. TypeScript offers to transpile decorators via --experimentalDecorators
compiler flag. So the decorator is only usable when this package is used via TypeScript.
https://www.typescriptlang.org/docs/handbook/decorators.html