We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e853ec4 commit 46a40bdCopy full SHA for 46a40bd
lua/noice/health.lua
@@ -72,9 +72,11 @@ function M.check(opts)
72
end
73
74
if vim.go.lazyredraw then
75
- log.warn(
76
- "You have enabled 'lazyredraw' (see `:h 'lazyredraw'`)\nThis is only meant to be set temporarily.\nYou'll experience issues using Noice."
77
- )
+ if not opts.checkhealth then
+ log.warn(
+ "You have enabled 'lazyredraw' (see `:h 'lazyredraw'`)\nThis is only meant to be set temporarily.\nYou'll experience issues using Noice."
78
+ )
79
+ end
80
else
81
log.ok("**vim.go.lazyredraw** is not enabled")
82
0 commit comments