From dab0f2954bdec40e3c85dcdaeb16cdbb403072ef Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 17 Nov 2023 22:19:41 +0100 Subject: nvim: Write netrw config in lua --- .config/nvim/after/plugin/netrw.vim | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .config/nvim/after/plugin/netrw.vim (limited to '.config/nvim/after/plugin/netrw.vim') diff --git a/.config/nvim/after/plugin/netrw.vim b/.config/nvim/after/plugin/netrw.vim deleted file mode 100644 index f9e0f9a..0000000 --- a/.config/nvim/after/plugin/netrw.vim +++ /dev/null @@ -1,13 +0,0 @@ -function! s:gitignore_files() - silent! !git rev-parse --is-inside-work-tree - if v:shell_error == 0 - return netrw_gitignore#Hide() - endif - return '^$' " Shouldn’t match anything -endfunction - -let g:netrw_banner = 0 -let g:netrw_bufsettings = 'noma nomod nu nobl nowrap ro' " Enables line-numbers -let g:netrw_list_hide = s:gitignore_files() - \ .. ',^\(\.\|\.\.\)/\?$' - \ .. ',.*\.o$' -- cgit v1.2.3