mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
This implements https://github.com/neovim/neovim/pull/13059#issuecomment-704414189 This behaves like modelines and remove the use of the base_language map. Also, this allows to fine-tune what we actually want to include per query, which is better IMO.
16 lines
282 B
Scheme
16 lines
282 B
Scheme
; inherits: (jsx)
|
|
[
|
|
(for_in_statement)
|
|
(for_statement)
|
|
(while_statement)
|
|
(arrow_function)
|
|
(function)
|
|
(function_declaration)
|
|
(class_declaration)
|
|
(method_definition)
|
|
(do_statement)
|
|
(with_statement)
|
|
(switch_statement)
|
|
(switch_case)
|
|
(import_statement)
|
|
] @fold
|