rmagatti / goto-preview

A small Neovim plugin for previewing definitions using floating windows.
Apache License 2.0
779 stars 27 forks source link

[FEATURE] Explain vim-plug setup #68

Closed Rintse closed 2 years ago

Rintse commented 2 years ago

Is your feature request related to a problem? Please describe. Many users use vim-plug to manage their plugins and are used to simply putting down a Plug ... command. Doing so for this plugin means that the setup function is not executed, resulting in unclear nil errors.

Describe the solution you'd like Add info on different plugin managers to the readme, like for vim-plug;

Plug 'rmagatti/goto-preview'
:lua require('goto-preview').setup()
rmagatti commented 2 years ago

Hey @Rintse. I'd gladly accept a PR for that. I have instructions for packer because that's what I use myself but of course I'm not opposed to more documentation if someone wants to contribute! 😊

Rintse commented 2 years ago

PR https://github.com/rmagatti/goto-preview/pull/71 to accomodate this.

rmagatti commented 2 years ago

Thanks! 🎉