Skip to content

Commit

Permalink
feat(health): added check for vim-sleuth
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 28, 2022
1 parent a4c3d48 commit 2d11c5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/noice/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ function M.check(opts)
end

if Config.is_running() then
if vim.g.loaded_sleuth == 1 then
log.warn("`vim-sleuth` is known to cause issues with the Noice popupmenu.")
end
if Config.options.notify.enabled then
if vim.notify ~= require("noice.source.notify").notify then
log.error([[`vim.notify` has been overwritten by another plugin?
Expand Down

0 comments on commit 2d11c5b

Please sign in to comment.