Skip to content

Commit 897d6df

Browse files
authored
fix: add filetype to window buffer. (#41)
Add a filetype to the Lazy window buffer, which allows plugins like codewindow to ignore it.
1 parent 14300b3 commit 897d6df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/lazy/view/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ function M.show(mode)
8787
end
8888

8989
vim.bo[buf].buftype = "nofile"
90+
vim.bo[buf].filetype = "lazy"
9091
vim.bo[buf].bufhidden = "wipe"
9192
vim.wo[win].conceallevel = 3
9293
vim.wo[win].spell = false

0 commit comments

Comments
 (0)