mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +08:00
parent
431b1b85a0
commit
221bfedc79
@ -32,7 +32,7 @@ function! zvim#enter() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! zvim#format() abort
|
function! zvim#format() abort
|
||||||
let save_cursor = getcurpos()
|
let save_cursor = getpos('.')
|
||||||
normal! gg=G
|
normal! gg=G
|
||||||
call setpos('.', save_cursor)
|
call setpos('.', save_cursor)
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user