micro-editor / go-plugin

Auto gofmt/goimports and gorename
43 stars 5 forks source link

Wrong installation location #6

Closed sepetrov closed 4 years ago

sepetrov commented 4 years ago

Expected

According the plugin docs here, the installation location of the plugin must be in directory in ~/.config.micro/plug. Using the plugin name go-plugin, this means, the gplugin files should be in ~/.config.micro/plug/go-plug.

$ tree ~/.config/micro
~/.config/micro
└── plug
    └── go-plugin
        ├── README.md
        ├── go.lua
        ├── help
        │   └── go-plugin.md
        └── info.json

Actual

Following the documentation instructions, the plugin files will be placed directly in ~/.config.micro/plug directory.

$ git clone https://github.com/micro-editor/go-plugin ~/.config/micro/plug
$ tree ~/.config/micro
~/.config/micro
└── plug
    ├── README.md
    ├── go.lua
    ├── help
    │   └── go-plugin.md
    └── info.json

Suggested Fix

Changing the installation command in the documentation to download the plugin files in ~/.config/micro/plug/go-plugin.

git clone https://github.com/micro-editor/go-plugin ~/.config/micro/plug/go-plugin