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:
parent
17052946c7
commit
d55fd9588f
|
@ -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*
|
||||
|
|
Loading…
Reference in New Issue