Skip to content
fischerling edited this page May 15, 2024 · 93 revisions

A Lua based editor extension API is provided for in-process plugin development.

Installing a Plugin

Plugins are loaded using require(name) from your visrc.lua configuration file, leveraging the standard Lua module system. The used runtime paths can be displayed using :help "Lua paths", the lookup order is also documented in the manual page.

-- load standard vis runtime files, must be done before anything else
require('vis')
-- load plugin called `<name>` (notice the omission of the `.lua` file extension)
require('<name>')

-- the remainder of your visrc.lua configuration file

Existing Plugins

A few standard plugins are included in the main repository.

Below is a list of externally developed plugins, the quality of which may vary:

If you have written an extension for vis, you can share it on the list above.

vis-plugins

The https://erf.github.io/vis-plugins is a web page with a more interactive view of vis plugins and themes.

You are welcome to contribute with PR's to vis-plugins

Clone this wiki locally