Capture anonymous functions assigned to variables

Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/709
This commit is contained in:
El Piloto 2020-11-26 01:11:29 +00:00 committed by Thomas Vigouroux
parent d3180720f1
commit 6182c2b0a6

View file

@ -29,6 +29,11 @@
(identifier) @definition.function) @scope)
(function_definition) @scope
(local_variable_declaration
(variable_declarator
(identifier) @definition.function)
(function_definition) @scope)
(program) @scope
((if_statement) @scope)
((for_in_statement) @scope)