summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftdetect/bash.vim
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-19 21:25:05 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-19 21:25:05 +0200
commit89b3146866e5756b19438697fa0e0155b5047c56 (patch)
tree05abe898ae2c5f3a76943b5241e80b8b87bfffed /.config/nvim/after/ftdetect/bash.vim
parent5300faf8abf1ae43f873248f790382aecae4a712 (diff)
nvim: Fix bash injections finally
Diffstat (limited to '.config/nvim/after/ftdetect/bash.vim')
-rw-r--r--.config/nvim/after/ftdetect/bash.vim2
1 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