diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-03-14 15:45:34 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-03-14 15:45:34 +0100 |
commit | 0142f4b1771bd119f62569591b52d00dbafbd672 (patch) | |
tree | 942ecd471064ec55ce3122581043bbd2fc9c8111 /.config/nvim/lua/mango | |
parent | 175b9108cb9b24cbde441cbffbbd67bcf210ec91 (diff) |
nvim: Use g.netrw* directly
Diffstat (limited to '.config/nvim/lua/mango')
-rw-r--r-- | .config/nvim/lua/mango/set.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua index a8979bb..1dc9675 100644 --- a/.config/nvim/lua/mango/set.lua +++ b/.config/nvim/lua/mango/set.lua @@ -40,9 +40,9 @@ o.splitright = true o.splitbelow = true -- Better settings for netrw -vim.g.netrw_banner = 0 -vim.g.netrw_bufsettings = 'noma nomod nu nobl nowrap ro' -- Enable line-numbers -vim.g.netrw_list_hide = [[^\(\.\|\.\.\)/\?$,^__pycache__/\?,.*\.\(o\|pyc\)$]] +g.netrw_banner = 0 +g.netrw_bufsettings = 'noma nomod nu nobl nowrap ro' -- Enable line-numbers +g.netrw_list_hide = [[^\(\.\|\.\.\)/\?$,^__pycache__/\?,.*\.\(o\|pyc\)$]] -- Disable auto commenting api.nvim_create_autocmd('BufEnter', { |