aboutsummaryrefslogtreecommitdiff
path: root/lua/visrc.lua
blob: b344c47529f10f7d1e06c954d6364b198c05c34e (plain) (blame)
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')
require('plugins/filetype')
require('plugins/textobject-lexer')

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)