Skip to content

Commit

Permalink
fix(ui): set backdrop filetype to lazy_backdrop. Fixes #1399
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 29, 2024
1 parent 7a26175 commit 31ddbea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazy/view/float.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ function M:mount()
Util.wo(self.backdrop_win, "winhighlight", "Normal:LazyBackdrop")
Util.wo(self.backdrop_win, "winblend", self.opts.backdrop)
vim.bo[self.backdrop_buf].buftype = "nofile"
vim.bo[self.backdrop_buf].filetype = "lazy_backdrop"
end

self:layout()
Expand Down

0 comments on commit 31ddbea

Please sign in to comment.