1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/plugins/by-name/tiny-inline-diagnostic/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

27 lines
665 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "tiny-inline-diagnostic";
package = "tiny-inline-diagnostic-nvim";
description = "A Neovim plugin that display prettier diagnostic messages.";
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;
};
};
}