blob: 50b12bdb18fcf49dd1014edb94ae9ac044495cf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-- 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) -- luacheck: no unused args
-- Your per window configuration options e.g.
vis:command('set nu')
vis:command('set tw 4')
vis:command('set et')
end)
|