diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-25 19:23:43 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-25 19:23:43 +0100 |
commit | 09a540b74fc84321477c7c15dd61666c80a74602 (patch) | |
tree | 1580564720ea1470c47a572a21f9a9f27d0b125c | |
parent | b0351859b66b36f287ce1fbc6322b18e258d68eb (diff) |
nvim: Highlight gawk as awk
-rw-r--r-- | .config/nvim/after/queries/bash/injections.scm | 6 |
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")) |