doc: Recommend `:silent!` for :loadview.

ex_loadview() was changed in 9b1c939370 to check the file open result.

If user doesn't care about failure to open, using :silent! instead of
:silent is a reasonable, conventional approach.

Closes #3196
This commit is contained in:
Justin M. Keyes 2017-04-20 13:01:11 +02:00
parent 17052946c7
commit d55fd9588f
1 changed files with 1 additions and 1 deletions

View File

@ -922,7 +922,7 @@ You might want to clean up your 'viewdir' directory now and then.
To automatically save and restore views for *.c files: >
au BufWinLeave *.c mkview
au BufWinEnter *.c silent loadview
au BufWinEnter *.c silent! loadview
==============================================================================
8. The ShaDa file *shada* *shada-file*