summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-02-16 15:24:10 +0100
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commit547e9fe298bbdfe0517142c8d964ca98a10768da (patch)
tree93e9b741e9352f7e22fefb3d5d739b00093a8d99 /.config
parente335c049fb649620c11788dd014056df605207bf (diff)
[nvim] fix NERDTree VimEnter cmd
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/init.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index c3307ea..d41d485 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -64,7 +64,7 @@ let g:NERDTreeGitStatusShowIgnored=1
if !&diff
autocmd StdinReadPre * let s:std_in=1
- autocmd VimEnter * NERDTree | if argc() > 0 || exists('s:std_ine') | wincmd p | endif
+ autocmd VimEnter * NERDTree | if argc() > 0 || exists('s:std_in') | wincmd p | endif
autocmd VimEnter * if argc() > 0 | silent NERDTreeFind | wincmd p | endif
endif