We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09fd8fa commit a7ac2adCopy full SHA for a7ac2ad
lua/lazy/core/loader.lua
@@ -16,9 +16,13 @@ M.disabled_rtp_plugins = { packer_compiled = true }
16
---@type table<string,string>
17
M.did_ftdetect = {}
18
19
+function M.disable_rtp_plugin(plugin)
20
+ M.disabled_rtp_plugins[plugin] = true
21
+end
22
+
23
function M.setup()
24
for _, file in ipairs(Config.options.performance.rtp.disabled_plugins) do
- M.disabled_rtp_plugins[file] = true
25
+ M.disable_rtp_plugin(file)
26
end
27
28
vim.api.nvim_create_autocmd("ColorSchemePre", {
0 commit comments