Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

palettero.cfg from other plugins #1

Open
taconi opened this issue Jul 31, 2023 · 0 comments
Open

palettero.cfg from other plugins #1

taconi opened this issue Jul 31, 2023 · 0 comments

Comments

@taconi
Copy link

taconi commented Jul 31, 2023

Hello, it would be interesting to add an integration with other plugins, for example, if a plugin contains the palettero.cfg file it will also be loaded

Example:
In config.ConfigDir + /plug/manipulator/palettero.cfg

snake # turns the selected string into snake case
camel # turns the selected string into camel case

The files can be found using the go library filepath

local config = import("micro/config")
local filepath = import("path/filepath") -- Go library

local plugs, _ = filepath.Glob(config.ConfigDir.."/plug/*/palettero.cfg")

If it makes sense to the project, I can help with a pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant