Skip to content

Commit

Permalink
fix(icons): display issue on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamHsieh committed Nov 2, 2024
1 parent 1592d7f commit 99e2d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/nvim/lua/plugins/heirline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function M.config()
local Diagnostics = {
condition = conditions.has_diagnostics,
static = {
icons = { Error = "󰅙", Warning = "" },
icons = { Error = "", Warning = "" },
},
init = function(self)
self.errors = #vim.diagnostic.get(0, { severity = vim.diagnostic.severity.ERROR })
Expand Down
2 changes: 1 addition & 1 deletion config/nvim/lua/plugins/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function M.config()
require("plugins.lsp.utils").setup_auto_detach()

-- settings
local signs = { Error = "󰅙", Info = "󰋼", Hint = "󰌵", Warn = "" }
local signs = { Error = "", Info = "󰋼", Hint = "󰌵", Warn = "" }
for name, icon in pairs(signs) do
local hl = "DiagnosticSign" .. name
vim.fn.sign_define(hl, { text = icon, numhl = hl, texthl = hl })
Expand Down

0 comments on commit 99e2d78

Please sign in to comment.