Termgui colours

This commit is contained in:
Ethan Lane 2024-10-30 12:19:56 +00:00
parent bb44f0de33
commit da5cdc5220

View file

@ -50,10 +50,6 @@ vim.opt.ttyfast = true
-- Do not add a newline at the end of the file -- Do not add a newline at the end of the file
vim.opt.fixeol = false vim.opt.fixeol = false
if vim.fn.has("termguicolors") == 1 then
vim.opt.termguicolors = true
end
-- Enable syntax highlighting -- Enable syntax highlighting
vim.cmd("syntax enable") vim.cmd("syntax enable")
@ -242,3 +238,8 @@ require("CopilotChat").setup {
layout = 'float', layout = 'float',
}, },
} }
if vim.fn.has("termguicolors") == 1 then
vim.opt.termguicolors = true
end