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

Automate manifest generation #1

Closed
garyburd opened this issue Sep 27, 2016 · 3 comments
Closed

Automate manifest generation #1

garyburd opened this issue Sep 27, 2016 · 3 comments

Comments

@garyburd
Copy link
Contributor

Plugin authors generate a plugin manifest using the following steps:

  1. Build the plugin application using go, gb or some other development tool.
  2. Run the application with the --manifest=hostName command line flag to print a manifest.
  3. Add the the manifest to a .vim file (example).

These steps must be repeated every time the plugin handler registrations are changed.

This process should be automated in some way. Possible options are:

  • Modify the plugin application to update a .vim file directly instead of printing the manifest to stdout.
  • Create a go generate tool for updating manifests.
  • Modify :UpdateRemotePlugins to work with compiled executables.
@garyburd
Copy link
Contributor Author

Here's one possible workflow for users:

  1. User adds the plugin binary to $PATH. The go get command is one way to do this.
  2. User adds line to init.vim to register binary: remote#host#RegisterExecutable('mycommand')
  3. User runs :UpdateRemotePlugins

This workflow requires the addition of RegisterExecutable and modification of remote#host#UpdateRemotePlugins.

@justinmk
Copy link
Member

justinmk commented Dec 1, 2018

was this addressed by #25 ?

@justinmk
Copy link
Member

justinmk commented May 8, 2024

Remote plugin "manifest" will be removed (and not supported) after neovim/neovim#27949 is implemented.

@justinmk justinmk closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants