diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-12-16 18:08:45 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-12-16 18:08:45 +0000 |
| commit | 9e36c0d1efc46859d8349b45deabb01ca7aaf7a0 (patch) | |
| tree | 65553d5e354a34081d7d7b09aac9c53236ce3fba | |
| parent | docs(roslyn_ls): format codeblock #4241 (diff) | |
| download | nvim-lspconfig-9e36c0d1efc46859d8349b45deabb01ca7aaf7a0.tar nvim-lspconfig-9e36c0d1efc46859d8349b45deabb01ca7aaf7a0.tar.gz nvim-lspconfig-9e36c0d1efc46859d8349b45deabb01ca7aaf7a0.tar.bz2 nvim-lspconfig-9e36c0d1efc46859d8349b45deabb01ca7aaf7a0.tar.lz nvim-lspconfig-9e36c0d1efc46859d8349b45deabb01ca7aaf7a0.tar.xz nvim-lspconfig-9e36c0d1efc46859d8349b45deabb01ca7aaf7a0.tar.zst nvim-lspconfig-9e36c0d1efc46859d8349b45deabb01ca7aaf7a0.zip | |
docs: update configs.md
skip-checks: true
| -rw-r--r-- | doc/configs.md | 6 | ||||
| -rw-r--r-- | doc/configs.txt | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/configs.md b/doc/configs.md index 8da82bea..56e39cf2 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -10001,6 +10001,7 @@ Go to `https://dev.azure.com/azure-public/vside/_artifacts/feed/vs-impl/NuGet/Mi replace `<platform>` with one of the following `linux-x64`, `osx-x64`, `win-x64`, `neutral` (for more info on the download location see https://github.com/dotnet/roslyn/issues/71474#issuecomment-2177303207). Download and extract it (nuget's are zip files). - if you chose `neutral` nuget version, then you have to change the `cmd` like so: + ```lua cmd = { 'dotnet', '<my_folder>/Microsoft.CodeAnalysis.LanguageServer.dll', @@ -10010,6 +10011,7 @@ Download and extract it (nuget's are zip files). fs.joinpath(uv.os_tmpdir(), 'roslyn_ls/logs'), '--stdio', }, + ``` where `<my_folder>` has to be the folder you extracted the nuget package to. - for all other platforms put the extracted folder to neovim's PATH (`vim.env.PATH`) @@ -10062,12 +10064,12 @@ Default config: ```lua "utf-8" ``` -- `on_attach`: [../lsp/roslyn_ls.lua:100](../lsp/roslyn_ls.lua#L100) +- `on_attach`: [../lsp/roslyn_ls.lua:102](../lsp/roslyn_ls.lua#L102) - `on_init` : ```lua { <function 1> } ``` -- `root_dir`: [../lsp/roslyn_ls.lua:100](../lsp/roslyn_ls.lua#L100) +- `root_dir`: [../lsp/roslyn_ls.lua:102](../lsp/roslyn_ls.lua#L102) - `settings` : ```lua { diff --git a/doc/configs.txt b/doc/configs.txt index d03669f1..35dbfb51 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -7382,6 +7382,7 @@ Go to `https://dev.azure.com/azure-public/vside/_artifacts/feed/vs-impl/NuGet/Mi replace `<platform>` with one of the following `linux-x64`, `osx-x64`, `win-x64`, `neutral` (for more info on the download location see https://github.com/dotnet/roslyn/issues/71474#issuecomment-2177303207). Download and extract it (nuget's are zip files). - if you chose `neutral` nuget version, then you have to change the `cmd` like so: + ```lua cmd = { 'dotnet', '<my_folder>/Microsoft.CodeAnalysis.LanguageServer.dll', @@ -7391,6 +7392,7 @@ Download and extract it (nuget's are zip files). fs.joinpath(uv.os_tmpdir(), 'roslyn_ls/logs'), '--stdio', }, + ``` where `<my_folder>` has to be the folder you extracted the nuget package to. - for all other platforms put the extracted folder to neovim's PATH (`vim.env.PATH`) @@ -7428,10 +7430,10 @@ Default config: "roslyn_ls" - offset_encoding: >lua "utf-8" -- on_attach (use "gF" to view): ../lsp/roslyn_ls.lua:100 +- on_attach (use "gF" to view): ../lsp/roslyn_ls.lua:102 - on_init: >lua { <function 1> } -- root_dir (use "gF" to view): ../lsp/roslyn_ls.lua:100 +- root_dir (use "gF" to view): ../lsp/roslyn_ls.lua:102 - settings: >lua { ["csharp|background_analysis"] = { |
