aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChinmay <chinmay.dalal.22012001@gmail.com>2020-06-15 21:48:50 +0530
committerChinmay <chinmay.dalal.22012001@gmail.com>2020-06-15 21:48:50 +0530
commit042464c1c5c4e1a88717430b26347b84a4adcdf0 (patch)
treeb10ecab374565b6b025c3f219aa11c635ad1d819
parentAdd highlights.scm and locals.scm (diff)
downloadnvim-treesitter-042464c1c5c4e1a88717430b26347b84a4adcdf0.tar
nvim-treesitter-042464c1c5c4e1a88717430b26347b84a4adcdf0.tar.gz
nvim-treesitter-042464c1c5c4e1a88717430b26347b84a4adcdf0.tar.bz2
nvim-treesitter-042464c1c5c4e1a88717430b26347b84a4adcdf0.tar.lz
nvim-treesitter-042464c1c5c4e1a88717430b26347b84a4adcdf0.tar.xz
nvim-treesitter-042464c1c5c4e1a88717430b26347b84a4adcdf0.tar.zst
nvim-treesitter-042464c1c5c4e1a88717430b26347b84a4adcdf0.zip
Fix method highlighting
-rw-r--r--queries/java/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm
index 398cfe13f..59b803abf 100644
--- a/queries/java/highlights.scm
+++ b/queries/java/highlights.scm
@@ -1,9 +1,9 @@
; Methods
(method_declaration
- name: (identifier) @function.method)
+ name: (identifier) @method)
(method_invocation
- name: (identifier) @function.method)
+ name: (identifier) @method)
(super) @function.builtin
; Annotations