mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
Remove @definition.doc captures
These aren't really definitions and are being show in the definitions list. We aren't using them at the moment, we could use another group or query file.
This commit is contained in:
parent
73a82638a5
commit
68d8f4c02e
3 changed files with 2 additions and 12 deletions
|
|
@ -45,8 +45,7 @@
|
|||
|
||||
; Function defines function and scope
|
||||
((function_definition
|
||||
name: (identifier) @definition.function
|
||||
body: (block (expression_statement (string) @definition.doc)?)) @scope
|
||||
name: (identifier) @definition.function) @scope
|
||||
(#set! definition.function.scope "parent"))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue