diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-04-18 17:44:38 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-04-18 17:44:38 +0200 |
| commit | f8b5cbe6312b568def1f91d747e2cdb8984fdf2e (patch) | |
| tree | c1baf319b22d8ccc7d3468276b5ba9a26dfa2775 /lsp/fsautocomplete.lua | |
| parent | feat: angularls #3746 (diff) | |
| download | nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.gz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.bz2 nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.lz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.xz nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.zst nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.zip | |
docs: cleanup
- brief should live at the top of each file
- fix indentation for some docs
Diffstat (limited to 'lsp/fsautocomplete.lua')
| -rw-r--r-- | lsp/fsautocomplete.lua | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/lsp/fsautocomplete.lua b/lsp/fsautocomplete.lua index 6cd8b8e4..335da670 100644 --- a/lsp/fsautocomplete.lua +++ b/lsp/fsautocomplete.lua @@ -1,23 +1,24 @@ -local util = require 'lspconfig.util' - ---@brief --- --- 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). --- +--- 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). +--- + +local util = require 'lspconfig.util' + return { cmd = { 'fsautocomplete', '--adaptive-lsp-server-enabled' }, root_dir = function(bufnr, on_dir) |
