commit 82fa1da5d67a5c9853aa7076ff8630af65792e5e
parent 094a59f5eada5e2aa237815f7645eaf138bb7ffa
Author: mrgrouse <mrgrouse@mrgrouse.com>
Date: Sun, 19 Jul 2026 03:44:04 -0400
visrc.lua: format with lua-formatter
Diffstat:
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/visrc.lua b/visrc.lua
@@ -2,16 +2,16 @@
require("vis")
vis.events.subscribe(vis.events.INIT, function()
- -- functions to be ran on INIT event
- background="dark"
- vis:command('set theme base16-vis/themes/base16-summerfruit-dark')
+ -- functions to be ran on INIT event
+ background = "dark"
+ vis:command('set theme base16-vis/themes/base16-summerfruit-dark')
end)
-- functions ran on window opening
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
- vis:command("set number")
- vis:command("set autoindent on")
- vis:command("set tabwidth 2")
+ vis:command("set number")
+ vis:command("set autoindent on")
+ vis:command("set tabwidth 2")
end)
-- initializing plugin manager
@@ -19,10 +19,9 @@ local plug = require("plugins/vis-plug")
-- configure plugins in an array of tables with git urls and options
local plugins = {
- { "thimc/vis-colorizer" },
- { "git://repo.or.cz/vis-pairs" },
- { "e-zk/vis-shebang" },
- { "nomarian/vis-remove-trailing-whitespace", alias = "rtw" },
+ {"thimc/vis-colorizer"}, {"git://repo.or.cz/vis-pairs"},
+ {"e-zk/vis-shebang"},
+ {"nomarian/vis-remove-trailing-whitespace", alias = "rtw"}
}
-- initialize vis-plug and plugins