From 31ddbea7c10b6920c9077b66c97951ca8682d5c8 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 29 Mar 2024 20:28:45 +0100 Subject: [PATCH] fix(ui): set backdrop filetype to `lazy_backdrop`. Fixes #1399 --- lua/lazy/view/float.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazy/view/float.lua b/lua/lazy/view/float.lua index 35baa6f..6696c5e 100644 --- a/lua/lazy/view/float.lua +++ b/lua/lazy/view/float.lua @@ -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()