local M = {} function M.init() if vim.env["TERM_NERD_FONT"] == "1" then M.nerd_font = true else M.nerd_font = false end -- Diagnostics signs if vim.env["TERM"] == "xterm-kitty" then -- Don't use double width emoji for Kitty M.diagnostic_signs = { Error = "đŸ”Ĩ", Warn = "⚠", Hint = "🤔", Info = "i", Pencil = "✎", } else M.diagnostic_signs = { Error = "đŸ”Ĩ", Warn = "⚠ī¸", Hint = "🤔", Info = "➞", Pencil = "✏ī¸", } end -- Debug icons M.debug_icons = { breakpoint = "🛑", conditional_breakpoint = "🔍", log_point = "📝", current = "👉", breakpoint_rejected = "đŸšĢ", } -- Debug control icons if vim.env["TERM"] == "xterm-kitty" then -- Don't use double width emoji for Kitty M.debug_control_icons = { disconnect = "⏏", pause = "⏸", play = "â–ļ", run_last = "⏎", step_back = "◀", step_into = "â¤ĩ", step_out = "⤴", step_over = "⏭", terminate = "⏚", } else M.debug_control_icons = { disconnect = "⏏ī¸", pause = "⏸ī¸", play = "â–ļī¸", run_last = "⏎ī¸", step_back = "◀ī¸", step_into = "â¤ĩī¸", step_out = "⤴ī¸", step_over = "⏭ī¸", terminate = "⏚ī¸", } end end M.init() return M