mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-01 21:04:30 +02:00
plugins/lsp: add omnisharp language server
Co-authored-by: garaiza-93 <57430880+garaiza-93@users.noreply.github.com>
This commit is contained in:
parent
f1aaef47a9
commit
54ebe3b0ee
4 changed files with 77 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{pkgs}: {
|
||||
{
|
||||
example = {
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
metals.enable = true;
|
||||
nil_ls.enable = true;
|
||||
nixd.enable = true;
|
||||
omnisharp.enable = true;
|
||||
pylsp.enable = true;
|
||||
pyright.enable = true;
|
||||
rnix-lsp.enable = true;
|
||||
|
|
21
tests/test-sources/plugins/lsp/omnisharp.nix
Normal file
21
tests/test-sources/plugins/lsp/omnisharp.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
defaults = {
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
|
||||
servers.omnisharp = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
enableEditorConfigSupport = true;
|
||||
enableMsBuildLoadProjectsOnDemand = false;
|
||||
enableRoslynAnalyzers = false;
|
||||
organizeImportsOnFormat = false;
|
||||
enableImportCompletion = false;
|
||||
sdkIncludePrereleases = true;
|
||||
analyzeOpenDocumentsOnly = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue