summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-05 14:43:07 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-05 14:43:07 +0200
commite9aec353ce8807b204b95638d6f5a50d65706dbe (patch)
tree7bedff5a1d042ce36d19f408d53b7cb6c555499d /.config
parent294264d83a6812c03d9299aeb548a85690f10984 (diff)
nvim: Enable line numbers in netrw
Diffstat (limited to '.config')
-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'