From 5b8b711926d1f3ef5c63fbe5db2d8f33b912025e Mon Sep 17 00:00:00 2001 From: Amaan Q Date: Mon, 9 Jan 2023 15:10:07 -0500 Subject: [PATCH] refactor: move method and end_method to @keyword.function --- queries/smali/highlights.scm | 7 +++++-- 1 file 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