1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/plugins/by-name/roslyn/default.nix

28 lines
629 B
Nix

{ config, lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "roslyn";
package = "roslyn-nvim";
dependencies = [
"roslyn_ls"
];
maintainers = [ lib.maintainers.khaneliman ];
extraConfig = {
warnings = lib.nixvim.mkWarnings "plugins.roslyn" {
when = config.lsp.servers.roslyn_ls.enable;
message = ''
You have enabled both `lsp.servers.roslyn_ls` and `plugins.roslyn`.
This causes duplicate lsps to attach to the buffer. It is recommended to disable one.
'';
};
};
settingsExample = {
broad_search = true;
lock_target = true;
silent = true;
};
}