aboutsummaryrefslogtreecommitdiffstats
path: root/lua/config/diagnostic.lua
blob: 67465aea83d220cd79809971960ca4a013c5a45e (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