Skip to content

Commit

Permalink
fix: dont check lazyredraw when Noice is running
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 29, 2022
1 parent d525285 commit a202a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/noice/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function M.check(opts)
end

if vim.go.lazyredraw then
if not opts.checkhealth then
if not Config.is_running() then
log.warn(
"You have enabled 'lazyredraw' (see `:h 'lazyredraw'`)\nThis is only meant to be set temporarily.\nYou'll experience issues using Noice."
)
Expand Down

0 comments on commit a202a22

Please sign in to comment.