Merge branch 'csi_event' of https://github.com/ezdiy/vis into master
[vis.git] / lua / visrc.lua
blob9a06650015ce22b75598762f7f686faee6c7c5d8
1 -- load standard vis module, providing parts of the Lua API
2 require('vis')
4 vis.events.subscribe(vis.events.INIT, function()
5 -- Your global configuration options
6 end)
8 vis.events.subscribe(vis.events.WIN_OPEN, function(win)
9 -- Your per window configuration options e.g.
10 -- vis:command('set number')
11 end)