diff options
author | Jieru Mei <[email protected]> | 2022-01-12 12:20:43 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-12 18:20:43 +0100 |
commit | df814d5a84501b8d064ddc5e00d903ad3d02f8d8 (patch) | |
tree | 2cb1ac731a2b4154b23bf97915950a5ef5146f2c /lua/lvim/core/autocmds.lua | |
parent | 818867f6878f5ed67abc8b72b519f14bddce98df (diff) |
fix(zsh): don't set filetype to sh (#2035)
Diffstat (limited to 'lua/lvim/core/autocmds.lua')
-rw-r--r-- | lua/lvim/core/autocmds.lua | 9 |
1 files changed, 1 insertions, 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" }, |