mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
8 lines
342 B
Scheme
8 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
|