mirror of https://github.com/folke/lazy.nvim.git
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:
parent
14300b3d04
commit
897d6df5ac
|
@ -87,6 +87,7 @@ function M.show(mode)
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.bo[buf].buftype = "nofile"
|
vim.bo[buf].buftype = "nofile"
|
||||||
|
vim.bo[buf].filetype = "lazy"
|
||||||
vim.bo[buf].bufhidden = "wipe"
|
vim.bo[buf].bufhidden = "wipe"
|
||||||
vim.wo[win].conceallevel = 3
|
vim.wo[win].conceallevel = 3
|
||||||
vim.wo[win].spell = false
|
vim.wo[win].spell = false
|
||||||
|
|
Loading…
Reference in New Issue