⚙️ config(nvim): disable netrw plugin in lazy defined table for plugins, instead of using vim global options

This commit is contained in:
Sergio Laín 2024-01-15 10:09:03 +01:00
parent 7601a53fd2
commit 3154cae459
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 1 additions and 4 deletions

View file

@ -36,6 +36,7 @@ require("lazy").setup({
"tarPlugin",
"tohtml",
"tutor",
"netrwPlugin",
"zipPlugin",
},
},

View file

@ -9,10 +9,6 @@ vim.loader.enable()
-- Autoformat on save (Global)
opt.autoformat = true
-- Disable netrw
opt.loaded_netrw = 1
opt.loaded_netrwPlugin = 1
-- Font
opt.gui_font_default_size = 10
opt.gui_font_size = opt.gui_font_default_size