diff --git a/lua/core/options.lua b/lua/core/options.lua index 3b12fec..5a49d26 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -74,11 +74,6 @@ local default_plugins = { "vimballPlugin", "zip", "zipPlugin", - "python3_provider", - "python_provider", - "node_provider", - "ruby_provider", - "perl_provider", "tutor", "rplugin", "syntax", @@ -93,6 +88,18 @@ for _, plugin in pairs(default_plugins) do g["loaded_" .. plugin] = 1 end +local default_providers = { + "node", + "perl", + "python", + "python3", + "ruby", +} + +for _, provider in ipairs(default_providers) do + vim.g["loaded_" .. provider .. "_provider"] = 0 +end + -- set shada path vim.schedule(function() vim.opt.shadafile = vim.fn.expand "$HOME" .. "/.local/share/nvim/shada/main.shada"