summaryrefslogtreecommitdiff
path: root/lua/core/compe.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-08-01 12:21:06 -0400
committerChris <[email protected]>2021-08-01 12:21:06 -0400
commit72f5a54ec2129148aa67da0d86fc8c7c58dedbed (patch)
tree208cd373c1654691b1692f7838b2a51c1ad78190 /lua/core/compe.lua
parent341a17daa60562f553e41c4c6792a6c917d8d9ef (diff)
compe doc options
Diffstat (limited to 'lua/core/compe.lua')
-rw-r--r--lua/core/compe.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/core/compe.lua b/lua/core/compe.lua
index 08d8b8bd..155c7874 100644
--- a/lua/core/compe.lua
+++ b/lua/core/compe.lua
@@ -15,6 +15,10 @@ M.config = function()
documentation = {
border = "single",
winhighlight = "NormalFloat:CompeDocumentation,FloatBorder:CompeDocumentationBorder",
+ max_width = 120,
+ min_width = 60,
+ max_height = math.floor(vim.o.lines * 0.3),
+ min_height = 1,
},
-- documentation = true,