dotfiles/home/dot_config/nvim/lua/config/diagnostics.lua
2025-09-27 15:28:09 +01: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