Skip to content

Instantly share code, notes, and snippets.

@syusui-s
Last active February 24, 2021 12:00
Show Gist options
  • Select an option

  • Save syusui-s/3a6b5b578f1c54a9bf9b497303b1267e to your computer and use it in GitHub Desktop.

Select an option

Save syusui-s/3a6b5b578f1c54a9bf9b497303b1267e to your computer and use it in GitHub Desktop.
vim-quickrun runner plugin for F# Script (.fsx) : run your .fsx more quickly
let g:quickrun_config.fsharp = {
\ 'type': 'fsharp/concurrent_process/dotnet_fsi',
\ }
let g:quickrun_config["fsharp/concurrent_process/dotnet_fsi"] = {
\ 'runner': 'concurrent_process',
\ 'command': 'dotnet',
\ 'cmdopt': 'fsi',
\ 'runner/concurrent_process/load': '#load "%S";;',
\ 'runner/concurrent_process/prompt': '> $',
\ 'tempfile': '%{tempname()}.fsx',
\ }
let g:quickrun_config["fsharp/concurrent_process/fsharpi"] = {
\ 'runner': 'concurrent_process',
\ 'command': 'fsharpi',
\ 'runner/concurrent_process/load': '#load "%S";;',
\ 'runner/concurrent_process/prompt': '> $',
\ 'tempfile': '%{tempname()}.fsx',
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment