mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -04:00
9 lines
342 B
Scheme
9 lines
342 B
Scheme
|
|
;; TODO: supported by official Tree-sitter if (_)* is more than one node
|
||
|
|
;; Neovim: will only match if (_) is exactly one node
|
||
|
|
;(function_definition
|
||
|
|
;body: (compound_statement
|
||
|
|
;("{" (_)* @function.inner "}"))?) @function.outer
|
||
|
|
|
||
|
|
(function_definition
|
||
|
|
body: (compound_statement) @function.inner) @function.outer
|