mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 08:45:42 +08:00
style(core): format vim script dictionary
This commit is contained in:
parent
8be152b48b
commit
a84aa78836
@ -429,28 +429,23 @@ 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' : [
|
\ 'desc' : 'increase number',
|
||||||
\ {
|
\ 'func' : '',
|
||||||
\ 'key' : ['+','='],
|
\ 'cmd' : "normal! \<c-a>",
|
||||||
\ 'desc' : 'increase number',
|
\ 'exit' : 0,
|
||||||
\ 'func' : '',
|
\ },
|
||||||
\ 'cmd' : "normal! \<c-a>",
|
\ ],
|
||||||
\ 'exit' : 0,
|
\ 'right' : [{'key' : '-',
|
||||||
\ },
|
\ 'desc' : 'decrease number',
|
||||||
\ ],
|
\ 'func' : '',
|
||||||
\ 'right' : [
|
\ 'cmd' : "normal! \<c-x>",
|
||||||
\ {
|
\ 'exit' : 0,
|
||||||
\ 'key' : '-',
|
\ },
|
||||||
\ 'desc' : 'decrease number',
|
\ ],
|
||||||
\ 'func' : '',
|
\ }
|
||||||
\ 'cmd' : "normal! \<c-x>",
|
\ )
|
||||||
\ 'exit' : 0,
|
|
||||||
\ },
|
|
||||||
\ ],
|
|
||||||
\ }
|
|
||||||
\ )
|
|
||||||
call state.open()
|
call state.open()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user