49 Commits
Author SHA1 Message Date
Austin Horstman aeec62d406 contributing: fix table breaking syntax 2026-05-20 19:49:47 +00:00
Austin Horstman cfa19cd47e contributing: fix inaccurate suggested path
Doesn't match current repo layout or ci check.
2026-05-20 19:49:47 +00:00
Austin Horstman 50dc4dc10f contributing: notes about creating/testing plugin
Specify more clearly how to create a new plugin and test just that
plugin to avoid large nixvim eval and closure sizes.
2026-05-20 19:49:47 +00:00
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
Austin Horstman 53aad7a9aa CONTRIBUTING: explain common test attrset names 2026-04-22 04:06:52 +00:00
Austin HorstmanandGaétan Lepage f6f985ce53 modules/output: drop deprecated makeNeovimConfig
nixpkgs deprecated neovimUtils.makeNeovimConfig in favor of
wrapNeovimUnstable. Keep Nixvim's current generated init.lua startup
model, but stop routing wrapper construction through the deprecated
helper.

Switch modules/top-level/output.nix to call wrapNeovimUnstable
directly and preserve the existing wrappedNeovim.initRc -> generated
init.lua composition. This aligns Nixvim with the upstream wrapper API
change without changing our current bootstrap behavior yet.

Also update CONTRIBUTING to point contributors at
wrapNeovimUnstable instead of the deprecated helper.
2026-03-29 16:40:02 +00:00
Zexin YuanandGaétan Lepage d52007581e docs: format nix examples in documentation 2025-12-13 08:51:26 +00:00
Gaetan Lepage d01e1c17e2 dev/list-plugins: drop
As no more plugins are declared using the legacy approach, the
list-plugins.py script has lost its use. Let's drop it altogether.
2025-11-06 13:53:54 +00:00
saygo-pngandAustin Horstman c02c88441c docs/contributing: minor tweaks
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-12 04:06:28 +00:00
saygo-pngandMatt Sturgeon b9e5bac7bc docs: improve consistency
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-01 00:37:38 +00:00
saygo-pngandMatt Sturgeon c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00
saygo-pngandMatt Sturgeon efa43aa866 docs/contributing: change maintainers to a required field
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:41:47 +00:00
Matt Sturgeon e385bec735 contributing: add note on testing the docs 2025-05-22 13:56:18 +01:00
Gaetan Lepage b66559d8ef lib/plugins/mk{Neovim,Vim}Plugin: add dependencies parameter 2025-04-28 02:04:13 +02:00
Matt Sturgeon d3c9dedbdd contributing: add "Writing option examples" section 2025-04-21 11:27:40 +01:00
Matt Sturgeon 86a887025f contributing: reduce emphasis on settingsOptions
- Add an additional caution in CONTRIBUTING.md#declaring-plugin-options
- Remove `settingsOptions` from plugins/TEMPLATE.nix
2025-04-21 10:04:38 +01:00
rottenfishbone 25c1352464 docs/contributing: fix hyperlink issues 2024-12-25 16:37:13 -07:00
Matt Sturgeon 43a3171dec treewide: vim-plugin -> plugins 2024-12-22 10:04:17 +00:00
Matt Sturgeon 5e9a6c00a9 treewide: neovim-plugin -> plugins 2024-12-22 10:04:00 +00:00
Austin Horstman c37031d71f treewide: luaName -> moduleName
Jus to closer align with its usage.
2024-12-13 21:30:36 -06:00
Austin Horstman a7012e7864 treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00
Matt Sturgeon 6a192a8604 lib/neovim-plugin: allow configLocation to be wrapped using mkOrder 2024-12-14 02:39:44 +00:00
Gaetan Lepageandnix-infra-bot cf7e026c8c mkNeovimPlugin: refactor lua code generation logic 2024-12-09 21:43:12 +00:00
Matt Sturgeon 63cfc84abe lib/modules: add applyExtraConfig
Used for
- mkVimPlugin: extraConfig
- mkNeovimPlugin: extraConfig
- mkLsp: extraConfig
- mkLsp: settings
- mkExtension (telecsope): extraConfig
2024-11-20 20:55:16 +00:00
DataHearthandnix-infra-bot 5095066df6 docs: improve mk(Neovim/Vim)Plugin function documentation 2024-11-15 18:01:14 +00:00
bpatel347andnix-infra-bot 7dc65b2d98 docs/contributing: update documentation for running single tests
docs/contributing: update documentation for running single tests

