C# jump to def

This commit is contained in:
Christian Nieves
2023-11-05 22:42:59 -06:00
parent 463dacc5ee
commit 048dd9544a
3 changed files with 10 additions and 0 deletions

View File

@ -63,6 +63,7 @@
"nvim-surround": { "branch": "main", "commit": "4f0e1f470595af067eca9b872778d83c7f52f134" },
"nvim-treesitter": { "branch": "master", "commit": "80f66cdef147bd8d8a619dfd9b18da37af5ceaf6" },
"nvim-web-devicons": { "branch": "master", "commit": "5de460ca7595806044eced31e3c36c159a493857" },
"omnisharp-extended-lsp.nvim": { "branch": "main", "commit": "53edfb413a54c9e55dcddc9e9fa4977a897e4425" },
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
"refactoring.nvim": { "branch": "master", "commit": "5831194debd23920a32abd9fefd5dddba44e34fc" },

View File

@ -0,0 +1,5 @@
{
"RoslynExtensionsOptions": {
"enableDecompilationSupport": true
}
}

View File

@ -2,6 +2,7 @@ return {
"williamboman/mason-lspconfig.nvim",
dependencies = {
"williamboman/mason.nvim",
"Hoffs/omnisharp-extended-lsp.nvim",
},
config = function()
local TableConcat = require("utils").TableConcat
@ -53,6 +54,9 @@ return {
end,
["omnisharp_mono"] = function()
require("lspconfig").omnisharp.setup({
handlers = {
["textDocument/definition"] = require("omnisharp_extended").handler,
},
-- cmd = { "dotnet", "/path/to/omnisharp/OmniSharp.dll" },
-- Enables support for reading code style, naming convention and analyzer