Closed erf closed 4 years ago
I had a few suggestions for plugin conventions i'd thought i might add to the wiki page, but i though i might get some feedback first. Here we go:
Consider keeping your plugin in a git repo with the name vis-<name>.
vis-<name>
Consider naming your main script init.lua, so we are able to require the containing directory.
init.lua
require
Consider cloning or linking your plugin folder to .config/vis/plugins, so from visrc.lua you'd call require 'plugins/my_plugin.
.config/vis/plugins
visrc.lua
require 'plugins/my_plugin
I'll just add them now. Feel free to change / delete them or comment here if you have any other suggestions.
I had a few suggestions for plugin conventions i'd thought i might add to the wiki page, but i though i might get some feedback first. Here we go:
Plugin Conventions
Consider keeping your plugin in a git repo with the name
vis-<name>
.Consider naming your main script
init.lua
, so we are able torequire
the containing directory.Consider cloning or linking your plugin folder to
.config/vis/plugins
, so fromvisrc.lua
you'd callrequire 'plugins/my_plugin
.