1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00

plugins/mini-doc: init

This commit is contained in:
Heitor Augusto 2025-11-02 01:06:15 -03:00 committed by Austin Horstman
parent b275b3a3c3
commit 73a0f058fe
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "mini-doc";
moduleName = "mini.doc";
maintainers = [ lib.maintainers.HeitorAugustoLN ];
settingsExample = {
annotation_pattern = "^%-%-%-(%S*) ?";
default_section_id = "@text";
script_path = "scripts/minidoc.lua";
silent = true;
};
}

View file

@ -0,0 +1,17 @@
{
empty = {
plugins.mini-doc.enable = true;
};
defaults = {
plugins.mini-doc = {
enable = true;
settings = {
annotation_pattern = "^%-%-%-(%S*) ?";
default_section_id = "@text";
script_path = "scripts/minidoc.lua";
silent = true;
};
};
};
}