summaryrefslogtreecommitdiff
path: root/.config/nvim/plugins/nerdtree.vim
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-04-11 10:49:49 +0200
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commit0f0f6b123a08b741dff47d156cab30ccf21d5c73 (patch)
treec4cb6f51312579052b89d390ecc645d15fb10024 /.config/nvim/plugins/nerdtree.vim
parent1ff9748e33817435420e480839ee7bab1a4684f3 (diff)
[nvim] show line numbers in nerdtree
Diffstat (limited to '.config/nvim/plugins/nerdtree.vim')
-rw-r--r--.config/nvim/plugins/nerdtree.vim3
1 files changed, 3 insertions, 0 deletions
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