mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
perf(core): use :update
instead of :w
This commit is contained in:
parent
ffdc24702d
commit
14835d4439
@ -930,7 +930,7 @@ endfunction
|
||||
|
||||
function! s:save_current_file() abort
|
||||
let v:errmsg = ''
|
||||
silent! write
|
||||
silent! update
|
||||
if v:errmsg !=# ''
|
||||
echohl ErrorMsg
|
||||
echo v:errmsg
|
||||
|
Loading…
Reference in New Issue
Block a user