Fixed extraneous changes

This commit is contained in:
s-zeng 2017-10-04 20:48:22 -04:00
parent 1b037ec871
commit 0b5bb9f3be
8 changed files with 1 additions and 48 deletions

View File

@ -19,11 +19,5 @@ 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
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))
endfunction

View File

@ -49,12 +49,6 @@ function! repl#erlang#open_repl() abort
let l:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
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')))
execute 'cd' l:pwd
endfunction

View File

@ -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:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
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

View File

@ -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:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
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

View File

@ -19,12 +19,7 @@ function! repl#javascript#open_repl() abort
endif
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
let l:nonum = ':set nonumber'
execute l:nonum
let l:swp = ':wincmd r'
l:swp = ':wincmd r'
execute l:swp
call vimshell#interactive#send('.load ' . l:module_file)
endfunction

View File

@ -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:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
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

View File

@ -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:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
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

View File

@ -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:vimshell_interactive = ':VimShellInteractive' . printf("--split='%s'", g:repl_split_command)
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