diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-11-24 23:01:07 -0500 |
|---|---|---|
| committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-11-25 23:46:21 -0500 |
| commit | 6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e (patch) | |
| tree | 7f2bf25ca5456b23304295dba8fe0005e85a5c10 /lua/lspconfig/fsautocomplete.lua | |
| parent | fix: only set cmd_cwd if filepath exists (#1485) (diff) | |
| download | nvim-lspconfig-6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e.tar nvim-lspconfig-6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e.tar.gz nvim-lspconfig-6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e.tar.bz2 nvim-lspconfig-6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e.tar.lz nvim-lspconfig-6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e.tar.xz nvim-lspconfig-6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e.tar.zst nvim-lspconfig-6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e.zip | |
feat: expose configs
Diffstat (limited to 'lua/lspconfig/fsautocomplete.lua')
| -rw-r--r-- | lua/lspconfig/fsautocomplete.lua | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lua/lspconfig/fsautocomplete.lua b/lua/lspconfig/fsautocomplete.lua deleted file mode 100644 index c4aa173c..00000000 --- a/lua/lspconfig/fsautocomplete.lua +++ /dev/null @@ -1,35 +0,0 @@ -local configs = require 'lspconfig/configs' -local util = require 'lspconfig/util' - -local server_name = 'fsautocomplete' - -configs[server_name] = { - default_config = { - cmd = { 'dotnet', 'fsautocomplete', '--background-service-enabled' }, - root_dir = util.root_pattern('*.sln', '*.fsproj', '.git'), - filetypes = { 'fsharp' }, - init_options = { - AutomaticWorkspaceInit = true, - }, - }, - docs = { - description = [[ -https://github.com/fsharp/FsAutoComplete - -Language Server for F# provided by FsAutoComplete (FSAC). - -FsAutoComplete requires the [dotnet-sdk](https://dotnet.microsoft.com/download) to be installed. - -The preferred way to install FsAutoComplete is with `dotnet tool install --global fsautocomplete`. - -Instructions to compile from source are found on the main [repository](https://github.com/fsharp/FsAutoComplete). - -You may also need to configure the filetype as Vim defaults to Forth for `*.fs` files: - -`autocmd BufNewFile,BufRead *.fs,*.fsx,*.fsi set filetype=fsharp` - -This is automatically done by plugins such as [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). - - ]], - }, -} |
