mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
refactor(plugin): Enable human-friendly plugin name
This commit is contained in:
@@ -385,7 +385,7 @@ func main() {
|
||||
for _, v := range t.views {
|
||||
v.Buf.FindFileType()
|
||||
v.Buf.UpdateRules()
|
||||
for _, pl := range loadedPlugins {
|
||||
for pl := range loadedPlugins {
|
||||
_, err := Call(pl+".onViewOpen", v)
|
||||
if err != nil && !strings.HasPrefix(err.Error(), "function does not exist") {
|
||||
TermMessage(err)
|
||||
|
||||
Reference in New Issue
Block a user