summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-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