-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extended marks support #170
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@mhartington Are you familiar with how new APIs like this are generated with this library? I'd like to update this but can't seem to find how that's done. |
APIs from the library have a mapping back to the original nvim API. so things like Would probably be implemented like https://github.com/neovim/node-client/blob/master/packages/neovim/src/api/Buffer.ts#L103-L125
The main take away is that each method in the classes must map back to an API from neovim. |
Right, but are those written by hand and not generated (via reading the output from |
Correct, they are written by hand. I'm not sure there was ever a way to generate the API programmatically. |
Okay, thank you! I think I might write something to generate them then . . . |
I think there is (or was) a script to generate the TS interfaces. I haven't had much time to work on this, but I wanted to have some automation to compare against the neovim API and create GH issues for missing methods. |
See #199 (comment) Nvim APIs from node-client should be auto-generated. Anything else is not sustainable. Meanwhile, clients can use |
Do I miss something or is the support for extended marks missing?
From the Neovim docs I would expect that
Buffer
gets new methods/properties, e.g.setExtmark()
.The text was updated successfully, but these errors were encountered: