2025-05-02 00:27:09 +02:00
|
|
|
{ lib, ... }:
|
|
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
|
|
name = "tiny-inline-diagnostic";
|
|
|
|
packPathName = "tiny-inline-diagnostic.nvim";
|
|
|
|
package = "tiny-inline-diagnostic-nvim";
|
2025-06-18 02:42:47 +03:00
|
|
|
description = "A Neovim plugin that display prettier diagnostic messages.";
|
2025-05-02 00:27:09 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|