andersevenrud / nvim_context_vt

Virtual text context for neovim treesitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show catch and show function name

adelin-b opened this issue · comments

Hello, I found two case that are not handled correctly

  • Catch block are ignored
    image
  • Some argument block don't show the parenthesis function name
    image

I opened a PR for this :)

#20

Some argument block don't show the parenthesis function name

Note that i did not cover the this because it's not a regular statement or function expression. I'll see about this in another PR because it's probably language specific.

Edit: Indeed it is. In ts/js for example this is not available via a distinct node type.