diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-19 21:25:05 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-19 21:25:05 +0200 |
commit | 89b3146866e5756b19438697fa0e0155b5047c56 (patch) | |
tree | 05abe898ae2c5f3a76943b5241e80b8b87bfffed /.config/nvim/after/queries/bash/injections.scm | |
parent | 5300faf8abf1ae43f873248f790382aecae4a712 (diff) |
nvim: Fix bash injections finally
Diffstat (limited to '.config/nvim/after/queries/bash/injections.scm')
-rw-r--r-- | .config/nvim/after/queries/bash/injections.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/nvim/after/queries/bash/injections.scm b/.config/nvim/after/queries/bash/injections.scm new file mode 100644 index 0000000..3e11149 --- /dev/null +++ b/.config/nvim/after/queries/bash/injections.scm @@ -0,0 +1,11 @@ +;; extends + +(command + name: (command_name) @injection.language + argument: (raw_string) @injection.content) + +((command + name: (command_name (word)) @_name + argument: (raw_string) @injection.content) + (#eq? @_name "gawk") + (#set! injection.language "awk")) |