Make sure diagnostic signs have the correct color
Hope this is the last time I have to mess with those damn icons...
This commit is contained in:
parent
2eb9979462
commit
33a2e8aaa1
@ -12,10 +12,10 @@ spec.config = function()
|
|||||||
local builtin = require("statuscol.builtin")
|
local builtin = require("statuscol.builtin")
|
||||||
|
|
||||||
-- Give me fancy diagnostic signs
|
-- Give me fancy diagnostic signs
|
||||||
vim.fn.sign_define("DiagnosticSignError", { text = "✘" })
|
for level, text in pairs({ Error = "✘", Warn = "▲", Info = "»", Hint = "⚑" }) do
|
||||||
vim.fn.sign_define("DiagnosticSignWarn", { text = "▲" })
|
local name = "DiagnosticSign" .. level
|
||||||
vim.fn.sign_define("DiagnosticSignInfo ", { text = "»" })
|
vim.fn.sign_define(name, { text = text, texthl = name })
|
||||||
vim.fn.sign_define("DiagnosticSignHint", { text = "⚑" })
|
end
|
||||||
|
|
||||||
vim.opt.signcolumn = "yes"
|
vim.opt.signcolumn = "yes"
|
||||||
vim.opt.foldcolumn = "1"
|
vim.opt.foldcolumn = "1"
|
||||||
|
Loading…
Reference in New Issue
Block a user