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/git_rebase/injections.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'queries/git_rebase') diff --git a/queries/git_rebase/injections.scm b/queries/git_rebase/injections.scm index 27388618e..8e6815a68 100644 --- a/queries/git_rebase/injections.scm +++ b/queries/git_rebase/injections.scm @@ -1,5 +1,6 @@ ((operation (command) @_command - (message) @bash) + (message) @injection.content) +(#set! injection.language "bash") (#any-of? @_command "exec" "x")) -- cgit v1.2.3-70-g09d2