Commit: 7aff5afd0660b71fba04547c0fc4d756b39c7d7f
Parent: 6c4b194275bced88796cabb13543fe89dc445719
Author: Randy Palamar
Date: Sat, 14 Oct 2023 10:04:38 -0600
vis: use verbose option names
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua
@@ -23,7 +23,8 @@ vis.ftdetect.filetypes.matlab.cmd = { "set tw 4" }
vis.events.subscribe(vis.events.INIT, function()
vis:command("set theme term")
- vis.options.ai = true
+
+ vis.options = { autoindent = true }
vis:command("map normal gq vip=<Escape>")
vis:command("map normal ,f v$:|furigana<Enter><Escape>")
@@ -61,7 +62,7 @@ local function adjust_layout(wclose)
end
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
- win.options.rnu = true
+ win.options = { relativenumbers = true }
adjust_layout(false)
end)