Skip to content

Commit

Permalink
feat: use codicons for vim.notify
Browse files Browse the repository at this point in the history
Seeee #370
  • Loading branch information
rcarriga committed Apr 8, 2024
1 parent e07fe82 commit f03a78c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/neotest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ Default values:
final_child_indent = " ",
final_child_prefix = "╰",
non_collapsible = "─",
notify = "",
passed = "",
running = "",
running_animated = { "/", "|", "\\", "-", "/", "|", "\\", "-" },
Expand Down
1 change: 1 addition & 0 deletions lua/neotest/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ local default_config = {
child_indent = "",
final_child_indent = " ",
watching = "",
notify = "",
},
highlights = {
passed = "NeotestPassed",
Expand Down
2 changes: 1 addition & 1 deletion lua/neotest/lib/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ neotest.lib.notify = function(msg, level, opts)
level,
vim.tbl_extend("keep", opts or {}, {
title = "Neotest",
icon = "",
icon = require("neotest.config").icons.notify,
})
)
end)
Expand Down

0 comments on commit f03a78c

Please sign in to comment.