mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 12:00:05 +08:00
fix language leader key not work when open tsx file (#4140)
This commit is contained in:
parent
18cbde1309
commit
f84c8e4924
@ -54,6 +54,8 @@ function! SpaceVim#layers#lang#typescript#config() abort
|
|||||||
\ function('s:go_to_typescriptreact_def'))
|
\ function('s:go_to_typescriptreact_def'))
|
||||||
call SpaceVim#mapping#space#regesit_lang_mappings('typescript',
|
call SpaceVim#mapping#space#regesit_lang_mappings('typescript',
|
||||||
\ function('s:on_typescript_ft'))
|
\ 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#repl#reg('typescript', ['ts-node', '-i'])
|
||||||
call SpaceVim#plugins#runner#reg_runner('typescript', {
|
call SpaceVim#plugins#runner#reg_runner('typescript', {
|
||||||
\ 'exe' : 'ts-node',
|
\ 'exe' : 'ts-node',
|
||||||
|
Loading…
Reference in New Issue
Block a user