mirror of https://github.com/folke/lazy.nvim.git
fix(ui): set backdrop filetype to `lazy_backdrop`. Fixes #1399
This commit is contained in:
parent
7a2617575a
commit
31ddbea7c1
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue