vim:ftdetect:envrc: Require .envrc only as suffix

Otherwise opening a template (i.e.
`.local/share/direnv/templates/*.envrc`) will not set the filetype
properly.
This commit is contained in:
2023-01-11 22:04:32 +01:00
parent 780ddb1a40
commit 993bd5a16e

View File

@@ -1 +1 @@
autocmd BufNewFile,BufRead .envrc set filetype=sh
autocmd BufNewFile,BufRead *.envrc set filetype=sh