fix(ui): set backdrop filetype to `lazy_backdrop`. Fixes #1399

This commit is contained in:
Folke Lemaitre 2024-03-29 20:28:45 +01:00
parent 7a2617575a
commit 31ddbea7c1
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ function M:mount()
Util.wo(self.backdrop_win, "winhighlight", "Normal:LazyBackdrop") Util.wo(self.backdrop_win, "winhighlight", "Normal:LazyBackdrop")
Util.wo(self.backdrop_win, "winblend", self.opts.backdrop) Util.wo(self.backdrop_win, "winblend", self.opts.backdrop)
vim.bo[self.backdrop_buf].buftype = "nofile" vim.bo[self.backdrop_buf].buftype = "nofile"
vim.bo[self.backdrop_buf].filetype = "lazy_backdrop"
end end
self:layout() self:layout()