C# jump to def
This commit is contained in:
@ -63,6 +63,7 @@
|
|||||||
"nvim-surround": { "branch": "main", "commit": "4f0e1f470595af067eca9b872778d83c7f52f134" },
|
"nvim-surround": { "branch": "main", "commit": "4f0e1f470595af067eca9b872778d83c7f52f134" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "80f66cdef147bd8d8a619dfd9b18da37af5ceaf6" },
|
"nvim-treesitter": { "branch": "master", "commit": "80f66cdef147bd8d8a619dfd9b18da37af5ceaf6" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "5de460ca7595806044eced31e3c36c159a493857" },
|
"nvim-web-devicons": { "branch": "master", "commit": "5de460ca7595806044eced31e3c36c159a493857" },
|
||||||
|
"omnisharp-extended-lsp.nvim": { "branch": "main", "commit": "53edfb413a54c9e55dcddc9e9fa4977a897e4425" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||||
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
||||||
"refactoring.nvim": { "branch": "master", "commit": "5831194debd23920a32abd9fefd5dddba44e34fc" },
|
"refactoring.nvim": { "branch": "master", "commit": "5831194debd23920a32abd9fefd5dddba44e34fc" },
|
||||||
|
5
omnisharp/.omnisharp/omnisharp.json
Normal file
5
omnisharp/.omnisharp/omnisharp.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"RoslynExtensionsOptions": {
|
||||||
|
"enableDecompilationSupport": true
|
||||||
|
}
|
||||||
|
}
|
@ -2,6 +2,7 @@ return {
|
|||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
|
"Hoffs/omnisharp-extended-lsp.nvim",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local TableConcat = require("utils").TableConcat
|
local TableConcat = require("utils").TableConcat
|
||||||
@ -53,6 +54,9 @@ return {
|
|||||||
end,
|
end,
|
||||||
["omnisharp_mono"] = function()
|
["omnisharp_mono"] = function()
|
||||||
require("lspconfig").omnisharp.setup({
|
require("lspconfig").omnisharp.setup({
|
||||||
|
handlers = {
|
||||||
|
["textDocument/definition"] = require("omnisharp_extended").handler,
|
||||||
|
},
|
||||||
-- cmd = { "dotnet", "/path/to/omnisharp/OmniSharp.dll" },
|
-- cmd = { "dotnet", "/path/to/omnisharp/OmniSharp.dll" },
|
||||||
|
|
||||||
-- Enables support for reading code style, naming convention and analyzer
|
-- Enables support for reading code style, naming convention and analyzer
|
||||||
|
Reference in New Issue
Block a user