mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
some updates
This commit is contained in:
parent
3144c50fca
commit
418aa03ecc
6 changed files with 207 additions and 108 deletions
|
|
@ -5,16 +5,30 @@ Set_light_mode = function()
|
|||
"ColorScheme",
|
||||
{
|
||||
callback = function()
|
||||
vim.cmd "highlight NormalFloat guibg=white"
|
||||
vim.cmd "highlight FloatBorder guifg=black guibg=white"
|
||||
-- LSP window border color
|
||||
vim.cmd("highlight NormalFloat guibg=white")
|
||||
vim.cmd("highlight FloatBorder guifg=black guibg=white")
|
||||
|
||||
-- vim.cmd "highlight DiagnosticError gui=bold"
|
||||
-- vim.cmd "highlight DiagnosticWarn gui=italic"
|
||||
-- vim.cmd "highlight DiagnosticInfo guibg=black guibg=italic"
|
||||
-- vim.cmd "highlight DiagnosticHint guibg=black"
|
||||
-- Tune virtual text colors
|
||||
-- vim.cmd ("highlight DiagnosticError gui=bold")
|
||||
-- vim.cmd ("highlight DiagnosticWarn gui=italic")
|
||||
-- vim.cmd ("highlight DiagnosticInfo guibg=black guibg=italic")
|
||||
-- vim.cmd ("highlight DiagnosticHint guibg=black")
|
||||
|
||||
vim.cmd "highlight TreesitterContext guibg=#EEEEEE"
|
||||
vim.cmd "highlight TreesitterContextBottom guibg=#EEEEEE gui=underline guisp=Grey"
|
||||
-- TreesitterContext border
|
||||
vim.cmd("highlight TreesitterContext guibg=#EEEEEE")
|
||||
vim.cmd("highlight TreesitterContextBottom guibg=#EEEEEE gui=underline guisp=Grey")
|
||||
|
||||
-- Diff colors override
|
||||
vim.cmd("highlight DiffAdd guibg=#f0f0f0")
|
||||
vim.cmd("highlight DiffChange guibg=#f0f0f0")
|
||||
vim.cmd("highlight DiffDelete guibg=#f0f0f0")
|
||||
vim.cmd("highlight DiffText guibg=#f0f0f0")
|
||||
vim.cmd("highlight DiffAdded guibg=#f0f0f0")
|
||||
vim.cmd("highlight DiffFile guibg=#f0f0f0")
|
||||
vim.cmd("highlight DiffNewFile guibg=#f0f0f0")
|
||||
vim.cmd("highlight DiffLine guibg=#f0f0f0")
|
||||
vim.cmd("highlight DiffRemoved guibg=#f0f0f0")
|
||||
end,
|
||||
group = vim.api.nvim_create_augroup("MyColorOverride", { clear = true }),
|
||||
pattern = '*',
|
||||
|
|
@ -29,16 +43,30 @@ Set_dark_mode = function()
|
|||
"ColorScheme",
|
||||
{
|
||||
callback = function()
|
||||
-- LSP window border color
|
||||
vim.cmd "highlight NormalFloat guibg=black"
|
||||
vim.cmd "highlight FloatBorder guifg=white guibg=black"
|
||||
|
||||
-- Tune virtual text colors
|
||||
-- vim.cmd "highlight DiagnosticError gui=bold"
|
||||
-- vim.cmd "highlight DiagnosticWarn gui=italic"
|
||||
-- vim.cmd "highlight DiagnosticInfo guifg=white guibg=black"
|
||||
-- vim.cmd "highlight DiagnosticHint guifg=white guibg=black"
|
||||
|
||||
-- TreesitterContext border
|
||||
vim.cmd "highlight TreesitterContext guibg=#555555"
|
||||
vim.cmd "highlight TreesitterContextBottom guibg=#555555 gui=underline guisp=LightGrey"
|
||||
|
||||
-- Diff colors override
|
||||
vim.cmd("highlight DiffAdd guibg=#303030")
|
||||
vim.cmd("highlight DiffChange guibg=#303030")
|
||||
vim.cmd("highlight DiffDelete guibg=#303030")
|
||||
vim.cmd("highlight DiffText guibg=#303030")
|
||||
vim.cmd("highlight DiffAdded guibg=#303030")
|
||||
vim.cmd("highlight DiffFile guibg=#303030")
|
||||
vim.cmd("highlight DiffNewFile guibg=#303030")
|
||||
vim.cmd("highlight DiffLine guibg=#303030")
|
||||
vim.cmd("highlight DiffRemoved guibg=#303030")
|
||||
end,
|
||||
group = vim.api.nvim_create_augroup("MyColorOverride", { clear = true }),
|
||||
pattern = '*',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue