mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/devdocs: init
This commit is contained in:
parent
695add12fc
commit
c5967bf6a5
2 changed files with 56 additions and 0 deletions
17
plugins/by-name/devdocs/default.nix
Normal file
17
plugins/by-name/devdocs/default.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
39
tests/test-sources/plugins/by-name/devdocs/default.nix
Normal file
39
tests/test-sources/plugins/by-name/devdocs/default.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue