Skip to content

Commit

Permalink
fix(icons): removed all obsolete icons thanks to nerdfix
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 26, 2023
1 parent a26fca0 commit cf6a194
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lua/noice/config/format.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ M.defaults = {
error = "NoiceFormatLevelError",
off = "NoiceFormatLevelOff",
},
icons = { error = " ", warn = " ", info = "" },
icons = { error = " ", warn = " ", info = "" },
},
---@class NoiceFormatOptions.progress
progress = {
Expand Down
12 changes: 6 additions & 6 deletions lua/noice/config/icons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ M.kinds = {
Constructor = "",
Enum = "",
EnumMember = "",
Field = " ",
Field = " ",
File = "",
Folder = "",
Function = "",
Interface = " ",
Keyword = " ",
Interface = " ",
Keyword = " ",
Method = "ƒ ",
Module = " ",
Module = " ",
Property = "",
Snippet = " ",
Snippet = " ",
Struct = "",
Text = "",
Unit = "",
Value = " ",
Value = " ",
Variable = "",
}

Expand Down
2 changes: 1 addition & 1 deletion lua/noice/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function M.defaults()
search_up = { kind = "search", pattern = "^%?", icon = " ", lang = "regex" },
filter = { pattern = "^:%s*!", icon = "$", lang = "bash" },
lua = { pattern = { "^:%s*lua%s+", "^:%s*lua%s*=%s*", "^:%s*=%s*" }, icon = "", lang = "lua" },
help = { pattern = "^:%s*he?l?p?%s+", icon = "" },
help = { pattern = "^:%s*he?l?p?%s+", icon = "" },
calculator = { pattern = "^=", icon = "", lang = "vimnormal" },
input = {}, -- Used by input()
-- lua = false, -- to disable a format, set to `false`
Expand Down
2 changes: 1 addition & 1 deletion lua/noice/text/format/formatters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function M.debug(message, opts)
end
local blocking, reason = Util.is_blocking()
local debug = {
message:is({ cleared = true }) and "" or "",
message:is({ cleared = true }) and "" or "",
"#" .. message.id,
message.event .. (message.kind and message.kind ~= "" and ("." .. message.kind) or ""),
blocking and "" .. reason,
Expand Down

0 comments on commit cf6a194

Please sign in to comment.