Pārlūkot izejas kodu

compe doc options

Chris 4 gadi atpakaļ
vecāks
revīzija
72f5a54ec2
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      lua/core/compe.lua

+ 4 - 0
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,