fix(zsh): don't set filetype to sh (#2035)

This commit is contained in:
Jieru Mei 2022-01-12 12:20:43 -05:00 committed by GitHub
parent 818867f687
commit df814d5a84
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,14 +34,7 @@ function M.load_augroups()
"setlocal formatoptions-=c formatoptions-=r formatoptions-=o",
},
},
_filetypechanges = {
{ "BufWinEnter", ".tf", "setlocal filetype=terraform" },
{ "BufRead", "*.tf", "setlocal filetype=terraform" },
{ "BufNewFile", "*.tf", "setlocal filetype=terraform" },
{ "BufWinEnter", ".zsh", "setlocal filetype=sh" },
{ "BufRead", "*.zsh", "setlocal filetype=sh" },
{ "BufNewFile", "*.zsh", "setlocal filetype=sh" },
},
_filetypechanges = {},
_git = {
{ "FileType", "gitcommit", "setlocal wrap" },
{ "FileType", "gitcommit", "setlocal spell" },