From 4a19645374b3c10538bd363e92099d94221efaea Mon Sep 17 00:00:00 2001 From: Daniel Steinberg Date: Mon, 20 Dec 2021 20:52:43 -0500 Subject: [PATCH] Use a default zindex of 50 for documentation (#661) This matches the default zindex for floating windows. --- lua/cmp/view/docs_view.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cmp/view/docs_view.lua b/lua/cmp/view/docs_view.lua index 1723266..5a9acb4 100644 --- a/lua/cmp/view/docs_view.lua +++ b/lua/cmp/view/docs_view.lua @@ -90,7 +90,7 @@ docs_view.open = function(self, e, view) row = view.row, col = col, border = documentation.border, - zindex = documentation.zindex, + zindex = documentation.zindex or 50, }) if left and self.window:has_scrollbar() then self.window.style.col = self.window.style.col - 1