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:
aiya000 2015-12-22 23:18:06 +09:00
parent 2069651e55
commit 2d18b5e192
1 changed files with 2 additions and 2 deletions

View File

@ -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>