Skip to content
Samuel Nelson edited this page May 15, 2018 · 1 revision

Vidar supports plugin loading on any operating system that is supported by go's plugin package. The way it works is that a plugin is compiled into a .so file, then vidar loads it at run time, dynmacally, and looks up exported symbols in the plugin's main package. See the godoc for vidar's plugin package for specific implementation details.

From a user perspective, you generally just put the .so file in a plugins directory on your computer and it will add new functionality to vidar. Syntax highlighting, autocompletion, and alternate forms of input (for example: a vim-style input handler) are some examples of what you can do with plugins.

Clone this wiki locally