Skip to content

Commit

Permalink
Disable some rtp plugins for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
tarebyte committed Sep 20, 2023
1 parent 7edeb37 commit 7fb0ab7
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,25 @@ end

vim.opt.rtp:prepend(lazypath)

require("lazy").setup("plugins", {
require("lazy").setup({
spec = {
{ import = "plugins" },
},
performance = {
rtp = {
-- disable some rtp plugins
disabled_plugins = {
"gzip",
-- "matchit",
-- "matchparen",
-- "netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
ui = {
border = { "", "", "", "", "", "", "", "" },
},
Expand Down

0 comments on commit 7fb0ab7

Please sign in to comment.