Commit graph

43 commits

Author SHA1 Message Date
Austin Horstman
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 Yuan
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-png
c02c88441c docs/contributing: minor tweaks
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-12 04:06:28 +00:00
saygo-png
b9e5bac7bc docs: improve consistency
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-01 00:37:38 +00:00
saygo-png
c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00
saygo-png
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 Lepage
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
DataHearth
5095066df6 docs: improve mk(Neovim/Vim)Plugin function documentation 2024-11-15 18:01:14 +00:00
bpatel347
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
refaelsh
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 Sturgeon
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 Sturgeon
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 Lepage
97415d4f0c docs: update CONTRIBUTING.md regarding new mk[Neo]vimPlugin helpers 2024-03-18 10:36:45 +01:00
Gaetan Lepage
7dbf7f978c plugins: do not import helpers.nix directly 2024-02-11 11:50:35 +01:00
Gaetan Lepage
a68ee73947 helpers/vim-plugin: mkPlugin -> mkVimPlugin 2024-01-25 15:19:26 +01:00
Gaetan Lepage
8f90372ee5 helpers: move mkPlugin and mkDefaultOpt to helpers.vim-plugin 2024-01-25 15:19:26 +01:00
traxys
8b8a1c0f4b
fix: Remove missed mentions of rawType (#875) 2024-01-02 00:26:41 +01:00
Gaetan Lepage
8cf2d943d2 lib/helpers: mkRaw now behaves like mkRawIfNonNull 2023-11-23 11:39:41 +01:00
Gaetan Lepage
3aaa1531a9 ci/check: Run checks for all systems (not only x86_64-darwin) 2023-11-23 09:55:45 +01:00
municorn
3fd743fe80 docs: fix grammar, spelling, and text for enable options 2023-10-09 15:04:57 +02:00
Gaetan Lepage
c4354ea9ec misc: change cachix namespace to nix-community 2023-08-27 15:38:18 +02:00
Gaetan Lepage
4b8ecce30e CONTRIBUTING: fix indenting 2023-08-07 17:04:50 +02:00
Pedro Alves
b3cb98e4a8 doc/CONTRIBUTING.md: add cachix instructions 2023-05-25 08:17:39 +02:00
Gaétan Lepage
250de35e05
contributing: remove information related to mkCompositeOption (#316) 2023-04-04 23:37:15 +02:00
Gaétan Lepage
72c3f5ea02
CONTRIBUTING: add documentation for mkCompositeOption (#303) 2023-03-30 11:06:05 +02:00
traxys
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