config(nvim): nvim 0.10.0 auto detect truecolor
parent
0bc4317a83
commit
184b24f21c
|
@ -26,11 +26,6 @@ vim.opt.breakindent = true
|
|||
-- Clipboard support
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
|
||||
-- Truecolor
|
||||
if vim.env.COLORTERM == "truecolor" then
|
||||
vim.opt.termguicolors = true
|
||||
end
|
||||
|
||||
-- Mouse support
|
||||
vim.opt.mouse = "a"
|
||||
vim.opt.mousemodel = "popup"
|
||||
|
|
Loading…
Reference in New Issue