diff options
| author | github-actions <github-actions@github.com> | 2021-09-12 16:54:32 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2021-09-12 16:54:32 +0000 |
| commit | 83a4c2e935a62a787557fc94a57a3cc8296dcac5 (patch) | |
| tree | 232c6549b7ef3534f385192d8bfaed43b33cc581 /CONFIG.md | |
| parent | chore: improve issue templates (#1253) (diff) | |
| download | nvim-lspconfig-83a4c2e935a62a787557fc94a57a3cc8296dcac5.tar nvim-lspconfig-83a4c2e935a62a787557fc94a57a3cc8296dcac5.tar.gz nvim-lspconfig-83a4c2e935a62a787557fc94a57a3cc8296dcac5.tar.bz2 nvim-lspconfig-83a4c2e935a62a787557fc94a57a3cc8296dcac5.tar.lz nvim-lspconfig-83a4c2e935a62a787557fc94a57a3cc8296dcac5.tar.xz nvim-lspconfig-83a4c2e935a62a787557fc94a57a3cc8296dcac5.tar.zst nvim-lspconfig-83a4c2e935a62a787557fc94a57a3cc8296dcac5.zip | |
[docgen] Update CONFIG.md
skip-checks: true
Diffstat (limited to 'CONFIG.md')
| -rw-r--r-- | CONFIG.md | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -16,6 +16,7 @@ that config. - [cmake](#cmake) - [codeqlls](#codeqlls) - [crystalline](#crystalline) +- [csharp_ls](#csharp_ls) - [cssls](#cssls) - [dartls](#dartls) - [denols](#denols) @@ -540,6 +541,39 @@ require'lspconfig'.crystalline.setup{} ``` +## csharp_ls + +https://github.com/razzmatazz/csharp-language-server + +Language Server for C#. + +csharp-ls requires the [dotnet-sdk](https://dotnet.microsoft.com/download) to be installed. + +The preferred way to install csharp-ls is with `dotnet tool install --global csharp-ls`. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.csharp_ls.setup{} +``` + +**Commands and default values:** +```lua + Commands: + + Default Values: + cmd = { "csharp-ls" } + filetypes = { "cs" } + init_options = { + AutomaticWorkspaceInit = true + } + root_dir = function(startpath) + return M.search_ancestors(startpath, matcher) + end +``` + + ## cssls |
