Skip to content

Commit

Permalink
chore(core): add notes for disabled rtp plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesChiuGit committed Aug 12, 2024
1 parent 163fb48 commit d813048
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions lua/core/pack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
Expand Down

0 comments on commit d813048

Please sign in to comment.