nvim: make sig in status longer in wide windows

This commit is contained in:
tastytea 2022-10-08 12:37:24 +02:00
parent f6e29bd65c
commit f49db4794a
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -136,6 +136,9 @@ end
function M.lsp_sig_status()
local width = vim.o.columns / 3
if width > 50 then
width = width * 1.5
end
return require('lsp_signature').status_line(width).label
end