1
1
forked from extern/flakelight
Commit Graph

10 Commits

Author SHA1 Message Date
Archit Gupta
cca0b23070 Allow overriding formatter entirely
Setting the `formatter` option now allows for setting the formatter
directly instead of using the provided formatting functionality with
`formatters`.
2023-11-23 16:40:06 -08:00
Archit Gupta
d7c7f4634a Add support for bundlers 2023-11-05 15:14:26 -08:00
Archit Gupta
6d00e0f544 Allow functions for NixOS or home-manager configurations
This allows a configuration to be set as a function that will be passed
autoloadArgs. This is useful when each configuration is in its own file
when autoloading.
2023-10-23 20:25:38 -07:00
Archit Gupta
b0fd6a391c Fix typo in API guide 2023-09-20 20:53:50 -07:00
Archit Gupta
592cb247bf Clarify use of formatter option
The fact it uses bash is an implementation detail. Update the
documentation to state that the input is a file name glob rather than a
bash case match. Updates the default formatters to not rely on being a
bash case statement.
2023-09-16 20:59:54 -07:00
Archit Gupta
1bc31924ee Add docs and autoloads for the lib option 2023-09-14 01:36:43 -07:00
Archit Gupta
62083df539 Add functor option for flake's __functor attribute
This allows for conveniently making flakes callable.

Setting this is expected to be uncommon in general, but having the
option is useful as flakelight module flakes can use this to reduce the
boilerplate in using them.
2023-09-13 21:02:39 -07:00
Archit Gupta
3f595f5f2c Move shorter API guide sections before module options 2023-08-30 16:58:40 -07:00
Archit Gupta
39aa44f41e Add API guide 2023-08-27 23:35:32 -07:00
Archit Gupta
38b798fe1c Update README 2023-08-27 18:06:30 -07:00