From 6771c7e23c3ecdb50a9510c4cd5e1e0d2db9e5ca Mon Sep 17 00:00:00 2001 From: vanppo Date: Thu, 16 Feb 2023 19:33:53 +0800 Subject: [PATCH] fix(ui): disable folding of floating window (#550) --- lua/lazy/view/float.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazy/view/float.lua b/lua/lazy/view/float.lua index 2a2cc5f..f0e719a 100644 --- a/lua/lazy/view/float.lua +++ b/lua/lazy/view/float.lua @@ -107,6 +107,7 @@ function M:mount() local function opts() vim.bo[self.buf].bufhidden = "wipe" vim.wo[self.win].conceallevel = 3 + vim.wo[self.win].foldenable = false vim.wo[self.win].spell = false vim.wo[self.win].wrap = true vim.wo[self.win].winhighlight = "Normal:LazyNormal"