8-color/3-bit fallback (for tty) #759
-
Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Try the following code snippet, since the default colorscheme supports TTY best. -- At where you set the colorscheme
vim.g.has_ui = #vim.api.nvim_list_uis() > 0
vim.g.has_gui = vim.g.has_ui and (vim.env.DISPLAY ~= nil or vim.env.WAYLAND_DISPLAY ~= nil)
if not vim.g.has_gui then
if vim.g.has_ui then
vim.cmd.colorscheme('default')
end
return
end
vim.cmd.colorscheme({
args = { 'catppuccin' },
mods = { emsg_silent = true },
}) |
Beta Was this translation helpful? Give feedback.
Try the following code snippet, since the default colorscheme supports TTY best.