docs/contributing: update documentation for running single tests
2024-11-12 22:59:43 +00:00
Gaetan Lepage a20fbbc4b9 CONTRIBUTING: update doc about test.runNvim 2024-10-27 20:44:36 +01:00
Matt Sturgeon faff32b9f1 plugins/by-name: init
Add support for automatically importing any directories under
`plugins/by-name`.

Includes a validation test, which is run by CI and by the pre-commit hook.
2024-09-09 11:50:38 +01:00
Matt Sturgeon c8328e6d59 contributing: update plugin declaration docs 2024-09-05 14:14:00 +01:00
Matt Sturgeon 285f6cbd7b lib/*-plugin: use lib.mkPackageOption internally
Instead of maintainers providing an actual `defaultPackage`, they should
specify the pkg name which we'll use when calling `lib.mkPackageOption`.

This makes `mkVimPlugin` and `mkNeovimPlugin` compliant with #1950.
2024-09-04 03:07:49 +01:00
refaelshandGitHub 2704133fe3 contributing: document plugins/default.nix
Mention that new plugins need to be imported via the `default.nix` file.
2024-08-29 22:57:13 +01:00
Matt SturgeonandMattSturgeon e054fe2bc0 contributing: add note clarifying freeform settings 2024-07-01 13:14:45 +00:00
Matt Sturgeon 7ffff28f43 contributing: describe commit title style 2024-06-04 16:16:06 +01:00
Matt SturgeonandGaétan Lepage 80a2244afc docs: remove misleading _ after globalPrefix
`globalPrefix` is not joined using `"_"`, so it is misleading to have an
underscore after it in CONTRIBUTING.md.
2024-03-22 11:46:17 +01:00
Gaetan LepageandGaétan Lepage 97415d4f0c docs: update CONTRIBUTING.md regarding new mk[Neo]vimPlugin helpers 2024-03-18 10:36:45 +01:00
Gaetan LepageandGaétan Lepage 7dbf7f978c plugins: do not import helpers.nix directly 2024-02-11 11:50:35 +01:00
Gaetan LepageandGaétan Lepage a68ee73947 helpers/vim-plugin: mkPlugin -> mkVimPlugin 2024-01-25 15:19:26 +01:00
Gaetan LepageandGaétan Lepage 8f90372ee5 helpers: move mkPlugin and mkDefaultOpt to helpers.vim-plugin 2024-01-25 15:19:26 +01:00
traxysandGitHub 8b8a1c0f4b fix: Remove missed mentions of rawType (#875) 2024-01-02 00:26:41 +01:00
Gaetan LepageandGaétan Lepage 8cf2d943d2 lib/helpers: mkRaw now behaves like mkRawIfNonNull 2023-11-23 11:39:41 +01:00
Gaetan LepageandGaétan Lepage 3aaa1531a9 ci/check: Run checks for all systems (not only x86_64-darwin) 2023-11-23 09:55:45 +01:00
municornandGaétan Lepage 3fd743fe80 docs: fix grammar, spelling, and text for enable options 2023-10-09 15:04:57 +02:00
Gaetan LepageandGaétan Lepage c4354ea9ec misc: change cachix namespace to nix-community 2023-08-27 15:38:18 +02:00
Gaetan LepageandGaétan Lepage 4b8ecce30e CONTRIBUTING: fix indenting 2023-08-07 17:04:50 +02:00
Pedro AlvesandGaétan Lepage b3cb98e4a8 doc/CONTRIBUTING.md: add cachix instructions 2023-05-25 08:17:39 +02:00
Gaétan LepageandGitHub 250de35e05 contributing: remove information related to mkCompositeOption (#316) 2023-04-04 23:37:15 +02:00
Gaétan LepageandGitHub 72c3f5ea02 CONTRIBUTING: add documentation for mkCompositeOption (#303) 2023-03-30 11:06:05 +02:00
2b85290c12 CONTRIBUTING: Add initial documentation for contributors (#301)
* CONTRIBUTING: Add initial documentation for contributors

* Update CONTRIBUTING.md

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update CONTRIBUTING.md

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-03-28 20:00:53 +02:00