Closed shmitchel closed 3 days ago
Attaching all configured settings/JSON files
For whatever it's worth, other plugins work perfectly fine :) I've got aspell
, filemanager
, manipulator
, & wc
all installed and running flawlessly.
The linter plugin is builtin so it is not in the official plugin channel and it does not have to be installed, but builtin plugins can be overriden. There was an error about linter
being nil
in init.lua
because the plugin was not loaded. The plugin was not loaded because linter
option is set as false
in settings.json
.
There have been other people that tried installing builtin plugins but there is an error printed about plugins already being installed if they are not builtin only. I have not checked if it has been reported or fixed in a pull request.
The linter plugin is builtin so it is not in the official plugin channel and it does not have to be installed, but builtin plugins can be overriden. There was an error about
linter
beingnil
ininit.lua
because the plugin was not loaded. The plugin was not loaded becauselinter
option is set asfalse
insettings.json
.There have been other people that tried installing builtin plugins but there is an error printed about plugins already being installed if they are not builtin only. I have not checked if it has been reported or fixed in a pull request.
I... am closing this ticket. Holy cow. I've struggled with this for months and never noticed that setting in my settings.json 😂 THANK YOU SO MUCH!
Description of the problem or steps to reproduce
I can't seem to install the linter:
Through the command line
Through command mode
Specifications
Attempts to fix
Manual Install
I've tried installing the linter manually to
~/.config/micro/plug
by cloning the repo and copying the relevant directory:Copy
linter
to repoI've tried adding the linter to a personal repository, tagged it, set up the repo.json, and then added that repository to my configs:
~/.config/micro/channel.json
~/.config/micro/settings.json
And this does let me install it! When I run
micro -plugin install linter
, it fetches the zip and installs it to~/.config/micro/plug
. But... it still doesn't do anything. I tried adding a basic linter in my init.lua:~/.config/micro/init.lua
And when I launch micro, it gives me the following error:
Using
micro -debug
registers nothing related except for a line saying that the "linter" plugin is overridden.:And that's only when I use the cloned linter plugin. In other scenarios, I only get the "Micro started" line.