From 6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Wed, 24 Nov 2021 23:01:07 -0500 Subject: feat: expose configs --- lua/lspconfig/fsautocomplete.lua | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 lua/lspconfig/fsautocomplete.lua (limited to 'lua/lspconfig/fsautocomplete.lua') 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). - - ]], - }, -} -- cgit v1.2.3-70-g09d2