From 09a540b74fc84321477c7c15dd61666c80a74602 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 25 Nov 2023 19:23:43 +0100 Subject: nvim: Highlight gawk as awk --- .config/nvim/after/queries/bash/injections.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/nvim/after') diff --git a/.config/nvim/after/queries/bash/injections.scm b/.config/nvim/after/queries/bash/injections.scm index 962614e..d2bd607 100644 --- a/.config/nvim/after/queries/bash/injections.scm +++ b/.config/nvim/after/queries/bash/injections.scm @@ -3,3 +3,9 @@ (command name: (command_name) @injection.language argument: (raw_string) @injection.content) + +((command + name: (command_name) @_name + argument: (raw_string) @injection.content) + (#eq? @_name "gawk") + (#set! injection.language "awk")) -- cgit v1.2.3