-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
wrong directory name in plugin example #3553
Comments
The name doesn't need to match. The problem with the example is that a plugin name must match a regex that does not allow special characters ( micro/internal/config/rtfiles.go Line 199 in 82467ba
micro/internal/config/rtfiles.go Lines 224 to 227 in 82467ba
|
The directory name is not a problem for the |
Yes, that would be good. However, the only plugin in micro-editor/updated-plugins without a hyphenated name is |
As far as I can tell, the name of a plugin directory has to match the name of the Lua script: If the script is called
myscript.lua
, then the directory has to bemyscript
, notmyscript-plugin
as indicated in the help file:micro/runtime/help/plugins.md
Lines 16 to 22 in 56c1f75
With a wrong directory name the plugin won't work.
The text was updated successfully, but these errors were encountered: