[neovim] Fix colors.lua

This commit is contained in:
Eryn Wells 2023-07-11 16:08:20 -07:00
parent b689a9e84c
commit efeee59635

View file

@ -22,8 +22,10 @@ function reloadColorscheme(colorschemeName)
]] ]]
-- Allow using GUI style colors (#RRGGBB hex codes) in color terminals if we -- Allow using GUI style colors (#RRGGBB hex codes) in color terminals if we
-- know it can do it. This is required for most modern color themes. -- know it can do it. This is required for most modern color themes. Apple's
vim.g.termguicolors = vim.env.TERM_PROGRAM == "Apple_Terminal" -- Terminal.app doesn't have True Color support though, so make sure it's
-- off for that.
vim.g.termguicolors = not vim.env.TERM_PROGRAM == "Apple_Terminal"
if vim.g.colors_name == "witchhazel" then if vim.g.colors_name == "witchhazel" then
vim.cmd [[ vim.cmd [[