From 45add73fb1d2c4f2b0c544117c2d83b7081a2a4a Mon Sep 17 00:00:00 2001 From: ath3 Date: Wed, 24 Aug 2022 18:58:15 +0200 Subject: AWK support (#3528) --- runtime/queries/bash/injections.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime/queries/bash') diff --git a/runtime/queries/bash/injections.scm b/runtime/queries/bash/injections.scm index 321c90ad..0fddb10f 100644 --- a/runtime/queries/bash/injections.scm +++ b/runtime/queries/bash/injections.scm @@ -1,2 +1,8 @@ ((comment) @injection.content (#set! injection.language "comment")) + +(command + name: (command_name (word) @_command) + argument: (raw_string) @injection.content + (#match? @_command "^[gnm]?awk$") + (#set! injection.language "awk")) \ No newline at end of file -- cgit v1.2.3-70-g09d2