-
Notifications
You must be signed in to change notification settings - Fork 5
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
Plugin Activation #2
Comments
I am aware of this issue and am trying to fix it. The issue is that the .lua file that is supposed to add the colorscheme files to micro is not running correctly. Until I figure it out, you can manually install by moving the colorschemes (.micro files) to the colorschemes directory. mkdir ~/.config/micro/colorschemes
mv ~/.config/micro/plug/nord-colors/*.micro ~/.config/micro/colorschemes |
Perfect, that works. Thanks a lot for your help! |
The issue still seems to exist, even with the new .lua file. This may take some time to fix, until then, anyone who has this issue can use the commands listed above to manually enable the colorschemes. |
The issue is now fixed; make sure to run the |
You should be able to use |
Unfortunately, using I can post a more detailed issue on the micro main channel if you would like. |
I think it should work fine if you run it in the script top-level (not inside the init function). For example: VERSION = "1.1.3"
local config = import("micro/config")
config.AddRuntimeFile("nordcolors", config.RTColorscheme, "colorschemes/nord-tc.micro")
config.AddRuntimeFile("nordcolors", config.RTColorscheme, "colorschemes/nord-tc-light.micro")
config.AddRuntimeFile("nordcolors", config.RTColorscheme, "colorschemes/nord-16.micro")
config.AddRuntimeFile("nordcolors", config.RTColorscheme, "colorschemes/nord-16-light.micro")
config.AddRuntimeFile("nordcolors", config.RTHelp, "help/nordcolors.md") |
I will check that to make sure |
I am new to
micro
and installed this plugin via the command mentioned on the plugins page:which creates the directory ~/.config/micro/plug/nord-colors/. However, I don't seem to be able to activate it. My first attempt was to run
which resulted in
nord-colors is not a valid colorscheme
. Inspecting the created directory, I saw that the definition files seemed to be of the formnord-16.micro
so I also tried
which resulted in the same error. Would you mind clarifying how I can "activate" the nord colors? Maybe it works differently since this is considered a plugin and not a colorscheme.
The text was updated successfully, but these errors were encountered: