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

Treesitter annotations incomplete

Open smackesey opened this issue 3 years ago • 1 comments

The README says:

full signature, docs and completion of vim.api, vim.treesitter, vim.lsp and others

However, it seems like vim.treesitter annotations are very spotty. I can't tell if they just haven't been done, or this is a bug. I'm inclined to think bug because the annotations look wrong, find below a screenshot of the popup for vim.treesitter.parse_query:

image

The nil.parse_query part is clearly a bug, perhaps the same bug is interfering with getting the annotation info?

smackesey avatar Jul 23 '22 16:07 smackesey

There's no parse_querymethod on vim.treesitter as fas as I know. I made a bunch of updates, so might be good to check if that resolves your issue.

Just to make sure, you are not using the cmp-lua source right? With lua-dev that's not needed and could conflict.

folke avatar Sep 12 '22 14:09 folke