Fixed extraneous changes
This commit is contained in:
parent
1b037ec871
commit
0b5bb9f3be
@ -19,11 +19,5 @@ function! repl#clojure#open_repl() abort
|
|||||||
let l:args = printf('%s %s', l:repl['repl'], l:repl['opt'])
|
let l:args = printf('%s %s', l:repl['repl'], l:repl['opt'])
|
||||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||||
execute l:vimshell_interactive l:args
|
execute l:vimshell_interactive l:args
|
||||||
let l:resize = ':resize 10'
|
|
||||||
execute l:resize
|
|
||||||
let l:nonum = ':set nonumber'
|
|
||||||
execute l:nonum
|
|
||||||
let l:swp = ':wincmd r'
|
|
||||||
execute l:swp
|
|
||||||
call vimshell#interactive#send(printf('(load-file "%s")', l:module_file))
|
call vimshell#interactive#send(printf('(load-file "%s")', l:module_file))
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -49,12 +49,6 @@ function! repl#erlang#open_repl() abort
|
|||||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||||
|
|
||||||
execute l:vimshell_interactive l:args
|
execute l:vimshell_interactive l:args
|
||||||
let l:resize = ':resize 10'
|
|
||||||
let l:nonum = ':set nonumber'
|
|
||||||
execute l:nonum
|
|
||||||
let l:swp = ':wincmd r'
|
|
||||||
execute l:swp
|
|
||||||
execute l:resize
|
|
||||||
call vimshell#interactive#send(printf('c(%s).', fnamemodify(l:module_file, ':t:r')))
|
call vimshell#interactive#send(printf('c(%s).', fnamemodify(l:module_file, ':t:r')))
|
||||||
execute 'cd' l:pwd
|
execute 'cd' l:pwd
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -19,10 +19,4 @@ function! repl#haskell#open_repl() abort
|
|||||||
let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file)
|
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)
|
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||||
execute l:vimshell_interactive l:args
|
execute l:vimshell_interactive l:args
|
||||||
let l:resize = ':resize 10'
|
|
||||||
execute l:resize
|
|
||||||
let l:nonum = ':set nonumber'
|
|
||||||
execute l:nonum
|
|
||||||
let l:swp = ':wincmd r'
|
|
||||||
execute l:swp
|
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -19,10 +19,4 @@ function! repl#idris#open_repl() abort
|
|||||||
let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file)
|
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)
|
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||||
execute l:vimshell_interactive l:args
|
execute l:vimshell_interactive l:args
|
||||||
let l:resize = ':resize 10'
|
|
||||||
execute l:resize
|
|
||||||
let l:nonum = ':set nonumber'
|
|
||||||
execute l:nonum
|
|
||||||
let l:swp = ':wincmd r'
|
|
||||||
execute l:swp
|
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -19,12 +19,7 @@ function! repl#javascript#open_repl() abort
|
|||||||
endif
|
endif
|
||||||
let l:args = printf('%s %s', l:repl['repl'], l:repl['opt'])
|
let l:args = printf('%s %s', l:repl['repl'], l:repl['opt'])
|
||||||
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||||
execute l:vimshell_interactive l:args
|
l:swp = ':wincmd r'
|
||||||
let l:resize = ':resize 10'
|
|
||||||
execute l:resize
|
|
||||||
let l:nonum = ':set nonumber'
|
|
||||||
execute l:nonum
|
|
||||||
let l:swp = ':wincmd r'
|
|
||||||
execute l:swp
|
execute l:swp
|
||||||
call vimshell#interactive#send('.load ' . l:module_file)
|
call vimshell#interactive#send('.load ' . l:module_file)
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -19,10 +19,4 @@ function! repl#python#open_repl() abort
|
|||||||
let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file)
|
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)
|
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||||
execute l:vimshell_interactive l:args
|
execute l:vimshell_interactive l:args
|
||||||
let l:resize = ':resize 10'
|
|
||||||
execute l:resize
|
|
||||||
let l:nonum = ':set nonumber'
|
|
||||||
execute l:nonum
|
|
||||||
let l:swp = ':wincmd r'
|
|
||||||
execute l:swp
|
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -18,10 +18,4 @@ function! repl#ruby#open_repl() abort
|
|||||||
let l:args = printf('%s %s %s', l:repl['repl'], l:repl['opt'], l:module_file)
|
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)
|
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||||
execute l:vimshell_interactive l:args
|
execute l:vimshell_interactive l:args
|
||||||
let l:resize = ':resize 10'
|
|
||||||
execute l:resize
|
|
||||||
let l:nonum = ':set nonumber'
|
|
||||||
execute l:nonum
|
|
||||||
let l:swp = ':wincmd r'
|
|
||||||
execute l:swp
|
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -17,11 +17,5 @@ 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: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)
|
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
|
||||||
execute l:vimshell_interactive l:args
|
execute l:vimshell_interactive l:args
|
||||||
let l:resize = ':resize 10'
|
|
||||||
execute l:resize
|
|
||||||
let l:nonum = ':set nonumber'
|
|
||||||
execute l:nonum
|
|
||||||
let l:swp = ':wincmd r'
|
|
||||||
execute l:swp
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user