Closed eric-unger closed 1 year ago
I started looking into tree-sitter recently, would adding the following query support the outcome?
((call
method: (identifier) @func_name (#eq? @func_name "it")
block: (do_block (_) @test.name)
)) @test.definition
I'd recommend using Treesitter Playground to test any queries out and then running make test
to see if the tests pass.
Thanks, I used https://github.com/nvim-treesitter/playground to test the query
I have some tests that do not have a description a very simple example to recreate below, these are not found in the buffer or the summary. I'm using LazyVim not sure if I've missed something in the configuration.