Document F# lsp flag

This commit is contained in:
Reed Mullanix 2019-07-05 10:37:16 -07:00
parent 9c950ff3f6
commit e831607335

View file

@ -12,6 +12,7 @@
- [[#mono][Mono]] - [[#mono][Mono]]
- [[#osx][OSX]] - [[#osx][OSX]]
- [[#arch-linux][Arch Linux]] - [[#arch-linux][Arch Linux]]
- [[#lsp][LSP]]
- [[#features][Features]] - [[#features][Features]]
- [[#configuration][Configuration]] - [[#configuration][Configuration]]
- [[#troubleshooting][Troubleshooting]] - [[#troubleshooting][Troubleshooting]]
@ -28,22 +29,25 @@ This module adds [[https://fsharp.org/][F#]] support.
+ Syntax checking + Syntax checking
** Module Flags ** Module Flags
This module provides no flags. + =+lsp= Enables lsp-fsharp (this requires ~:tools lsp~ to be enabled).
** Plugins ** Plugins
+ [[https://github.com/fsharp/emacs-fsharp-mod+e][fsharp-mode]] + [[https://github.com/fsharp/emacs-fsharp-mod+e][fsharp-mode]]
+ =+lsp=
+ [[https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-fsharp.el][lsp-fsharp]]
** Hacks ** Hacks
None so far. None so far.
* Prerequisites * Prerequisites
** Mono ** Mono
To get code completion/syntax checking, you will need to install [[https://www.mono-project.com/][mono]]. To get code completion/syntax checking when not using lsp, you will need to install [[https://www.mono-project.com/][mono]].
*** OSX *** OSX
Do *NOT* install mono via brew. See this [[https://github.com/fsharp/FsAutoComplete/issues/331][issue]]. Do *NOT* install mono via brew. See this [[https://github.com/fsharp/FsAutoComplete/issues/331][issue]].
*** Arch Linux *** Arch Linux
#+BEGIN_SRC sh #+BEGIN_SRC sh
sudo pacman -S mono sudo pacman -S mono
#+END_SRC #+END_SRC
** LSP
The language server is automatically installed by [[https://github.com/emacs-lsp/lsp-mode/blob/master/lsp-fsharp.el][lsp-fsharp]].
* Features * Features
An in-depth list of features, how to use them, and their dependencies. An in-depth list of features, how to use them, and their dependencies.