aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorAmaan Q <amaanq12@gmail.com>2023-01-09 15:10:07 -0500
committerStephan Seitz <stephan.seitz@fau.de>2023-01-09 21:24:54 +0100
commit5b8b711926d1f3ef5c63fbe5db2d8f33b912025e (patch)
tree3f3c3443cad6b3f6dd3b88383d3e5c89713d9b11 /queries
parentfix: character_literal is no longer unsupported :) (diff)
downloadnvim-treesitter-5b8b711926d1f3ef5c63fbe5db2d8f33b912025e.tar
nvim-treesitter-5b8b711926d1f3ef5c63fbe5db2d8f33b912025e.tar.gz
nvim-treesitter-5b8b711926d1f3ef5c63fbe5db2d8f33b912025e.tar.bz2
nvim-treesitter-5b8b711926d1f3ef5c63fbe5db2d8f33b912025e.tar.lz
nvim-treesitter-5b8b711926d1f3ef5c63fbe5db2d8f33b912025e.tar.xz
nvim-treesitter-5b8b711926d1f3ef5c63fbe5db2d8f33b912025e.tar.zst
nvim-treesitter-5b8b711926d1f3ef5c63fbe5db2d8f33b912025e.zip
refactor: move method and end_method to @keyword.function
Diffstat (limited to 'queries')
-rw-r--r--queries/smali/highlights.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/queries/smali/highlights.scm b/queries/smali/highlights.scm
index 1e23db7fb..82dd7d758 100644
--- a/queries/smali/highlights.scm
+++ b/queries/smali/highlights.scm
@@ -59,7 +59,6 @@
".source"
".implements"
".field"
- ".method"
".annotation"
".subannotation"
".param"
@@ -79,12 +78,16 @@
[
(end_field)
- (end_method)
(end_annotation)
(end_subannotation)
(end_param)
] @keyword
+[
+ ".method"
+ (end_method)
+] @keyword.function
+
; Literals
(string_literal) @string