2022-01-23 20:38:27 +01:00
|
|
|
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::lang fsharp][Issues]] ↖ [[doom-repo:tree/develop/modules/lang/fsharp/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
2021-10-16 01:28:32 +02:00
|
|
|
--------------------------------------------------------------------------------
|
2022-03-28 15:03:21 +02:00
|
|
|
#+title: :lang fsharp
|
|
|
|
#+subtitle: ML stands for Microsoft's Language
|
|
|
|
#+created: May 23, 2019
|
|
|
|
#+since: 21.12.0 (#1327)
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
* Description :unfold:
|
|
|
|
This module adds [[https://fsharp.org/][F#]] support to Doom Emacs.
|
|
|
|
|
|
|
|
*Includes:*
|
|
|
|
- Code completion
|
|
|
|
- eldoc support
|
|
|
|
- Syntax checking
|
|
|
|
|
|
|
|
** Maintainers
|
|
|
|
/This module has no dedicated maintainers./ [[doom-contrib-maintainer:][Become a maintainer?]]
|
|
|
|
|
|
|
|
** Module flags
|
|
|
|
- +lsp ::
|
|
|
|
Enable LSP support for ~fsharp-mode~. Requires [[doom-module:][:tools lsp]] and a langserver
|
|
|
|
(supports [[https://github.com/emacs-lsp/lsp-mode/blob/master/clients/lsp-fsharp.el][lsp-fsharp]].).
|
|
|
|
|
|
|
|
** Packages
|
|
|
|
- [[doom-package:][fsharp-mode]]
|
|
|
|
- [[doom-package:][lsp-fsharp]] if [[doom-package:][+lsp]]
|
|
|
|
|
2019-05-22 21:58:05 -07:00
|
|
|
** Hacks
|
2021-10-16 01:28:32 +02:00
|
|
|
/No hacks documented for this module./
|
|
|
|
|
|
|
|
** TODO Changelog
|
|
|
|
# This section will be machine generated. Don't edit it by hand.
|
|
|
|
/This module does not have a changelog yet./
|
|
|
|
|
|
|
|
* Installation
|
|
|
|
[[id:01cffea4-3329-45e2-a892-95a384ab2338][Enable this module in your ~doom!~ block.]]
|
|
|
|
|
|
|
|
To get code completion/syntax checking when not using lsp, you will need to
|
|
|
|
install [[https://www.mono-project.com/][mono]].
|
2019-05-22 21:58:05 -07:00
|
|
|
|
|
|
|
** Mono
|
|
|
|
*** OSX
|
2021-10-16 01:28:32 +02:00
|
|
|
*Do NOT install mono via brew.* See this [[https://github.com/fsharp/FsAutoComplete/issues/331][issue]].
|
|
|
|
|
2019-05-22 21:58:05 -07:00
|
|
|
*** Arch Linux
|
2021-10-16 01:28:32 +02:00
|
|
|
#+begin_src sh
|
|
|
|
pacman -S mono
|
|
|
|
#+end_src
|
|
|
|
|
2019-07-05 10:37:16 -07:00
|
|
|
** LSP
|
2021-01-13 01:13:38 -05:00
|
|
|
The language server is automatically installed by [[https://github.com/emacs-lsp/lsp-mode/blob/master/clients/lsp-fsharp.el][lsp-fsharp]].
|
2019-05-22 21:58:05 -07:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
* TODO Usage
|
|
|
|
#+begin_quote
|
|
|
|
🔨 This module has no usage documentation yet. [[doom-contrib-module:][Write some?]]
|
|
|
|
#+end_quote
|
|
|
|
|
|
|
|
* TODO Configuration
|
|
|
|
#+begin_quote
|
|
|
|
🔨 This module has no configuration documentation yet. [[doom-contrib-module:][Write some?]]
|
|
|
|
#+end_quote
|
2019-05-22 21:58:05 -07:00
|
|
|
|
|
|
|
* Troubleshooting
|
2021-10-16 01:28:32 +02:00
|
|
|
/There are no known problems with this module./ [[doom-report:][Report one?]]
|
|
|
|
|
|
|
|
* Frequently asked questions
|
|
|
|
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
|
|
|
|
|
|
|
|
* TODO Appendix
|
|
|
|
#+begin_quote
|
|
|
|
🔨 This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
|
|
|
#+end_quote
|