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:
@@ -1 +1 @@
|
||||
autocmd BufNewFile,BufRead .envrc set filetype=sh
|
||||
autocmd BufNewFile,BufRead *.envrc set filetype=sh
|
||||
|
||||
Reference in New Issue
Block a user