Jelajahi Sumber

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

Jieru Mei 3 tahun lalu
induk
melakukan
df814d5a84
1 mengubah file dengan 1 tambahan dan 8 penghapusan
  1. 1 8
      lua/lvim/core/autocmds.lua

+ 1 - 8
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" },