Commit Graph

27 Commits (main)

Author SHA1 Message Date
LeMarsu a4cc5d9b9c feat: can declare extra lua packages 2024-06-18 01:12:08 +02:00
LeMarsu 23c9863c97 feat: add option init config object to generate `init.lua` 2024-06-10 01:08:56 +02:00
LeMarsu b6630684fb feat!: `init.lua` configuration is now a `mkNeovimPkg`'s option
BREAKING CHANGE: The init configuration has moved out of runtime
configuration. It is now in the mkNeovimPkg confuguration.
2024-06-10 01:08:50 +02:00
LeMarsu 815a099805 feat: runtime is now optional
as it should be according to docs...
2024-06-10 00:36:56 +02:00
LeMarsu af9565fa95 feat: introduce mkPluginsFromInputs function
This permit creation of plugin before declaration of dependencies. The
biggest benefit is using those on-the-fly plugins in dependencies.
2024-06-09 00:00:56 +02:00
LeMarsu b36722bfe6 chore: remove sourcesWith fn, using lib.fileset 2024-06-07 20:22:01 +02:00
LeMarsu 61381e2ba0 fix: init/config are loaded to on-the-fly build plugins 2024-06-07 16:20:46 +02:00
LeMarsu f52525abd1 feat: can load lazy plugins on keymaps 2024-06-04 03:26:27 +02:00
LeMarsu 70484e221f feat: can load lazy plugins on events 2024-06-04 03:26:24 +02:00
LeMarsu 3d35555ef7 fix: move files instead of copying them
There was left over files in sloth-flake in the store.
2024-06-04 00:47:37 +02:00
LeMarsu 2eaecf17a0 fix: init function is called before plugin is loaded 2024-06-03 03:18:44 +02:00
LeMarsu 29e8841a3d refactor: split Sloth subcommands in their own files 2024-06-03 02:59:42 +02:00
LeMarsu 3204b5a39d refactor: extract all dep logic in Dep object 2024-06-03 02:59:29 +02:00
LeMarsu a396afc2c4 feat: add `vimdiffAlias` and `nvimdiffAlias` mkNeovimPkg options 2024-05-31 02:56:27 +02:00
LeMarsu 359462b075 feat: add `viAlias` and `vimAlias` mkNeovimPkg options 2024-05-31 02:44:08 +02:00
LeMarsu 2903d288e2 feat: add `version` Sloth subcommand 2024-05-30 23:44:34 +02:00
LeMarsu 805b41ed58 feat: can load lazy plugins on FileType autocommand 2024-05-30 02:55:11 +02:00
LeMarsu cece8f6464 feat: loading plugins respect dependencies option 2024-05-30 02:55:11 +02:00
LeMarsu b087119333 refactor: plugin normalization 2024-05-30 02:55:11 +02:00
LeMarsu 81d82e05a2 feat: can load lazy plugins via placeholder `cmd`s 2024-05-30 02:55:11 +02:00
LeMarsu 5291529e6f feat: can load lazy plugins 2024-05-30 02:55:06 +02:00
LeMarsu 09aa1485b1 fix: remove namePrefix and nameSuffix
Was a stupid feature, and it just didn't work...
2024-05-28 22:12:26 +02:00
LeMarsu d66d4b80e0 fix: give default init.lua if none provided 2024-05-28 20:06:29 +02:00
LeMarsu bbb0953209 chore: remove dead code 2024-05-28 19:57:07 +02:00
LeMarsu 861dd6c22c chore: refactor lua generation 2024-05-28 19:56:52 +02:00
LeMarsu 78c6045960 feat: generating plugins lua definition from nix 2024-05-28 04:49:59 +02:00
LeMarsu 8584d08802 feat: check inputs of functions with yants 2024-05-27 01:14:17 +02:00