Set default repl size to 10
This commit is contained in:
parent
33ce6a44e9
commit
2df9d43738
@ -19,5 +19,7 @@ function! repl#clojure#open_repl() abort
|
||||
let l:args = printf('%s %s', l:repl['repl'], l:repl['opt'])
|
||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||
execute l:vimshell_interactive l:args
|
||||
let l:resize = ':resize 10'
|
||||
execute l:resize
|
||||
call vimshell#interactive#send(printf('(load-file "%s")', l:module_file))
|
||||
endfunction
|
||||
|
@ -49,6 +49,7 @@ function! repl#erlang#open_repl() abort
|
||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||
|
||||
execute l:vimshell_interactive l:args
|
||||
call vimshell#interactive#send(printf('c(%s).', fnamemodify(l:module_file, ':t:r')))
|
||||
let l:resize = ':resize 10'
|
||||
execute l:resize call vimshell#interactive#send(printf('c(%s).', fnamemodify(l:module_file, ':t:r')))
|
||||
execute 'cd' l:pwd
|
||||
endfunction
|
||||
|
@ -19,4 +19,6 @@ function! repl#haskell#open_repl() abort
|
||||
let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file)
|
||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||
execute l:vimshell_interactive l:args
|
||||
let l:resize = ':resize 10'
|
||||
execute l:resize
|
||||
endfunction
|
||||
|
@ -19,4 +19,6 @@ function! repl#idris#open_repl() abort
|
||||
let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file)
|
||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||
execute l:vimshell_interactive l:args
|
||||
let l:resize = ':resize 10'
|
||||
execute l:resize
|
||||
endfunction
|
||||
|
@ -20,5 +20,7 @@ function! repl#javascript#open_repl() abort
|
||||
let l:args = printf('%s %s', l:repl['repl'], l:repl['opt'])
|
||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||
execute l:vimshell_interactive l:args
|
||||
let l:resize = ':resize 10'
|
||||
execute l:resize
|
||||
call vimshell#interactive#send('.load ' . l:module_file)
|
||||
endfunction
|
||||
|
@ -19,4 +19,6 @@ function! repl#python#open_repl() abort
|
||||
let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file)
|
||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||
execute l:vimshell_interactive l:args
|
||||
let l:test = ':resize 10'
|
||||
execute l:test
|
||||
endfunction
|
||||
|
@ -18,4 +18,6 @@ function! repl#ruby#open_repl() abort
|
||||
let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file)
|
||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||
execute l:vimshell_interactive l:args
|
||||
let l:resize = ':resize 10'
|
||||
execute l:resize
|
||||
endfunction
|
||||
|
@ -17,5 +17,7 @@ function! repl#scheme#open_repl() abort
|
||||
let l:args = printf('%s -f %s %s', l:repl['repl'], l:module_file, l:repl['opt'])
|
||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||
execute l:vimshell_interactive l:args
|
||||
let l:resize = ':resize 10'
|
||||
execute l:resize
|
||||
endfunction
|
||||
|
||||
|
Reference in New Issue
Block a user