This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/fsharp/README.org
2018-10-11 00:13:43 +03:00

1.8 KiB

F# layer

/TakeV/spacemacs/media/commit/9da5da1d2e9a3c92b035046d34d3bc2ae3d3eb9a/layers/+lang/fsharp/img/fsharp.png

Description

This layer adds support for F# language using fsharpbinding and fsharp-mode.

Features:

  • Syntax highlighting
  • Code completion
  • Flycheck integration
  • REPL
  • Compile/Run/Interpreter and info tooltip shortcuts

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add fsharp to the existing dotspacemacs-configuration-layers list in this file.

Key Bindings

Key Binding Description
SPC m c c Build the project
SPC m g g Go to definition at point
SPC m h t Show tooltip help at point

REPL

Key Binding Description
SPC m s b Send buffer to the REPL
SPC m s B Send buffer to the REPL and switch to the REPL in insert state
SPC m s i Start a REPL
SPC m s p Send phrase to the REPL
SPC m s P Send phrase to the REPL and switch to the REPL in insert state
SPC m s r Send region to the REPL
SPC m s R Send region to the REPL and switch to the REPL in insert state
SPC m s s Show the REPL