Add support for name
field for plugins (as
does not work anymore) and modularisation guide when using plugins folder and separate plugin .lua files inside of it
#60
Labels
enhancement
New feature or request
Anyone who wants to migrate from
packer.nvim
topckr.nvim
has encountered an issue where the aliased plugin name won't show up:A more intuitive and readable approach would be to use a name field, similar to how
packer.nvim
allowed aliasing:This would improve readability and make it easier for users switching from
packer.nvim
topckr.nvim
.And besides that, I think that there should be an ability in require('pckr').add to have inside of it require('path_to_plugin_spec_folder') folder or similar so that it can load each and every plugin .lua file inside of that folder.
Example code snippet:
This would improve the modularity of each and every plugin .lua file, and would have the similar spec when declaring it without a plugin folder.
The text was updated successfully, but these errors were encountered: