Commit graph

5 commits

Author SHA1 Message Date
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
19f39c3b1b plugins: swith to the new behaviour of mkRaw 2023-11-23 11:39:41 +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
Haseeb Majid
77a3f3c298
refactor undo to newer style (#677)
Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
2023-10-31 15:10:08 +01:00
Haseeb Majid
520a59668d
plugins/telescope.extensions.undo: init + (#654)
* new plugin

* add content

* add content

* Update plugins/telescope/undo.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/telescope/undo.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* add test

* Update plugins/telescope/undo.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* fix per pr comments

* fix per pr comments

* fix per pr comments

---------

Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-10-25 23:08:23 +02:00