Skip to content

An extensible layer for plugin managers in pure lua

License

Notifications You must be signed in to change notification settings

spywhere/plug.nvim

Repository files navigation

plug.nvim

GitHub Tag

An extensible layer for plugin management in pure lua.

Thus this plugin is not a plugin manager, so a plugin manager backend will either need to be installed manually or configured to be automatically installed.

Shortcuts

Features

This plugin will behave with the exact same set of its backend plugin manager. Only with the ability to extends its behaviour.

So with some built-in configurations, you could achieve...

  • Plugin manager automatic installation
  • Automatic installation of missing plugins
  • Per-plugin configuration closure
  • Plugin and variable requirements
  • Plugin loading priority and sequencing
  • Defers setup
  • Conditionally install a plugin
  • And more...

Contributes

During the development, you can use the following command to automatically setup a working configurations to test the plugin...

make test-<backend to test>

# or to preview the test setup

make drytest-<backend to test>

To test automatic installation, use

make test-auto-<backend to test>

# or to preview the test setup

make drytest-auto-<backend to test>

To preview the code generation, use

make preview

To manually generate the output code, use

make compile

License

Released under the MIT License