fix(ui): disable folding of floating window (#550)

This commit is contained in:
vanppo 2023-02-16 19:33:53 +08:00 committed by GitHub
parent e916f41df2
commit 6771c7e23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ function M:mount()
local function opts() local function opts()
vim.bo[self.buf].bufhidden = "wipe" vim.bo[self.buf].bufhidden = "wipe"
vim.wo[self.win].conceallevel = 3 vim.wo[self.win].conceallevel = 3
vim.wo[self.win].foldenable = false
vim.wo[self.win].spell = false vim.wo[self.win].spell = false
vim.wo[self.win].wrap = true vim.wo[self.win].wrap = true
vim.wo[self.win].winhighlight = "Normal:LazyNormal" vim.wo[self.win].winhighlight = "Normal:LazyNormal"