(vim) change SpellBad color
This commit is contained in:
parent
f431f2bd13
commit
ff2bcb6bb5
1 changed files with 0 additions and 2 deletions
|
@ -9,7 +9,6 @@ vim.api.nvim_create_autocmd("FileType", {
|
|||
group = vim.api.nvim_create_augroup("spell", { clear = true }),
|
||||
pattern = { "text", "plaintex", "typst", "gitcommit", "markdown" },
|
||||
callback = function()
|
||||
vim.api.nvim_set_hl(0, "SpellBad", { bg = "#770000", fg = "#ffffff" })
|
||||
vim.opt_local.spell = true
|
||||
end,
|
||||
})
|
||||
|
@ -20,7 +19,6 @@ vim.api.nvim_create_autocmd({ "BufReadPre" }, {
|
|||
vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#770000" })
|
||||
vim.api.nvim_set_hl(0, "DiffChange", { bg = "NONE", fg = "#e7c547" })
|
||||
vim.api.nvim_set_hl(0, "DiffText", { bg = "NONE", fg = "#ff8700" })
|
||||
vim.api.nvim_set_hl(0, "SpellBad", { bg = "#770000", fg = "#ffffff" })
|
||||
vim.api.nvim_set_hl(0, "Visual", { bg = "#0094d8", fg = "#ffffff" })
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue