Fix g:repl_filetype_repl problem
g:repl_filetype_repl didn't functioned.
This commit is contained in:
parent
3d995ceed7
commit
9171179f16
@ -7,6 +7,7 @@ let s:save_cpo = &cpo
|
|||||||
set cpo&vim
|
set cpo&vim
|
||||||
"-------------------"
|
"-------------------"
|
||||||
|
|
||||||
|
" If didn't define g:repl_filetype_repl, repl.vim use this
|
||||||
let g:repl#default_filetype_repl = {
|
let g:repl#default_filetype_repl = {
|
||||||
\ 'haskell' : {
|
\ 'haskell' : {
|
||||||
\ 'repl' : 'ghci',
|
\ 'repl' : 'ghci',
|
||||||
@ -25,6 +26,7 @@ let g:repl#default_filetype_repl = {
|
|||||||
\ 'opt' : ''
|
\ 'opt' : ''
|
||||||
\ }
|
\ }
|
||||||
\}
|
\}
|
||||||
|
call extend(g:repl#default_filetype_repl, get(g:, 'repl_filetype_repl', {}))
|
||||||
|
|
||||||
" 'split' or 'vertical split'
|
" 'split' or 'vertical split'
|
||||||
let g:repl_split_command = get(g:, 'repl_split_command', 'split')
|
let g:repl_split_command = get(g:, 'repl_split_command', 'split')
|
||||||
|
Reference in New Issue
Block a user