aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrayx <rayx.cn@gmail.com>2021-07-20 02:03:59 +1000
committerGitHub <noreply@github.com>2021-07-19 09:03:59 -0700
commitc487a73fa22f3815dc043e188cc73418115211e1 (patch)
tree956812670bae3dd16603d0b985928167432ddc05
parent526fc609b83742430ff952f95ab3b56ef9f4951b (diff)
downloadrneovim-c487a73fa22f3815dc043e188cc73418115211e1.tar.gz
rneovim-c487a73fa22f3815dc043e188cc73418115211e1.tar.bz2
rneovim-c487a73fa22f3815dc043e188cc73418115211e1.zip
feat(lsp): allow configuring zindex for floating windows (#15086)
-rw-r--r--runtime/lua/vim/lsp/util.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index 1ea974dffa..dc15d67e1c 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -990,6 +990,7 @@ function M.make_floating_popup_options(width, height, opts)
style = 'minimal',
width = width,
border = opts.border or default_border,
+ zindex = opts.zindex or 50,
}
end