Skip to content

Commit

Permalink
feat: disable plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Nov 18, 2024
1 parent c0a1c75 commit 1987d85
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/lua/izvim/config/disable.lua
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 2 additions & 0 deletions config/lua/izvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require("izvim.config.disable")

require("izvim.config.autocmds")
require("izvim.config.ft")
require("izvim.config.keybinds")
Expand Down

0 comments on commit 1987d85

Please sign in to comment.