diff options
-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 |