diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/default-config.lua | 21 | ||||
| -rw-r--r-- | lua/settings.lua | 23 | 
2 files changed, 22 insertions, 22 deletions
| diff --git a/lua/default-config.lua b/lua/default-config.lua index d9fbc7f8..3e654938 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -72,6 +72,27 @@ O = {      popup_border = "single",    }, +  disabled_built_ins = { +    "netrw", +    "netrwPlugin", +    "netrwSettings", +    "netrwFileHandlers", +    "gzip", +    "zip", +    "zipPlugin", +    "tar", +    "tarPlugin", -- 'man', +    "getscript", +    "getscriptPlugin", +    "vimball", +    "vimballPlugin", +    "2html_plugin", +    "logipat", +    "rrhelper", +    "spellfile_plugin", +    -- 'matchit', 'matchparen', 'shada_plugin', +  }, +    plugin = {},    -- TODO: refactor for tree diff --git a/lua/settings.lua b/lua/settings.lua index af7adb77..3ac94476 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -28,34 +28,13 @@ end  opt.shortmess:append "c" -local disabled_built_ins = { -  "netrw", -  "netrwPlugin", -  "netrwSettings", -  "netrwFileHandlers", -  "gzip", -  "zip", -  "zipPlugin", -  "tar", -  "tarPlugin", -- 'man', -  "getscript", -  "getscriptPlugin", -  "vimball", -  "vimballPlugin", -  "2html_plugin", -  "logipat", -  "rrhelper", -  "spellfile_plugin", -  -- 'matchit', 'matchparen', 'shada_plugin', -} -  if O.leader_key == " " or O.leader_key == "space" then    vim.g.mapleader = " "  else    vim.g.mapleader = O.leader_key  end -for _, plugin in pairs(disabled_built_ins) do +for _, plugin in pairs(O.disabled_built_ins) do    vim.g["loaded_" .. plugin] = 1  end | 
