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