Open callmekohei opened 6 years ago
I don't have F# environment so could you try other major language?
Thank you for your rapid reply. So I'll try another major langage. 😄
I try it with csharp script ( csx ). A same thing happened. But quickrun just work after insert mode.
minimal.vimrc
" set path
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/vimproc.vim
set runtimepath+=~/.cache/dein/repos/github.com/thinca/vim-quickrun
" turn on plugins
set nocompatible
filetype plugin indent on
syntax enable
let s:foo = {
\ 'command' : 'csi'
\ ,'runner' : 'concurrent_process'
\ ,'runner/concurrent_process/load' : '#load "%S";;'
\ ,'runner/concurrent_process/prompt': '> '
\}
autocmd BufReadPost *.csx call quickrun#run( s:foo )
foo.csx
#r "/usr/local/Cellar/mono/5.4.1.6/lib/mono/4.7-api/Facades/System.Runtime.dll"
using System;
Console.WriteLine("Hello");
launch
$ vim -N -u minimal.vimrc foo.csx
like this
use Neovim
@raa0121 @thinca
日本語でいきませう!
<C-w>l
でバッファを移動したら、スクショのように、ちゃんと表示されました。
バッファを移動するまでは :-)
の表示のままでした
set runtimepath+=~/.bundle/vimproc.vim
set runtimepath+=~/.bundle/vim-quickrun
set nocompatible
filetype plugin indent on
syntax enable
let s:foo = {
\ 'command' : 'fsharpi --readline-'
\ ,'runner' : 'concurrent_process'
\ ,'runner/concurrent_process/load' : '#load "%S";;'
\ ,'runner/concurrent_process/prompt': '> '
\}
autocmd BufReadPost *.fsx call quickrun#run( s:foo )
@raa0121 さんが検証された <C-w>l
コマンドをこちらの環境で動作させると10回に一度は表示されました!
10回に1回ほど表示が出る
大体は表示が出ない
Problems summary
quick-run can not execute well at vim's launch.
Expected
quick-run can execute well at vim's launch.
Environment Information
quickrun version(SHA1):
OS:
neovim/Vim
:version
output:$ nvim --version NVIM v0.3.0-1139-g35cc15e15 Build type: Release LuaJIT 2.0.5
The reproduce ways from neovim/Vim starting (Required!)
launch
F#
fileWork around
Use
Neovim