Skip to content

Commit 4b7dab0

Browse files
committed
plugins/roslyn: init
1 parent cc89186 commit 4b7dab0

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

plugins/by-name/roslyn/default.nix

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{ lib, pkgs, ... }:
2+
lib.nixvim.plugins.mkNeovimPlugin {
3+
name = "roslyn";
4+
packPathName = "roslyn.nvim";
5+
package = "roslyn-nvim";
6+
7+
maintainers = [ lib.maintainers.GaetanLepage ];
8+
9+
extraConfig = {
10+
plugins.roslyn.settings.exe = lib.mkDefault "Microsoft.CodeAnalysis.LanguageServer";
11+
};
12+
13+
# TODO: Figure out how to add this package, as it's the source of the `Microsoft.CodeAnalysis.LanguageServer` command, which is required for the LSP to function
14+
# home.packages = [ pkgs.roslyn-ls ];
15+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
empty = {
3+
plugins.roslyn.enable = true;
4+
};
5+
}

0 commit comments

Comments
 (0)