mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/roslyn: init
This commit is contained in:
parent
cc8918663a
commit
4b7dab0d1f
2 changed files with 20 additions and 0 deletions
15
plugins/by-name/roslyn/default.nix
Normal file
15
plugins/by-name/roslyn/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ lib, pkgs, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "roslyn";
|
||||
packPathName = "roslyn.nvim";
|
||||
package = "roslyn-nvim";
|
||||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
extraConfig = {
|
||||
plugins.roslyn.settings.exe = lib.mkDefault "Microsoft.CodeAnalysis.LanguageServer";
|
||||
};
|
||||
|
||||
# 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
|
||||
# home.packages = [ pkgs.roslyn-ls ];
|
||||
}
|
5
tests/test-sources/plugins/by-name/roslyn/default.nix
Normal file
5
tests/test-sources/plugins/by-name/roslyn/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.roslyn.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue