1
0
Fork 0

nvim: make signature in statusline independent of window width

doesn't make sense with global statusline. 😊
This commit is contained in:
tastytea 2022-09-03 05:10:17 +02:00
parent 35c2fc187a
commit 82abfc7889
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ function M.lsp_status()
end
function M.lsp_sig_status()
local width = vim.api.nvim_win_get_width(0) / 2
local width = vim.o.columns / 3
return require('lsp_signature').status_line(width).label
end