aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/vis-std.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/vis-std.lua b/lua/vis-std.lua
index 4da7293..6c42a0c 100644
--- a/lua/vis-std.lua
+++ b/lua/vis-std.lua
@@ -19,6 +19,9 @@ vis.events.subscribe(vis.events.INIT, function()
vis.lexers = require('lexer')
end
+ if os.getenv("TERM_PROGRAM") == "Apple_Terminal" then
+ vis:command("set change-256colors false");
+ end
vis:command("set theme ".. (vis.ui.colors <= 16 and "default-16" or "default-256"))
end)