Commit graph

13 commits

Author SHA1 Message Date
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
Austin Horstman
d12045e057
plugins/lualine: migrate to mkNeovimPlugin 2024-09-07 14:13:01 -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
18b7597e6c
lib/neovim-plugin: drop config arg 2024-09-02 10:35:52 +01:00
Austin Horstman
4c8d3559ac
plugins/lightline: migrate to mkNeovimPlugin 2024-08-23 18:26:24 -05: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
c0ea106b4b
colorschemes/base16: add settings + refactor
Added support for the plugin's "advanced" config settings.

Removed the enum restriction and prefix concatenation, allowing anything
to be passed through, including raw lua: fixes #1675

The theme list is now much shorter and is included directly in the option
description.

Some general cleanup, in particular to `extraConfig` and `customColorschemeType`.
2024-07-08 10:21:27 +01:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Matt Sturgeon
4f83bcf290
Rename options to avoid confusion with module options (#1324) 2024-03-29 21:58:44 +01:00
r3n3gad3p3arl
75942bc161 colorschemes/base16: set termguicolors to true 2024-03-15 00:24:19 +01:00
Gaetan Lepage
c2cd3cb7a1 colorschemes/base16: use mkVimPlugin 2024-03-12 23:52:52 +01:00
Gaetan Lepage
4fd3cd1203 colorschemes/base16: move to dedicated folder 2024-03-12 23:52:52 +01:00