Closed ImagineInfinity closed 2 years ago
See https://github.com/lutobler/vis-commentary/pull/8, I made this originally a while before standards formed on how plugins should be structured.
Ironically, the main reason I suggested this change is so that I wouldn't have to manually move the file around any more. You just go to your plug-ins directory, clone the whole repo (so that the code ends up at ~/.config/vis/plugins/vis-commentary/init.lua
), and vis will find it just fine.
When you require("somthing")
vis will check various places for a something.lua
file but it will also check for a something/init.lua
file too. See martanne/vis#800
Plugin does not work unless init.lua is renamed vis-commentary.lua