From 78b54eb7f6a9956d25a3911fa0dfd0cabfe2a4c5 Mon Sep 17 00:00:00 2001 From: Pham Huy Hoang Date: Wed, 3 May 2023 19:07:59 +0900 Subject: chore(injections)!: update injection syntax to 0.9 Since 0.9, @lang syntax is still available as fallback but will soon be deprecated. Because of that, new syntax should be adopted once 0.9 becomes the baseline requirements for nvim-treesitter - update health check - update doc --- queries/java/injections.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'queries/java') diff --git a/queries/java/injections.scm b/queries/java/injections.scm index 0a63c9bfe..988d370f0 100644 --- a/queries/java/injections.scm +++ b/queries/java/injections.scm @@ -1,4 +1,5 @@ -[ +([ (block_comment) (line_comment) -] @comment + ] @injection.content + (#set! injection.language "comment")) -- cgit v1.2.3-70-g09d2