summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/lua/mango/set.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua
index 617067e..ddb49dc 100644
--- a/.config/nvim/lua/mango/set.lua
+++ b/.config/nvim/lua/mango/set.lua
@@ -1,6 +1,7 @@
local lib = require('mango.lib')
local api = vim.api
local opt = vim.opt
+local glo = vim.g
local augroup = api.nvim_create_augroup('Mango', { clear = true })
@@ -55,3 +56,6 @@ api.nvim_create_autocmd('BufWinEnter', {
command = 'normal zR',
group = augroup,
})
+
+-- This has to be done to enable linenumbers in netrw
+glo.netrw_bufsettings = 'noma nomod nu nobl nowrap ro'