From a202a2226e91f62706ebff63a5b0d4fdf2d2e370 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 29 Oct 2022 13:46:20 +0200 Subject: [PATCH] fix: dont check lazyredraw when Noice is running --- lua/noice/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/noice/health.lua b/lua/noice/health.lua index c0d38b2..9bf55de 100644 --- a/lua/noice/health.lua +++ b/lua/noice/health.lua @@ -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." )