plugins/devdocs: init

This commit is contained in:
Gaetan Lepage 2025-03-20 11:07:25 +01:00 committed by Gaétan Lepage
parent 695add12fc
commit c5967bf6a5
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "devdocs";
packPathName = "devdocs.nvim";
package = "devdocs-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsExample = {
ensure_installed = [
"go"
"html"
"http"
"lua~5.1"
];
};
}

View file

@ -0,0 +1,39 @@
{
empty = {
# Tries to download metadata
test.runNvim = false;
plugins.devdocs.enable = true;
};
defaults = {
# Tries to download metadata
test.runNvim = false;
plugins.devdocs = {
enable = true;
settings = {
ensure_installed = [ ];
};
};
};
example = {
# Tries to download metadata
test.runNvim = false;
plugins.devdocs = {
enable = true;
settings = {
ensure_installed = [
"go"
"html"
"http"
"lua~5.1"
];
};
};
};
}