1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-22 17:05:42 +08:00

style(core): format vim script dictionary

This commit is contained in:
Shidong Wang 2021-11-13 15:32:08 +08:00
parent 8be152b48b
commit a84aa78836
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -429,20 +429,15 @@ function! s:number_transient_state(n) abort
let state = SpaceVim#api#import('transient_state') let state = SpaceVim#api#import('transient_state')
call state.set_title('Number Transient State') call state.set_title('Number Transient State')
call state.defind_keys( call state.defind_keys(
\ { \ {'layout' : 'vertical split',
\ 'layout' : 'vertical split', \ 'left' : [{'key' : ['+','='],
\ 'left' : [
\ {
\ 'key' : ['+','='],
\ 'desc' : 'increase number', \ 'desc' : 'increase number',
\ 'func' : '', \ 'func' : '',
\ 'cmd' : "normal! \<c-a>", \ 'cmd' : "normal! \<c-a>",
\ 'exit' : 0, \ 'exit' : 0,
\ }, \ },
\ ], \ ],
\ 'right' : [ \ 'right' : [{'key' : '-',
\ {
\ 'key' : '-',
\ 'desc' : 'decrease number', \ 'desc' : 'decrease number',
\ 'func' : '', \ 'func' : '',
\ 'cmd' : "normal! \<c-x>", \ 'cmd' : "normal! \<c-x>",