1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 12:50:04 +08:00

Fix R REPL running (#3253)

This commit is contained in:
Jethro Cao 2019-12-13 06:41:38 +07:00 committed by Wang Shidong
parent 24da07159a
commit 3b1043186b

View File

@ -18,7 +18,7 @@ function! SpaceVim#layers#lang#r#set_variable(var) abort
endfunction
function! SpaceVim#layers#lang#r#config() abort
call SpaceVim#plugins#runner#reg_runner('r', 'r %s')
call SpaceVim#plugins#runner#reg_runner('r', 'R --vanilla <%s')
call SpaceVim#mapping#space#regesit_lang_mappings('r', function('s:language_specified_mappings'))
if !empty(s:r_repl_command)
call SpaceVim#plugins#repl#reg('r',s:r_repl_command)