From 3b209dc0f967e469207beea7d6478ebe1e075c76 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 18 Aug 2024 15:23:47 +0200 Subject: nvim: Prefer *.vim to *.lua --- .config/nvim/after/queries/bash/injections.scm | 11 ----------- .config/nvim/after/queries/sh/injections.scm | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 .config/nvim/after/queries/bash/injections.scm create mode 100644 .config/nvim/after/queries/sh/injections.scm (limited to '.config/nvim/after/queries') diff --git a/.config/nvim/after/queries/bash/injections.scm b/.config/nvim/after/queries/bash/injections.scm deleted file mode 100644 index d2bd607..0000000 --- a/.config/nvim/after/queries/bash/injections.scm +++ /dev/null @@ -1,11 +0,0 @@ -;; extends - -(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")) 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")) -- cgit v1.2.3