gitlab.nvim icon indicating copy to clipboard operation
gitlab.nvim copied to clipboard

Add type annotations to improve development experience

Open jakubbortlik opened this issue 9 months ago • 0 comments

Feature Description

When working on the plugin, I'm getting a lot of warnings about undefined types, e.g., NuiTree or NuiTree.Node: image @harrisoncramer , do you also get these warnings or I am just missing something? The many warnings make it easier to miss some more relevant problems with the code. In #299, I've added an annotation for RootNode (lua/gitlab/actions/discussions/annotations.lua:137), precisely to get rid of some irrelevant warnings. If there is no better way, I'd suggest to add annotations also for a regular Node and for NuiTree. Or maybe this should be done in the nui.nvim library, I don't know.

jakubbortlik avatar May 09 '24 21:05 jakubbortlik