Skip to content

Commit 7b62ccf

Browse files
committed
fix: check if plugin is noice
1 parent d148e1a commit 7b62ccf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/noice/health.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ function M.get_source(fn)
201201
source = source,
202202
plugin = "unknown",
203203
}
204-
if source:find("/runtime/lua/") then
204+
if source:find("noice") then
205+
ret.plugin = "noice.nvim"
206+
elseif source:find("/runtime/lua/") then
205207
ret.plugin = "nvim"
206208
else
207209
local opt = source:match("/pack/[^%/]-/opt/([^%/]-)/")

0 commit comments

Comments
 (0)