vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 5906bca5e4b5c2bdbdd17c4580e7bcbc63908a36
parent f3b2cb1bbaf1b37b8bc008b38f85dfd718c68374
Author: Michiel van den Heuvel <michielvdnheuvel@gmail.com>
Date:   Tue, 23 Jan 2024 10:50:44 +0100

lua: fix deprecated name for change-256colors

Diffstat:
Mlua/vis-std.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/vis-std.lua b/lua/vis-std.lua @@ -2,7 +2,7 @@ vis.events.subscribe(vis.events.INIT, function() if os.getenv("TERM_PROGRAM") == "Apple_Terminal" then - vis:command("set change-256colors false"); + vis:command("set change256colors false"); end vis:command("set theme ".. (vis.ui.colors <= 16 and "default-16" or "default-256")) end)