1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 01:20:05 +08:00

fix language leader key not work when open tsx file (#4140)

This commit is contained in:
Leo sun 2021-03-30 23:32:20 +08:00 committed by GitHub
parent 18cbde1309
commit f84c8e4924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,8 @@ function! SpaceVim#layers#lang#typescript#config() abort
\ function('s:go_to_typescriptreact_def'))
call SpaceVim#mapping#space#regesit_lang_mappings('typescript',
\ function('s:on_typescript_ft'))
call SpaceVim#mapping#space#regesit_lang_mappings('typescriptreact',
\ function('s:on_typescript_ft'))
call SpaceVim#plugins#repl#reg('typescript', ['ts-node', '-i'])
call SpaceVim#plugins#runner#reg_runner('typescript', {
\ 'exe' : 'ts-node',