Back to Spacevim

SpaceVim lang#fsharp layer

docs/layers/lang/fsharp.md

2.4.01.1 KB
Original Source

Available Layers >> lang#fsharp

<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc -->

Description

This layer adds FSharp language support to SpaceVim.

Features

  • syntax highlighting, indentation provided by vim-fsharp
  • REPL support

Install

Install FSharp on Archlinux:

sh
yaourt -S fsharp-git

To use this configuration layer, update your custom configuration file with:

toml
[[layers]]
  name = "lang#fsharp"

Key bindings

Inferior REPL process

Start a fsharpi --readline- inferior REPL process with SPC l s i.

Send code to inferior process commands:

Key BindingsDescriptions
SPC l s bsend buffer and keep code buffer focused
SPC l s lsend line and keep code buffer focused
SPC l s ssend selection text and keep code buffer focused