nvim: make sig in status longer in wide windows
This commit is contained in:
parent
f6e29bd65c
commit
f49db4794a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user