mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
28 lines
635 B
Nix
28 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;
|
||
|
};
|
||
|
};
|
||
|
}
|