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

Add annotations to some functions #58

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Add annotations to some functions #58

merged 1 commit into from
Feb 26, 2024

Conversation

jalvesaq
Copy link
Member

  • Add annotations to functions that either receive parameters or return any value and fix the consequent new warnings from lua_ls.
  • Delete unused function, browser.print_list_tree(), and the corresponding code in rnvimserver.

- Add annotations to functions that either receive parameters or return any value and fix the consequent new warnings from lua_ls.
- Delete unused function, browser.print_list_tree(), and the corresponding code in rnvimserver.
@PMassicotte
Copy link
Collaborator

Very nice! Good documentation is so important. Are you using a tool to get a template for each function?

@PMassicotte PMassicotte merged commit c2a580b into R-nvim:main Feb 26, 2024
1 check passed
@jalvesaq
Copy link
Member Author

Are you using a tool to get a template for each function?

I'm using the :Neogen command from danymat/neogen.

@PMassicotte
Copy link
Collaborator

Tx for sharing, I will get that. Anyway, you did a good job on documentation!

@jalvesaq jalvesaq deleted the annotate branch February 27, 2024 01:08
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