Update signcolumn, show diagnostics colored line numbers, remove
diagnostics signs from column. Remove tiny inline diagnostics and re-enable virtual text with a circle icon instead of a box icon. from c
This commit is contained in:
parent
aa526204b5
commit
e216142783
5 changed files with 42 additions and 38 deletions
|
|
@ -1,27 +0,0 @@
|
|||
return {
|
||||
"rachartier/tiny-inline-diagnostic.nvim",
|
||||
event = "VeryLazy",
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("tiny-inline-diagnostic").setup()
|
||||
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false,
|
||||
})
|
||||
|
||||
local colors = require("ayu.colors")
|
||||
colors.generate(true)
|
||||
-- These are not apart of the Ayu color theme, however, I needed these
|
||||
-- colors while still fitting in with the rest
|
||||
local ayu_turquoise = "#5CCFE6"
|
||||
local ayu_dark_blue = "#3A7BD5"
|
||||
for _, highlight in ipairs({
|
||||
{ "DiagnosticUnderlineError", { undercurl = true, sp = colors.error } },
|
||||
{ "DiagnosticUnderlineWarn", { undercurl = true, sp = colors.warning } },
|
||||
{ "DiagnosticUnderlineHint", { undercurl = true, sp = ayu_turquoise } },
|
||||
{ "DiagnosticUnderlineInfo", { undercurl = true, sp = ayu_dark_blue } },
|
||||
}) do
|
||||
vim.api.nvim_set_hl(0, highlight[1], highlight[2])
|
||||
end
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue