added roslyn csharp lsp
This commit is contained in:
@@ -108,6 +108,16 @@ function M.install_plugins()
|
|||||||
ft = "lua", -- only load on lua files
|
ft = "lua", -- only load on lua files
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- CSHARP
|
||||||
|
{
|
||||||
|
"seblyng/roslyn.nvim",
|
||||||
|
---@module 'roslyn.config'
|
||||||
|
---@type RoslynNvimConfig
|
||||||
|
opts = {
|
||||||
|
-- your configuration comes here; leave empty for default settings
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -138,7 +138,12 @@ cmp.setup({
|
|||||||
mapping = cmp.mapping.preset.insert(mapping),
|
mapping = cmp.mapping.preset.insert(mapping),
|
||||||
})
|
})
|
||||||
|
|
||||||
require("mason").setup()
|
require("mason").setup({
|
||||||
|
registries = {
|
||||||
|
"github:mason-org/mason-registry",
|
||||||
|
"github:Crashdummyy/mason-registry",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
local html_filetypes = { "html", "templ", "htmldjango" }
|
local html_filetypes = { "html", "templ", "htmldjango" }
|
||||||
|
|
||||||
@@ -172,4 +177,5 @@ vim.lsp.enable({
|
|||||||
"templ",
|
"templ",
|
||||||
"ts_ls",
|
"ts_ls",
|
||||||
"zls",
|
"zls",
|
||||||
|
"roslyn",
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user