Skip to content

Commit

Permalink
fix: check if plugin is noice
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 29, 2022
1 parent d148e1a commit 7b62ccf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/noice/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ function M.get_source(fn)
source = source,
plugin = "unknown",
}
if source:find("/runtime/lua/") then
if source:find("noice") then
ret.plugin = "noice.nvim"
elseif source:find("/runtime/lua/") then
ret.plugin = "nvim"
else
local opt = source:match("/pack/[^%/]-/opt/([^%/]-)/")
Expand Down

0 comments on commit 7b62ccf

Please sign in to comment.