Do not show nerdtree startup complaints
This commit is contained in:
parent
fe5a0ba35d
commit
b6650b7a2f
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ let g:ctrlp_show_hidden = 1
|
||||||
let g:lsp_signs_enabled = 1
|
let g:lsp_signs_enabled = 1
|
||||||
let g:lsp_diagnostics_echo_cursor = 1
|
let g:lsp_diagnostics_echo_cursor = 1
|
||||||
|
|
||||||
" nerdtree startup
|
let NERDTreeWinSize = 25
|
||||||
autocmd StdinReadPre * let s:std_in=1
|
autocmd StdinReadPre * silent! let s:std_in=1
|
||||||
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
|
autocmd VimEnter * silent! f argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | exe 'cd '.argv()[0] | endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue