From 8163f5d0cde2c1f2795ff9a416281d578c56b9af Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 22 Feb 2024 13:32:07 +0100 Subject: nvim: Ignore *.pyc and __pycache__/ in netrw --- .config/nvim/after/plugin/netrw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim/after/plugin') 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\)$]] -- cgit v1.2.3