mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
Fix R REPL running (#3253)
This commit is contained in:
parent
24da07159a
commit
3b1043186b
@ -18,7 +18,7 @@ function! SpaceVim#layers#lang#r#set_variable(var) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! SpaceVim#layers#lang#r#config() abort
|
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'))
|
call SpaceVim#mapping#space#regesit_lang_mappings('r', function('s:language_specified_mappings'))
|
||||||
if !empty(s:r_repl_command)
|
if !empty(s:r_repl_command)
|
||||||
call SpaceVim#plugins#repl#reg('r',s:r_repl_command)
|
call SpaceVim#plugins#repl#reg('r',s:r_repl_command)
|
||||||
|
Loading…
Reference in New Issue
Block a user