The plugin manager for Hilbish.
Petals is the official Hilbish plugin manager. It exposes both an API to
load plugins and start them and the single petals
command to
manage them interactively.
Petals is not in a stable state (like Hilbish) so use with caution!
- Hilbish
master
branch
Clone this repository to one of the paths Hilbish looks for libaries at.
A good, standard path is ~/.local/share/hilbish/libs
:
git clone https://github.com/Hilbis/Petals ~/.local/share/hilbish/libs/petals
Require in your .hilbishrc.lua
and initialize:
petals = require 'petals'
petals.init()
Then load your plugins:
petals.load 'Hilbis/sample.petal'
In interactive mode (the shell),
- Install them with the
petals install
command - and
petals.start()
!
- Petals is inspired by vim plugin managers, namely vim-plug and packer.nvim
- Also by zplug
- It's called petals since the name Hilbish comes from Hibiscus (flower stuff yeee)
Petals is licensed under the BSD 3-clause license.
Read here for more info.