languages/csharp: Add roslyn-ls

Add the roslyn-ls lsp to the csharp language model, following standards
set by other lsps.
This commit is contained in:
Cool-Game-Dev 2025-08-12 13:42:40 -05:00
commit 238b86daeb
No known key found for this signature in database

View file

@ -126,11 +126,27 @@
AutomaticWorkspaceInit = true;
};
};
roslyn_ls = {
cmd = mkLuaInline ''
{
${toLuaObject (getExe pkgs.roslyn-ls)},
'--logLevel=Warning',
'--extensionLogDirectory=' .. vim.fs.dirname(vim.lsp.get_log_path()),
'--stdio',
}
'';
filetypes = ["cs"];
root_markers = [".sln" ".csproj" ".editorconfig"];
init_options = {};
};
};
extraServerPlugins = {
omnisharp = ["omnisharp-extended-lsp-nvim"];
csharp_ls = ["csharpls-extended-lsp-nvim"];
roslyn_ls = [];
};
cfg = config.vim.languages.csharp;