Commit graph

11 commits

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