1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:50:06 +08:00

test(chinese): fix vader test

This commit is contained in:
wsdjeg 2023-07-03 23:52:36 +08:00
parent a39c6294bc
commit 83cb47789d

View File

@ -46,7 +46,7 @@ function! SpaceVim#layers#chinese#config() abort
let g:_spacevim_mappings_space.x.t = {'name' : '+Translate'} let g:_spacevim_mappings_space.x.t = {'name' : '+Translate'}
endif endif
call SpaceVim#mapping#space#def('nnoremap', ['x', 't', 't'], 'Translate' , 'translate-current-word' , 1) call SpaceVim#mapping#space#def('nnoremap', ['x', 't', 't'], 'Translate' , 'translate-current-word' , 1)
if !SpaceVim#layers#isLoaded('edit') if !has_key(g:_spacevim_mappings_space.x, 'g')
let g:_spacevim_mappings_space.x.g = {'name' : '+Grammarous'} let g:_spacevim_mappings_space.x.g = {'name' : '+Grammarous'}
endif endif
call SpaceVim#mapping#space#def('nnoremap', ['x', 'g', 'c'] , 'CheckChinese', 'check-with-ChineseLinter', 1) call SpaceVim#mapping#space#def('nnoremap', ['x', 'g', 'c'] , 'CheckChinese', 'check-with-ChineseLinter', 1)