summaryrefslogtreecommitdiff
path: root/.config/nvim/after
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-22 13:32:07 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-22 13:32:07 +0100
commit8163f5d0cde2c1f2795ff9a416281d578c56b9af (patch)
tree975a2853981816be6e7820d7d0bcc811351c5a12 /.config/nvim/after
parent2ed5575f85fce92cc4776a57c4d37464cd850210 (diff)
nvim: Ignore *.pyc and __pycache__/ in netrw
Diffstat (limited to '.config/nvim/after')
-rw-r--r--.config/nvim/after/plugin/netrw.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/after/plugin/netrw.lua b/.config/nvim/after/plugin/netrw.lua
index 79327a1..31f06c7 100644
--- a/.config/nvim/after/plugin/netrw.lua
+++ b/.config/nvim/after/plugin/netrw.lua
@@ -1,3 +1,3 @@
vim.g.netrw_banner = 0
vim.g.netrw_bufsettings = 'noma nomod nu nobl nowrap ro' -- Enabled line-numbers
-vim.g.netrw_list_hide = [[^\(\.\|\.\.\)/\?$,.*\.o$]]
+vim.g.netrw_list_hide = [[^\(\.\|\.\.\)/\?$,^__pycache__/\?,.*\.\(o\|pyc\)$]]