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 | |
parent | 5300faf8abf1ae43f873248f790382aecae4a712 (diff) |
nvim: Fix bash injections finally
Diffstat (limited to '.config/nvim/after')
-rw-r--r-- | .config/nvim/after/ftdetect/bash.vim | 2 | ||||
-rw-r--r-- | .config/nvim/after/queries/bash/injections.scm (renamed from .config/nvim/after/queries/sh/injections.scm) | 0 |
2 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/after/ftdetect/bash.vim b/.config/nvim/after/ftdetect/bash.vim new file mode 100644 index 0000000..56af254 --- /dev/null +++ b/.config/nvim/after/ftdetect/bash.vim @@ -0,0 +1,2 @@ +" Force bash syntax instead of sh so that we get tree-sitter support +autocmd BufRead,BufNewFile *.sh set ft=bash diff --git a/.config/nvim/after/queries/sh/injections.scm b/.config/nvim/after/queries/bash/injections.scm index 3e11149..3e11149 100644 --- a/.config/nvim/after/queries/sh/injections.scm +++ b/.config/nvim/after/queries/bash/injections.scm |