1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 04:10:06 +08:00
SpaceVim/docs/layers/lang/fsharp.md
Wang Shidong cef2c5bf8d
Add lang#fsharp layer (#2081)
* Add lang#fsharp layer
2018-08-25 20:48:00 +08:00

1.2 KiB

title description
SpaceVim lang#fsharp layer This layer adds fsharp language support to SpaceVim

Available Layers >> lang#fsharp

Description

This layer adds fsharp language support to SpaceVim.

Features

  • syntax highlighting, indent provide by vim-fsharp
  • REPL support

Install

Install fsharp on Archlinux:

yaourt -S fsharp-git

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

[[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 Binding Description
SPC l s b send buffer and keep code buffer focused
SPC l s l send line and keep code buffer focused
SPC l s s send selection text and keep code buffer focused