summaryrefslogtreecommitdiffstats
path: root/autoload/fsharp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/fsharp.vim')
-rw-r--r--autoload/fsharp.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/fsharp.vim b/autoload/fsharp.vim
index 958fc0c1..7ce4ab2f 100644
--- a/autoload/fsharp.vim
+++ b/autoload/fsharp.vim
@@ -467,10 +467,10 @@ function! fsharp#sendFsi(text)
if fsharp#openFsi(!g:fsharp#fsi_focus_on_send) > 0
" Neovim
if has('nvim')
- call chansend(s:fsi_job, a:text . ";;". "\n")
+ call chansend(s:fsi_job, a:text . "\n" . ";;". "\n")
" Vim 8
else
- call term_sendkeys(s:fsi_buffer, a:text . ";;" . "\<cr>")
+ call term_sendkeys(s:fsi_buffer, a:text . "\<cr>" . ";;" . "\<cr>")
call term_wait(s:fsi_buffer)
endif
endif