aboutsummaryrefslogtreecommitdiff
path: root/.config/vis/visrc.lua
blob: 948151fc626324eb086ee3d90adadf8d47778385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-- load standard vis module, providing parts of the Lua API, sets _G.vis
require('vis')

-- global configuration options
vis.events.subscribe(vis.events.INIT, function()
	vis:command("set theme caelus")
end)
-- per-window configuration options
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
	vis:command("set tabwidth 2")
	vis:command("set numbers true")
end)

								-- plugins --

-- colorizer
local colorizer = require('plugins/vis-colorizer')
colorizer.three = false
colorizer.six   = true
-- complete-filename
local completefilename = require('plugins/complete-filename')
-- vis-lspc
local lsp = require('plugins/vis-lspc')
-- vis-autoclose
local autoclose = require('plugins/vis-autoclose')