Matt Sturgeon
5e9a6c00a9
treewide: neovim-plugin
-> plugins
2024-12-22 10:04:00 +00: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
Quentin Boyer
d2f9e011d9
lib/neovim-plugin: Add lua configuration scoped to the plugin
...
This commit adds a `plugins.<name>.luaConfig` section controlling the
plugin specific configuration.
The section contains the internal `init` option, containing the plugin's
initialization code.
It also contains the public `pre` and `post` options, that allow to add
code before & after the `init` section
Finally, it contains the `final` option, being the concatenation of the
three previous options.
2024-09-22 16:15:27 +00: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
18b7597e6c
lib/neovim-plugin: drop config
arg
2024-09-02 10:35:52 +01:00
Austin Horstman
77cbd0313d
plugins/colorschemes: remove with lib;
2024-08-22 10:19:27 -05:00
Austin Horstman
fba168aba7
plugins/colorschemes: migrate helpers -> lib.nixvim
2024-08-22 09:57:31 -05:00
Matt Sturgeon
48f1e30bf7
plugins/colorschemes: normalize plugin defaults
2024-06-21 08:45:30 +01:00
traxys
62f32bfc71
treewide: Reformat with nixfmt
2024-05-05 22:00:40 +02:00
Gaetan Lepage
cf7102c6d2
helpers: refactor mk[Neo]vimPlugin for colorschemes handling
2024-03-12 23:00:17 +01:00
Gaetan Lepage
3c9a4b67ae
helpers/neovim-plugin/mkNeovimPlugin: add a colorscheme argument and factor out logic
2024-03-12 20:34:31 +01:00
Gaetan Lepage
6974a6a200
helpers/neovim-plugin/mkNeovimPlugin: fix typo for deprecateExtraOptions
2024-02-19 08:30:28 +01:00
Gaetan Lepage
9ec2de03af
colorschemes/ayu: switch to mkNeovimPlugin
2024-02-18 13:51:17 +01:00
Gaetan Lepage
e2c3459d1d
lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions
2024-01-28 23:39:14 +01:00
traxys
8aa4b7e4ce
helpers: Add option helpers for types that are either a lua str or a value ( #876 )
...
Those types needed the following code in apply:
if builtins.isString value
then mkRaw value
else value
This commit avoids this boilerplate, and clarifies that the `str` is lua
code in the documentation.
2024-01-02 00:30:10 +01:00
Gaetan Lepage
d88a30fba6
helpers: highlightType -> nixvimTypes.highlight
2024-01-01 23:55:27 +01:00
Gaetan Lepage
b6724702b4
misc: refactor imports, prefer adding helpers
to args rather than importing it
2023-11-06 16:33:39 +01:00
Kasper Seweryn
36119e7ec1
plugins/ayu: automatically apply ayu theme when enabled ( #661 )
2023-10-22 14:48:48 +02:00
Gaetan Lepage
791e32ed3d
colorschemes/ayu: add plugin + test
2023-08-14 10:50:12 +02:00