dotfiles/tools/nvim/lua/config/diagnostics.lua
2025-01-28 14:24:30 +00:00

7 lines
255 B
Lua

local signs = require("config.icons").diagnostics
-- This provides the diagnostics signs near the line numbers
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
end