aboutsummaryrefslogtreecommitdiff
path: root/lua/visrc.lua
blob: 4c44f6aa71c0b6d74f4a325ba801135feb3324bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- load standard vis module, providing parts of the Lua API
require('vis')
require('plugins/filetype')
require('plugins/textobject-lexer')

vis.events.start = function()
	-- Your global configuration options e.g.
	-- vis:command('map! normal j gj')
end

vis.events.win_open = function(win)
	-- enable syntax highlighting for known file types
	vis.filetype_detect(win)

	-- Your per window configuration options e.g.
	-- vis:command('set number')
end