Fix a bunch of grammars, add some more

pull/6118/merge^2
SoraTenshi 1 year ago
parent 951ecc0498
commit 4eb6cea7d9

@ -1,4 +1,4 @@
; Credits to nvim-treesitter-context
; inherits c
(class_specifier) @context
(class_specifier) @context

@ -15,4 +15,3 @@
(stab_clause) @context
(call) @context

@ -1,3 +1,5 @@
; Credits to nvim-treesitter/nvim-treesitter-context
(function_declaration
result: (_) @context.end
) @context

@ -0,0 +1,5 @@
; Credits to nvim-treesitter/nvim-treesitter-context
[
(object)
(pair)
] @context

@ -0,0 +1,2 @@
; Credits to nvim-treesitter/nvim-treesitter-context
(section) @context

@ -0,0 +1,8 @@
; Credits to nvim-treesitter/nvim-treesitter-context
[
(table)
(table_array_element)
(inline_table)
(array)
(pair)
] @context

@ -0,0 +1,6 @@
; Credits to nvim-treesitter/nvim-treesitter-context
[
(block_mapping)
(block_mapping_pair)
(block_sequence_item)
] @context

@ -1,4 +1,3 @@
(TopLevelDecl
(FnProto)
(Block) @context.end

Loading…
Cancel
Save