Commit graph

35 commits

Author SHA1 Message Date
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