Austin Horstman
f6fd130ad3
lib/plugins: add public callSetup override
...
Expose a user-facing callSetup option for mkNeovimPlugin users while keeping plugin defaults internal. Preserve optional setup semantics, document the override, and cover the new behavior with unit and failure tests.
2026-04-25 01:23:51 +00:00
Austin Horstman
3f710c0440
lib/plugins: add optional setup plumbing
2026-04-25 01:23:51 +00:00
saygo-png and Matt Sturgeon
e3e6ba21ab
lib/plugins/mkVimPlugin: Support lazyloading
...
Signed-off-by: saygo-png <saygo.mail@proton.me >
2025-12-29 10:08:37 +00:00
Gaetan Lepage and Austin Horstman
1d333fc92e
treewide: apply linter suggestions
2025-12-28 04:26:49 +00:00
saygo-png and Matt Sturgeon
03a51dbf3d
treewide: NixVim/nixvim -> Nixvim
...
Signed-off-by: saygo-png <saygo.mail@proton.me >
2025-12-04 23:22:21 +00:00
saygo-png and Matt Sturgeon
4cec67651a
lib/plugins: infer packPathName
...
Signed-off-by: saygo-png <saygo.mail@proton.me >
2025-09-27 23:49:59 +00:00
Matt Sturgeon and Gaétan Lepage
79533f91c1
lib/plugins: use the module system to merge URLs
...
This asserts that we don't accidentally end up with conflicting
definitions.
Such conflicts must be made explicit, e.g. using `mkForce` or `mkDefault`.
2025-09-10 09:56:41 +00:00
Gaetan Lepage
b66559d8ef
lib/plugins/mk{Neovim,Vim}Plugin: add dependencies parameter
2025-04-28 02:04:13 +02:00
Matt Sturgeon
1a5f1b4393
lib/plugins: introduce mkMetaModule
2025-01-29 17:39:18 +00:00
Heitor Augusto and nix-infra-bot
1671f8618f
lib/mk-neovim-plugin: allow lazy-loading without luaConfig
2024-12-26 23:12:15 +00:00
Heitor Augusto and nix-infra-bot
f878289722
lib/plugins: make plugin optional when lazy-loading
2024-12-26 23:00:27 +00:00
Matt Sturgeon
787844cfe4
lib/plugins: call sub-components with relevant args
2024-12-22 09:35:16 +00:00
Matt Sturgeon
690fc895b5
lib/plugins: extract common logic for package options
...
Adds `mkPluginPackageModule`.
2024-12-22 09:35:16 +00:00
Matt Sturgeon
896f6be694
lib/plugins: take ownership of modules utils
...
These util functions were previously defined in `modules`, but
`plugins.utils` is a better home.
2024-12-22 09:35:16 +00:00
Matt Sturgeon
ec97297fd5
lib/plugins: separate main factory functions
2024-12-22 09:35:16 +00:00
Matt Sturgeon
88a1c1b46a
lib/plugins: organise plugin-factory functions in a subdir
2024-12-22 09:35:15 +00:00