diff options
docs(omnisharp) : add goto definition handler information for omnisharp (#2427)
Diffstat (limited to 'lua/lspconfig/server_configurations/omnisharp.lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/omnisharp.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/omnisharp.lua b/lua/lspconfig/server_configurations/omnisharp.lua index 0ad8b6a1..837d7f51 100644 --- a/lua/lspconfig/server_configurations/omnisharp.lua +++ b/lua/lspconfig/server_configurations/omnisharp.lua @@ -91,6 +91,8 @@ OmniSharp requires the [dotnet-sdk](https://dotnet.microsoft.com/download) to be **By default, omnisharp-roslyn doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of the unzipped run script or binary. +For `go_to_definition` to work fully, extended `textDocument/definition` handler is needed, for example see [omnisharp-extended-lsp.nvim](https://github.com/Hoffs/omnisharp-extended-lsp.nvim) + ```lua require'lspconfig'.omnisharp.setup { cmd = { "dotnet", "/path/to/omnisharp/OmniSharp.dll" }, |
