added roslyn csharp lsp

This commit is contained in:
Long Nguyen
2025-09-17 12:18:53 -05:00
parent 6ac6d697dd
commit 4877cb4e0b
2 changed files with 17 additions and 1 deletions
+10
View File
@@ -108,6 +108,16 @@ function M.install_plugins()
ft = "lua", -- only load on lua files
opts = {},
},
-- CSHARP
{
"seblyng/roslyn.nvim",
---@module 'roslyn.config'
---@type RoslynNvimConfig
opts = {
-- your configuration comes here; leave empty for default settings
},
},
},
})
end
+7 -1
View File
@@ -138,7 +138,12 @@ cmp.setup({
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" }
@@ -172,4 +177,5 @@ vim.lsp.enable({
"templ",
"ts_ls",
"zls",
"roslyn",
})