diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-18 15:23:47 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-18 15:23:47 +0200 |
commit | 3b209dc0f967e469207beea7d6478ebe1e075c76 (patch) | |
tree | d082d529b394411ec97124ee0b34baa05585dd47 /.config/nvim/after/queries/sh/injections.scm | |
parent | 7ec58aa28b5ddbfd88270710e3b6ae5b094d4424 (diff) |
nvim: Prefer *.vim to *.lua
Diffstat (limited to '.config/nvim/after/queries/sh/injections.scm')
-rw-r--r-- | .config/nvim/after/queries/sh/injections.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/nvim/after/queries/sh/injections.scm b/.config/nvim/after/queries/sh/injections.scm new file mode 100644 index 0000000..3e11149 --- /dev/null +++ b/.config/nvim/after/queries/sh/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")) |