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 = "" }) vim.diagnostic.config(hl, { text = icon, texthl = hl, numhl = "" }) end