aboutsummaryrefslogtreecommitdiff
path: root/lua/visrc.lua
blob: 9a06650015ce22b75598762f7f686faee6c7c5d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
-- load standard vis module, providing parts of the Lua API
require('vis')

vis.events.subscribe(vis.events.INIT, function()
	-- Your global configuration options
end)

vis.events.subscribe(vis.events.WIN_OPEN, function(win)
	-- Your per window configuration options e.g.
	-- vis:command('set number')
end)