diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-22 13:32:07 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-22 13:32:07 +0100 |
commit | 8163f5d0cde2c1f2795ff9a416281d578c56b9af (patch) | |
tree | 975a2853981816be6e7820d7d0bcc811351c5a12 /.config/nvim/after | |
parent | 2ed5575f85fce92cc4776a57c4d37464cd850210 (diff) |
nvim: Ignore *.pyc and __pycache__/ in netrw
Diffstat (limited to '.config/nvim/after')
-rw-r--r-- | .config/nvim/after/plugin/netrw.lua | 2 |
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\)$]] |