mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/tiny-inline-diagnostic: init
This commit is contained in:
parent
0ec7ea3d62
commit
cd30817b21
2 changed files with 112 additions and 0 deletions
27
plugins/by-name/tiny-inline-diagnostic/default.nix
Normal file
27
plugins/by-name/tiny-inline-diagnostic/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue