From 547e9fe298bbdfe0517142c8d964ca98a10768da Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 16 Feb 2022 15:24:10 +0100 Subject: [nvim] fix NERDTree VimEnter cmd --- .config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config') 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 -- cgit v1.2.3