diff options
Diffstat (limited to 'doc/configs.txt')
| -rw-r--r-- | doc/configs.txt | 6 |
1 files changed, 4 insertions, 2 deletions
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"] = { |
