Fix g:repl_filetype_repl problem
.vimrc ``` let g:repl_filetype_repl = { \ 'python' : { \ 'repl' : 'python2', \ 'opt' : '-i' \ } \} ``` and run other repl.
This commit is contained in:
parent
2069651e55
commit
2d18b5e192
@ -7,7 +7,7 @@ let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
"#--- --- ---#"
|
||||
|
||||
let g:repl#default_filetype_repl = get(g:, 'repl_filetype_repl', {
|
||||
let g:repl#default_filetype_repl = {
|
||||
\ 'haskell' : {
|
||||
\ 'repl' : 'ghci',
|
||||
\ 'opt' : ''
|
||||
@ -24,7 +24,7 @@ let g:repl#default_filetype_repl = get(g:, 'repl_filetype_repl', {
|
||||
\ 'repl' : 'erl',
|
||||
\ 'opt' : ''
|
||||
\ }
|
||||
\})
|
||||
\}
|
||||
|
||||
command! -bar -nargs=0 Repl call repl#run_repl()
|
||||
nnoremap <Plug>(repl-run) :<C-u>Repl<CR>
|
||||
|
Reference in New Issue
Block a user