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/pascal/injections.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'queries/pascal') diff --git a/queries/pascal/injections.scm b/queries/pascal/injections.scm index c410fbb41..9832973b6 100644 --- a/queries/pascal/injections.scm +++ b/queries/pascal/injections.scm @@ -1,4 +1,7 @@ -(comment) @comment +((comment) @injection.content + (#set! injection.language "comment")) + ; There is no parser for assembly language yet. Add an injection here when we ; have a parser. -; (asmBody) @asm +; ((asmBody) @injection.content +; (#set! injection.language "asm")) -- cgit v1.2.3-70-g09d2