make sure we are safely setting termguicolors

This commit is contained in:
2024-04-25 22:59:43 -04:00
parent 527e3af442
commit ad76983d96

View File

@ -27,7 +27,9 @@ o.shiftwidth = tabwidth
o.softtabstop = tabwidth
-- colorscheme
o.termguicolors = true
if vim.fn.has("termguicolors") then
o.termguicolors = true
end
misc.colorscheme('mellow')
-- better editing -------------------------------------------------------------