summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-25 19:23:43 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-25 19:23:43 +0100
commit09a540b74fc84321477c7c15dd61666c80a74602 (patch)
tree1580564720ea1470c47a572a21f9a9f27d0b125c /.config
parentb0351859b66b36f287ce1fbc6322b18e258d68eb (diff)
nvim: Highlight gawk as awk
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/after/queries/bash/injections.scm6
1 files changed, 6 insertions, 0 deletions
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"))