diff options
| author | github-actions <github-actions@github.com> | 2022-10-12 06:18:08 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2022-10-12 06:18:08 +0000 |
| commit | 28ec7c4f4ad4701a88024fb8105ac7baff7d4f2a (patch) | |
| tree | 437650d60b89f2b229abc1d478a10e9fa51bbac0 /doc | |
| parent | feat: add fsharp-language-server (#2186) (diff) | |
| download | nvim-lspconfig-28ec7c4f4ad4701a88024fb8105ac7baff7d4f2a.tar nvim-lspconfig-28ec7c4f4ad4701a88024fb8105ac7baff7d4f2a.tar.gz nvim-lspconfig-28ec7c4f4ad4701a88024fb8105ac7baff7d4f2a.tar.bz2 nvim-lspconfig-28ec7c4f4ad4701a88024fb8105ac7baff7d4f2a.tar.lz nvim-lspconfig-28ec7c4f4ad4701a88024fb8105ac7baff7d4f2a.tar.xz nvim-lspconfig-28ec7c4f4ad4701a88024fb8105ac7baff7d4f2a.tar.zst nvim-lspconfig-28ec7c4f4ad4701a88024fb8105ac7baff7d4f2a.zip | |
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/server_configurations.md | 49 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 49 |
2 files changed, 98 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 5c1b9fdf..087cedef 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -52,6 +52,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [foam_ls](#foam_ls) - [fortls](#fortls) - [fsautocomplete](#fsautocomplete) +- [fsharp_language_server](#fsharp_language_server) - [fstar](#fstar) - [gdscript](#gdscript) - [ghcide](#ghcide) @@ -2193,6 +2194,54 @@ require'lspconfig'.fsautocomplete.setup{} ``` +## fsharp_language_server + +F# Language Server +https://github.com/faldor20/fsharp-language-server + +An implementation of the language server protocol using the F# Compiler Service. + +Build the project from source and override the command path to location of DLL. + +If filetype determination is not already performed by an available plugin ([PhilT/vim-fsharp](https://github.com/PhilT/vim-fsharp), [fsharp/vim-fsharp](https://github.com/fsharp/vim-fsharp), and [adelarsq/neofsharp.vim](https://github.com/adelarsq/neofsharp.vim). +), then the following must be added to initialization configuration: + + +`autocmd BufNewFile,BufRead *.fs,*.fsx,*.fsi set filetype=fsharp` + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.fsharp_language_server.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "dotnet", "FSharpLanguageServer.dll" } + ``` + - `filetypes` : + ```lua + { "fsharp" } + ``` + - `init_options` : + ```lua + { + AutomaticWorkspaceInit = true + } + ``` + - `root_dir` : + ```lua + see source file + ``` + - `settings` : + ```lua + {} + ``` + + ## fstar https://github.com/FStarLang/FStar diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 5c1b9fdf..087cedef 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -52,6 +52,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [foam_ls](#foam_ls) - [fortls](#fortls) - [fsautocomplete](#fsautocomplete) +- [fsharp_language_server](#fsharp_language_server) - [fstar](#fstar) - [gdscript](#gdscript) - [ghcide](#ghcide) @@ -2193,6 +2194,54 @@ require'lspconfig'.fsautocomplete.setup{} ``` +## fsharp_language_server + +F# Language Server +https://github.com/faldor20/fsharp-language-server + +An implementation of the language server protocol using the F# Compiler Service. + +Build the project from source and override the command path to location of DLL. + +If filetype determination is not already performed by an available plugin ([PhilT/vim-fsharp](https://github.com/PhilT/vim-fsharp), [fsharp/vim-fsharp](https://github.com/fsharp/vim-fsharp), and [adelarsq/neofsharp.vim](https://github.com/adelarsq/neofsharp.vim). +), then the following must be added to initialization configuration: + + +`autocmd BufNewFile,BufRead *.fs,*.fsx,*.fsi set filetype=fsharp` + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.fsharp_language_server.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "dotnet", "FSharpLanguageServer.dll" } + ``` + - `filetypes` : + ```lua + { "fsharp" } + ``` + - `init_options` : + ```lua + { + AutomaticWorkspaceInit = true + } + ``` + - `root_dir` : + ```lua + see source file + ``` + - `settings` : + ```lua + {} + ``` + + ## fstar https://github.com/FStarLang/FStar |
