From 0f0f6b123a08b741dff47d156cab30ccf21d5c73 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 11 Apr 2023 10:49:49 +0200 Subject: [nvim] show line numbers in nerdtree --- .config/nvim/plugins/nerdtree.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config/nvim/plugins/nerdtree.vim') diff --git a/.config/nvim/plugins/nerdtree.vim b/.config/nvim/plugins/nerdtree.vim index 3a8ad50..7caf768 100644 --- a/.config/nvim/plugins/nerdtree.vim +++ b/.config/nvim/plugins/nerdtree.vim @@ -1,6 +1,9 @@ let g:NERDTreeShowHidden=1 let g:NERDTreeGitStatusShowIgnored=1 +:let g:NERDTreeShowLineNumbers=1 +:autocmd BufEnter NERD_* setlocal rnu + if !&diff autocmd StdinReadPre * let s:std_in=1 endif -- cgit v1.2.3