1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:40:06 +08:00

Merge remote-tracking branch 'ksamborski/improvement/vim-typescript-bindings' into typescript

This commit is contained in:
wsdjeg 2018-12-19 09:53:21 -05:00
commit ef8b85a10d

View File

@ -77,10 +77,18 @@ function! s:on_ft() abort
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 't'], 'TSType',
\ 'view type', 1)
else
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'c'], 'TsuTypeDefinition',
\ 'type definition', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'd'], 'TsuquyomiSignatureHelp',
\ 'show document', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'], 'TsuquyomiRenameSymbol',
\ 'rename symbol', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'i'], 'TsuImport',
\ 'import', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'm'], 'TsuImplementation',
\ 'interface implementations', 1)
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'r'], 'TsuquyomiReferences',
\ 'references', 1)
endif
endif
endfunction