Files
dotfiles/.config/vim/ftdetect/envrc.vim
Julian Prein 993bd5a16e 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.
2023-01-11 22:04:32 +01:00

2 lines
51 B
VimL

autocmd BufNewFile,BufRead *.envrc set filetype=sh