make sure we are safely setting termguicolors

This commit is contained in:
2024-04-25 22:59:43 -04:00
parent 30edbcbb6b
commit 1c3b9135d4

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 -------------------------------------------------------------