mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat: add charp_roslyn support
Add support for the new csharp ls used in vscode
This commit is contained in:
parent
f8268faa7c
commit
685059472d
1 changed files with 18 additions and 0 deletions
18
lua/lazyvim/plugins/extras/lang/charp_roslyn.lua
Normal file
18
lua/lazyvim/plugins/extras/lang/charp_roslyn.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities)
|
||||
local on_attach = function() end
|
||||
return {
|
||||
{
|
||||
"jmederosalvarado/roslyn.nvim",
|
||||
ft = "cs",
|
||||
config = function()
|
||||
require("roslyn").setup({
|
||||
|
||||
dotnet_cmd = "dotnet", -- this is the default
|
||||
roslyn_version = "4.8.0-3.23475.7", -- this is the default
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue