Commit Graph

63 Commits (main)

Author SHA1 Message Date
LeMarsu a4cc5d9b9c feat: can declare extra lua packages 2024-06-18 01:12:08 +02:00
LeMarsu b5a3526f8a chore: bump version 2024-06-10 01:14:35 +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 3d20bc0ade chore: add alejandra to nix shell 2024-06-09 04:01:18 +02:00
LeMarsu 182c7cd83d chore: bump version 2024-06-09 02:02:47 +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 6c499b1441 fix: plugins with init are now loaded as they should be 2024-06-08 23:57:29 +02:00
LeMarsu cbd08e5258 chore: move back to flake-utils 2024-06-08 20:03:23 +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 da637930bc feat: add describe subcommand 2024-06-05 02:47:46 +02:00
LeMarsu c20336ee60 refactor: filters are now fully dynamic 2024-06-05 02:02:57 +02:00
LeMarsu f50f314c98 feat: Sloth command has now completion 2024-06-05 01:54:41 +02:00
LeMarsu 459eadfae4 chore: bump version 2024-06-04 03:37:08 +02:00
LeMarsu ada07e10d6 chore: switch from nixpkgs `23.11` to `unstable` 2024-06-04 03:35:08 +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 eb11cfbe1a fix: Sloth list was broken since refactoring 2024-06-04 00:48:37 +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 cf036bd26c chore: bump version 2024-06-03 03:43:06 +02:00
LeMarsu 2eaecf17a0 fix: init function is called before plugin is loaded 2024-06-03 03:18:44 +02:00
LeMarsu 3732144c33 refactor: deps are now loaded via a FSM 2024-06-03 02:59:42 +02:00
LeMarsu a2bc77f229 refactor: deps provides accessors via metatables 2024-06-03 02:59:42 +02:00
LeMarsu 29e8841a3d refactor: split Sloth subcommands in their own files 2024-06-03 02:59:42 +02:00
LeMarsu ab361c86b4 refactor: extract Sloth command code in its own module 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 9cb43cfd1f flake.lock: Update
Flake lock file updates:

• Updated input 'nil':
    'github:oxalica/nil/2f3ed6348bbf1440fcd1ab0411271497a0fbbfa4' (2024-05-01)
  → 'github:oxalica/nil/ab3ddb8f063774cf7e22eb610f5ecfdb77309f3c' (2024-05-30)
• Updated input 'nil/nixpkgs':
    'github:nixos/nixpkgs/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae' (2024-04-28)
  → 'github:nixos/nixpkgs/ac82a513e55582291805d6f09d35b6d8b60637a1' (2024-05-29)
• Updated input 'nil/rust-overlay':
    'github:oxalica/rust-overlay/9ca720fdcf7865385ae3b93ecdf65f1a64cb475e' (2024-05-01)
  → 'github:oxalica/rust-overlay/095702e63a40e86f339d11864da9dc965b70a01e' (2024-05-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9d29cd266cebf80234c98dd0b87256b6be0af44e' (2024-05-25)
  → 'github:nixos/nixpkgs/25cf937a30bf0801447f6bf544fc7486c6309234' (2024-05-29)
2024-05-31 18:19:05 +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 d9ba9c8232 doc: fix url in the import example 2024-05-30 03:55:41 +02:00
LeMarsu bf963e67ab chore: bump version 2024-05-30 02:58:39 +02:00
LeMarsu b323cd8396 chore: add CHANGELOG with `git-cliff` 2024-05-30 02:57:35 +02:00
LeMarsu 75bca38fb1 feat: add `Sloth load` subcommand
The command allows you to load plugins
2024-05-30 02:55:11 +02:00
LeMarsu edab526dd0 feat: introduce new Sloth command with list subcommand
Only have a "list" subcommand for now.
The list can be filtered with "all", "loaded", "notloaded"
2024-05-30 02:55:11 +02:00
LeMarsu 3864d3b9b9 fix: prevent `setup` function to be called twice 2024-05-30 02:55:11 +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 067dec167d chore: delete dead code 2024-05-29 00:20:17 +02:00
LeMarsu 2b33fbe527 chore: bump version 2024-05-28 23:40:29 +02:00
LeMarsu 6f488b266d feat: add real documentation 2024-05-28 23:39:43 +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