mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
27 lines
635 B
Nix
27 lines
635 B
Nix
{ lib, ... }:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "tiny-inline-diagnostic";
|
|
packPathName = "tiny-inline-diagnostic.nvim";
|
|
package = "tiny-inline-diagnostic-nvim";
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
extraConfig = {
|
|
# README encourages to disable `virtual_text`, to not have all diagnostics in the buffer
|
|
# displayed.
|
|
diagnostic.settings.virtual_text = lib.mkDefault false;
|
|
};
|
|
|
|
settingsExample = {
|
|
preset = "classic";
|
|
virt_texts = {
|
|
priority = 2048;
|
|
};
|
|
multilines = {
|
|
enabled = true;
|
|
};
|
|
options = {
|
|
use_icons_from_diagnostic = true;
|
|
};
|
|
};
|
|
}
|