Skip to content

Commit

Permalink
fix: add filetype to window buffer. (#41)
Browse files Browse the repository at this point in the history
Add a filetype to the Lazy window buffer, which allows plugins like codewindow to ignore it.
  • Loading branch information
dsully committed Dec 20, 2022
1 parent 14300b3 commit 897d6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazy/view/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 897d6df

Please sign in to comment.