Do not show nerdtree startup complaints

This commit is contained in:
Cyryl Płotnicki 2019-06-13 08:35:07 +01:00
parent fe5a0ba35d
commit b6650b7a2f

View file

@ -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