From df814d5a84501b8d064ddc5e00d903ad3d02f8d8 Mon Sep 17 00:00:00 2001 From: Jieru Mei Date: Wed, 12 Jan 2022 12:20:43 -0500 Subject: [PATCH] fix(zsh): don't set filetype to sh (#2035) --- lua/lvim/core/autocmds.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lua/lvim/core/autocmds.lua b/lua/lvim/core/autocmds.lua index 804d7790..e10a42db 100644 --- a/lua/lvim/core/autocmds.lua +++ b/lua/lvim/core/autocmds.lua @@ -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" },