github-actions[bot]
6395b9c013
flake.lock: Update
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
→ 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
• Updated input 'git-hooks':
'github:cachix/git-hooks.nix/3308484d1a443fc5bc92012435d79e80458fe43c?narHash=sha256-mnTbjpdqF0luOkou8ZFi2asa1N3AA2CchR/RqCNmsGE%3D' (2024-11-19)
→ 'github:cachix/git-hooks.nix/6f4e2a2112050951a314d2733a994fbab94864c6?narHash=sha256-SVQVsbafSM1dJ4fpgyBqLZ%2BLft%2BjcQuMtEL3lQWx2Sk%3D' (2024-12-04)
• Updated input 'home-manager':
'github:nix-community/home-manager/62d536255879be574ebfe9b87c4ac194febf47c5?narHash=sha256-lYnT%2BEYE47f5yY3KS/Kd4pJ6CO9fhCqumkYYkQ3TK20%3D' (2024-12-01)
→ 'github:nix-community/home-manager/c7ffc9727d115e433fd884a62dc164b587ff651d?narHash=sha256-zjO6m5BqxXIyjrnUziAzk4%2BT4VleqjstNudSqWcpsHI%3D' (2024-12-07)
• Updated input 'nix-darwin':
'github:lnl7/nix-darwin/c6b65d946097baf3915dd51373251de98199280d?narHash=sha256-Qs3YmoLYUJ8g4RkFj2rMrzrP91e4ShAioC9s%2BvG6ENM%3D' (2024-12-02)
→ 'github:lnl7/nix-darwin/a35b08d09efda83625bef267eb24347b446c80b8?narHash=sha256-sQJAxY1TYWD1UyibN/FnN97paTFuwBw3Vp3DNCyKsMk%3D' (2024-12-07)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f9f0d5c5380be0a599b1fb54641fa99af8281539?narHash=sha256-En%2BgSoVJ3iQKPDU1FHrR6zIxSLXKjzKY%2Bpnh9tt%2BYts%3D' (2024-12-02)
→ 'github:NixOS/nixpkgs/4dc2fc4e62dbf62b84132fe526356fbac7b03541?narHash=sha256-FillH0qdWDt/nlO6ED7h4cmN%2BG9uXwGjwmCnHs0QVYM%3D' (2024-12-05)
• Updated input 'nuschtosSearch':
'github:NuschtOS/search/16307548b7a1247291c84ae6a12c0aacb07dfba2?narHash=sha256-BC1CecAQISV5Q4LZK72Gx0%2BfaemOwaChiD9rMVfDPoA%3D' (2024-11-30)
→ 'github:NuschtOS/search/68e9fad70d95d08156cf10a030bd39487bed8ffe?narHash=sha256-315rJ7O9cOllPDaFscnJhcMleORHbxon0Kq9LAKJ5p4%3D' (2024-12-05)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
→ 'github:numtide/treefmt-nix/50862ba6a8a0255b87377b9d2d4565e96f29b410?narHash=sha256-qKL3vjO%2BIXFQ0nTinFDqNq/sbbnnS5bMI1y0xX215fU%3D' (2024-12-05)
2024-12-08 05:56:53 +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
Matt Sturgeon
de99f2938f
lib/{vim,neovim}-plugin: installPackage
-> packageDecorator
...
Replace `mkNeovimPlugin`'s `installPackage` parameter with a new
internal module option: `packageDecorator`.
The option is a function that applies some transformation to
`cfg.package`'s value before it is installed.
2024-11-15 21:44:59 +00:00
Matt Sturgeon
cd76b4feb8
lib: remove helpers
from internal usage
2024-09-29 14:41:41 +01:00
Austin Horstman
35788bbc5a
lib: cleanup with lib
2024-09-03 22:12:33 -05:00
Matt Sturgeon
1fd4b6c739
plugins: migrate defaultPackage
-> package
...
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new
`package` argument instead of the old `defaultPackage` argument.
2024-09-04 03:29:34 +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
Matt Sturgeon
2a054b039e
lib/vim-plugin: drop config
arg
...
Instead, access it via an imported module
2024-09-02 10:33:50 +01:00
Austin Horstman
db4c4e5b17
lib/deprecation: expose mkSettingsRenamedOptionModules
publicly
...
Extracted the `optionsRenamedToSettings` implementation
from`mkVimPlugin` and `mkNeovimPlugin` into a new public helper.
2024-08-14 11:20:17 +00:00
Matt Sturgeon
0e98d9cf1e
lib/helpers: build recursively
2024-07-28 22:30:11 +01:00
Matt Sturgeon
b0d8c00264
lib/vim-plugin: fix + improve settings example
...
`foo_bar = true` -> `${prefix}foo_bar=1` is incorrect and confusing.
See related issue #1741
2024-06-29 00:09:43 +01:00
Gaetan Lepage
735fbeece8
Revert "helpers/vim-plugin: fix mkVimPlugin when defaultPackage.meta.homepage doesn't exist"
...
This reverts commit a6b247359f
.
2024-06-21 08:53:33 +02:00
Gaetan Lepage
846b3c991e
helpers/vim-plugin: fix mkVimPlugin when defaultPackage.meta.homepage doesn't exist
2024-06-18 11:38:52 +02:00
Matt Sturgeon
f34fda8d99
meta: extend meta.nixvimInfo
support treewide
...
Rather than supplying a `kind` and `name` pair, we now supply a raw
path.
This path could point to any nixvim option.
2024-06-07 22:22:55 +01:00
Gaetan Lepage
ef63d3477f
colorschemes: set the colorscheme as mkDefault to allow for overriding
2024-05-28 21:30:43 +02:00
Gaetan Lepage
26367692da
lib/options: rename mkPackageOption to mkPluginPackageOption
2024-05-17 22:15:47 +02:00
traxys
62f32bfc71
treewide: Reformat with nixfmt
2024-05-05 22:00:40 +02:00
Gaetan Lepage
4d471f04a5
helpers/vim-plugin/mkVimPlugin: remove useless 'options' argument
2024-03-25 22:52:32 +01:00
Gaetan Lepage
848543d527
docs: optionally add a description to plugins
2024-03-22 13:15:41 +01:00
Gaetan Lepage
9f7c78852f
helpers/vim-plugin/mkVimPlugin: simplify code
2024-03-15 09:29:16 +01:00
Gaetan Lepage
cf7102c6d2
helpers: refactor mk[Neo]vimPlugin for colorschemes handling
2024-03-12 23:00:17 +01:00
Gaetan Lepage
db33f46b5d
helpers/vim-plugin/mkVimPlugin: remove deprecated mkDefaultOpt code
2024-03-12 22:43:17 +01:00
Gaetan Lepage
601010900b
helpers/vim-plugin/mkVimPlugin: add a colorscheme argument and factor out logic
2024-03-12 20:34:31 +01:00
Loïc Reynier
233feeb8d2
treewide: fix typos ( #1217 )
2024-03-07 19:44:13 +01:00
Gaetan Lepage
680889ac01
helpers/vim-plugin/mkVimPlugin: make the maintainers argument mandatory
2024-03-04 11:46:56 +01:00
Gaetan Lepage
1e079a8b8e
helpers/vim-plugin/mkVimPlugin: enhance documentation of the settings option
2024-03-02 23:41:57 +01:00
Gaetan Lepage
0c1c11049c
helpers/vim-plugin/mkVimPlugin: enhance documentation of the settings option
2024-03-02 13:41:15 +01:00
traxys
82a24d0d42
docs: Allow to add an url in the online documentation ( #1139 )
...
* plugin/committia: Use correct maintainers import
* plugins/neocord: Remove redyf as the entry is not in the list
* docs: Allow to add an URL to the plugin
2024-02-20 21:20:59 +01:00
Gaetan Lepage
b8815f04a3
helpers/vim-plugin/mkVimPlugin: add optionsRenamedToSettings option
2024-02-19 11:25:29 +01:00
Gaetan Lepage
cef446a4da
helpers/vim-plugin/mkVimPlugin: rename addExtraConfigRenameWarning to deprecateExtraConfig
2024-02-19 11:25:29 +01:00
Gaetan Lepage
d7fe40ebd8
helpers/vim-plugin/mkVimPlugin: rename package option to defaultPackage
2024-02-15 10:13:39 +01:00
Gaetan Lepage
6a8d6fd005
helpers/vim-plugin/mkVimPlugin: rename 'description' -> 'originalName'
2024-02-14 09:13:21 +01:00
Gaetan Lepage
6dd2eed613
helpers/vim-plugin/mkVimPlugin: add extraConfig option
2024-02-13 23:07:03 +01:00
Gaetan Lepage
4edd01d614
helpers/vim-plugin/mkVimPlugin: add extraOptions option
2024-02-13 23:07:03 +01:00
Gaetan Lepage
e8481b99f2
helpers/vim-plugin/mkVimPlugin: add imports option
2024-02-13 16:51:59 +01:00
Gaetan Lepage
0de46481ac
helpers/vim-plugin/mkVimPlugin: add namespace option
2024-02-13 16:26:46 +01:00
Gaetan Lepage
73d6574c01
helpers/vim-plugin/mkVimPlugin: add maintainers option
2024-02-13 14:16:26 +01:00
Gaetan Lepage
6a77a9edd3
helpers/vim-plugin/mkVimPlugin: don't accept random parameters
2024-02-13 10:34:49 +01:00
Gaetan Lepage
a70f580340
helpers/vim-plugin/mkVimPlugin: make use of helpers.mkSettingsOption
2024-02-12 18:46:13 +01:00
Gaetan Lepage
54da635d45
helpers/vim-plugin/mkVimPlugin: rename extraConfig to settings (RFC 42)
2024-02-12 13:12:43 +01:00
Gaetan Lepage
3c174e874c
helpers/vim-plugin/mkVimPlugin: refactor
2024-02-10 17:53:41 +01:00
Gaetan Lepage
98dbe8a89b
lib/helpers: internal refactoring
2024-01-25 16:38:59 +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