Skip to content
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

doc : fixing missing @return in nvim_open_term doc #14435

Merged
merged 1 commit into from
Apr 24, 2021

Conversation

michaelb
Copy link
Contributor

Stumbled on this while developping a plugin, and while it definitively return a channel ID I was able to use, it's not documented ^^

@vigoux here you are :-)

Copy link
Member

@vigoux vigoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bfredl i sundenly have a doubt, do we document return values on error, as the error will be returned anyway?

@michaelb
Copy link
Contributor Author

michaelb commented Apr 24, 2021

@bfredl i sundenly have a doubt, do we document return values on error, as the error will be returned anyway?

Looks like some of the functions with sensible error handling do that: https://neovim.io/doc/user/api.html#nvim_create_buf()

@vigoux vigoux merged commit bb7d379 into neovim:master Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants