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

Uninstalling plugins #76

Open
zouharvi opened this issue Sep 25, 2021 · 4 comments
Open

Uninstalling plugins #76

zouharvi opened this issue Sep 25, 2021 · 4 comments

Comments

@zouharvi
Copy link

I'm either confused about what the correct procedure with uninstalling plugins is or this is a bug.
Micro version 2.0.10, running Ubuntu 21.10.

# install wc
$ micro -plugin install wc
Downloading "wc" (1.2.1) from "https://github.com/adamnpeace/micro-wc-plugin/archive/1.2.1.zip"
One or more plugins installed.

# work with micro
$ micro foo

# uninstall wc
$ micro -plugin remove wc
Removed  wc 

# work with micro again
$ micro foo
Lua Error: wc.wordCount does not exist

Press enter to continue

Running micro after uninstalling wc works, though an error message is displayed and requires an extra keypress.
I tried opening a new terminal and cleaning the config directory, though the message persists.

@sebkolind
Copy link

sebkolind commented Oct 3, 2021

Do you still have the wc plugin directory in ~/.config/micro/plug/?

@zouharvi
Copy link
Author

zouharvi commented Oct 3, 2021

There is nothing in ~/.config/micro/plug.

@Yuiken
Copy link

Yuiken commented Oct 2, 2022

Reproduced this error on micro version: 2.0.9 and all you need to do is remove "F5": "lua:wc.wordCount" from bindings.json

@taconi
Copy link

taconi commented Mar 23, 2024

Does the error persist on micro 2.0.13?

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

No branches or pull requests

4 participants