fix: add filetype to window buffer. (#41)

Add a filetype to the Lazy window buffer, which allows plugins like codewindow to ignore it.
This commit is contained in:
Dan Sully 2022-12-20 21:23:00 +01:00 committed by GitHub
parent 14300b3d04
commit 897d6df5ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ function M.show(mode)
end
vim.bo[buf].buftype = "nofile"
vim.bo[buf].filetype = "lazy"
vim.bo[buf].bufhidden = "wipe"
vim.wo[win].conceallevel = 3
vim.wo[win].spell = false