Skip to content

Commit f27337f

Browse files
committed
plugins/roslyn-nvim: init
1 parent cc89186 commit f27337f

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{ lib, pkgs, ... }:
2+
lib.nixvim.plugins.mkNeovimPlugin {
3+
name = "roslyn-nvim";
4+
packPathName = "roslyn.nvim";
5+
package = "roslyn-nvim";
6+
7+
maintainers = [ lib.maintainers.GaetanLepage ];
8+
9+
extraConfig = cfg: {
10+
extraPlugins = [ pkgs.vimPlugins.roslyn-nvim ];
11+
extraConfigLua = ''
12+
require('roslyn').setup({
13+
-- roslyn-ls adds this command
14+
exe = 'Microsoft.CodeAnalysis.LanguageServer'
15+
})
16+
'';
17+
};
18+
19+
# TODO: Figure out how to add this package.
20+
# home.packages = [ pkgs.roslyn-ls ];
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
empty = {
3+
plugins.roslyn-nvim.enable = true;
4+
};
5+
}

0 commit comments

Comments
 (0)