aboutsummaryrefslogtreecommitdiffstats
path: root/lua/config/diagnostic.lua
blob: 7d56f1cb16af502dcd6e932fe9dcaf1bd4bbc320 (plain)
1
2
3
4
5
6
7
8
9
vim.diagnostic.config({
	virtual_text = false,
})

local signs = { Error = "", Warn = "", Hint = "", Info = "" }
for type, icon in pairs(signs) do
	local hl = "DiagnosticSign" .. type
	vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
end