From d8130484ade127064fd6a8a20acd8f2664f64b06 Mon Sep 17 00:00:00 2001 From: CharlesChiuGit Date: Mon, 12 Aug 2024 13:31:31 +0800 Subject: [PATCH] chore(core): add notes for disabled rtp plugins --- lua/core/pack.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lua/core/pack.lua b/lua/core/pack.lua index 9a728624d..d326b15bb 100644 --- a/lua/core/pack.lua +++ b/lua/core/pack.lua @@ -125,15 +125,25 @@ function Lazy:load_lazy() ---@type string[] paths = {}, -- add any custom paths here that you want to include in the rtp disabled_plugins = { - "gzip", + -- Do not use builtin matchit.vim and matchparen.vim because we're using vim-matchup "matchit", "matchparen", + -- Do not load builtin netrw "netrwPlugin", - "tarPlugin", + -- Do not load tohtml.vim "tohtml", + -- Do not load zipPlugin.vim, gzip.vim and tarPlugin.vim (all of these plugins are + -- related to reading files inside compressed containers) + "gzip", + "tarPlugin", "tutor", "zipPlugin", + -- Disable remote plugins + -- NOTE: + -- > Disabling rplugin.vim will make `wilder.nvim` complain about missing rplugins during :checkhealth, + -- > but since it's config doesn't require python rtp (strictly), it's fine to ignore that for now. "rplugin", + -- Do not load spell files "spellfile", }, },