mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
feat: add Smali
This commit is contained in:
parent
e1dc868e61
commit
0226dd6397
1 changed files with 35 additions and 0 deletions
35
queries/smali/context.scm
Normal file
35
queries/smali/context.scm
Normal file
|
@ -0,0 +1,35 @@
|
|||
(annotation_directive
|
||||
".end annotation" @context.end
|
||||
) @context
|
||||
|
||||
(array_data_directive
|
||||
".end array-data" @context.end
|
||||
) @context
|
||||
|
||||
(field_definition
|
||||
".end field" @context.end
|
||||
) @context
|
||||
|
||||
(method_definition
|
||||
".end method" @context.end
|
||||
) @context
|
||||
|
||||
(packed_switch_directive
|
||||
".end packed-switch" @context.end
|
||||
) @context
|
||||
|
||||
(param_directive
|
||||
".end param"? @context.end
|
||||
) @context
|
||||
|
||||
(parameter_directive
|
||||
".end parameter"? @context.end
|
||||
) @context
|
||||
|
||||
(sparse_switch_directive
|
||||
".end sparse-switch" @context.end
|
||||
) @context
|
||||
|
||||
(subannotation_directive
|
||||
".end subannotation" @context.end
|
||||
) @context
|
Loading…
Reference in a new issue