diff --git a/config/lua/izvim/config/disable.lua b/config/lua/izvim/config/disable.lua new file mode 100644 index 0000000..a347360 --- /dev/null +++ b/config/lua/izvim/config/disable.lua @@ -0,0 +1,13 @@ +-- by default unload all vim plugins +local loaded_plugins = { + "zipPlugin", + "zip", + "tarPlugin", + "tar", + "gzip", + "tutor_mode_plugin", + "matchit", +} +vim.iter(ipairs(loaded_plugins)):each(function(_, k) + vim.g["loaded_" .. k] = 1 +end) diff --git a/config/lua/izvim/init.lua b/config/lua/izvim/init.lua index dbb0439..fa8068b 100644 --- a/config/lua/izvim/init.lua +++ b/config/lua/izvim/init.lua @@ -1,3 +1,5 @@ +require("izvim.config.disable") + require("izvim.config.autocmds") require("izvim.config.ft") require("izvim.config.keybinds")