summaryrefslogtreecommitdiff
path: root/lua/settings.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-09 21:01:23 -0400
committerchristianchiarulli <[email protected]>2021-07-09 21:01:23 -0400
commitb8182d5aeecd50ad6a7d4f5b9b1a8ccbd8bbad02 (patch)
treeffd8fd765b36cf0f4dc353074bf31225beca67ce /lua/settings.lua
parent0ce8dfd998f85e2b1dd6fa78643884a267460b0e (diff)
refactor plugin config
Diffstat (limited to 'lua/settings.lua')
-rw-r--r--lua/settings.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/lua/settings.lua b/lua/settings.lua
index cce8d87e..04a302aa 100644
--- a/lua/settings.lua
+++ b/lua/settings.lua
@@ -58,3 +58,27 @@ opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift
opt.wrap = O.wrap_lines -- display lines as one long line
opt.spell = O.spell
opt.spelllang = O.spelllang
+opt.scrolloff = 8 -- is one of my fav
+--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',
+--}
+--for _, plugin in pairs(disabled_built_ins) do
+-- vim.g["loaded_" .. plugin] = 1
+--end