mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-15 03:41:02 +00:00
If ~/.config/micro/plug directory contains a plugin with the same name as a built-in plugin, the expected behavior is that the user-defined plugin in ~/.config/micro/plug is loaded instead of the built-in one. Whereas the existing behavior is that the built-in plugin is used instead of the user-defined one. Even worse, it is buggy: in this case the plugin is registered twice, so its callbacks are executed twice (e.g. with the autoclose plugin, a bracket is autoclosed with two closing brackets instead of one). Fix this by ensuring that if a plugin with the same name exists in the ~/.config/micro/plug directory, the built-in one is ignored. Fixes #3029 |
||
|---|---|---|
| .. | ||
| autosave.go | ||
| colorscheme.go | ||
| colorscheme_test.go | ||
| config.go | ||
| globals.go | ||
| plugin.go | ||
| plugin_installer.go | ||
| plugin_installer_test.go | ||
| plugin_manager.go | ||
| rtfiles.go | ||
| rtfiles_test.go | ||
| settings.go | ||