aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2023-09-29 20:40:43 +0100
committerJustine Smithies <justine@smithies.me.uk>2023-09-29 20:40:43 +0100
commitba6e0a870faa3306b1e15bd03460b2faa30ceb37 (patch)
treed74e92f384359053508e2469508468b1ae7525e9 /.config/nvim
parentac8875c1eab08e741bd0acb09011d58cc14ee822 (diff)
Disable netrw
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/base.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/lua/base.lua b/.config/nvim/lua/base.lua
index 9cb6f23..942f87f 100644
--- a/.config/nvim/lua/base.lua
+++ b/.config/nvim/lua/base.lua
@@ -20,6 +20,9 @@ vim.opt.wildmode = 'longest,list,full'
vim.opt.syntax = "ON" -- Allow syntax highlighting
vim.opt.completeopt = { "menuone", "noinsert" }
+-- disable netrw at the very start of your init.lua
+vim.g.loaded_netrw = 1
+vim.g.loaded_netrwPlugin = 1
local autocmd = vim.api.nvim_create_autocmd -- Create autocommand