mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-13 15:49:11 +08:00
Fix lang#fsharp and lang#reason layer
This commit is contained in:
parent
ad913f2db4
commit
525452a0b8
@ -38,7 +38,7 @@ endfunction
|
||||
function! SpaceVim#layers#lang#fsharp#config() abort
|
||||
" @todo add code runner support for fsharp
|
||||
call SpaceVim#plugins#repl#reg('fsharp', ['fsharpi', '--readline-'])
|
||||
call SpaceVim#mapping#space#regesit_lang_mappings('python', function('s:language_specified_mappings'))
|
||||
call SpaceVim#mapping#space#regesit_lang_mappings('fsharp', function('s:language_specified_mappings'))
|
||||
endfunction
|
||||
function! s:language_specified_mappings() abort
|
||||
let g:_spacevim_mappings_space.l.s = {'name' : '+Send'}
|
||||
|
@ -22,7 +22,7 @@ endfunction
|
||||
|
||||
function! SpaceVim#layers#lang#reason#config() abort
|
||||
call SpaceVim#plugins#tasks#reg_provider(funcref('s:reasonml_tasks'))
|
||||
call SpaceVim#mapping#space#regesit_lang_mappings('python', function('s:language_specified_mappings'))
|
||||
call SpaceVim#mapping#space#regesit_lang_mappings('reason', function('s:language_specified_mappings'))
|
||||
endfunction
|
||||
|
||||
function! s:language_specified_mappings() abort
|
||||
|
Loading…
x
Reference in New Issue
Block a user