lsp_signature.nvim
lsp_signature.nvim copied to clipboard
floating_window position happen to shift.
When the floating window appear by trigger , it is great . But if I use toggle_key
to close and open again , the window will be shifted .
press toggle_key
twice to close and open .
my setup:
lsp_signature.setup({
bind = true,
doc_lines = 1,
toggle_key = "<C-k>",
floating_window = true,
floating_window_above_cur_line = true,
hint_enable = false, -- virtual hint enable
close_timeout = 1,
floating_window_off_x=10,
floating_windows_off_y=0,
fix_pos = false,
log_path = vim.fn.expand("$HOME") .. "/tmp/sig.log",
-- hi_parameter = "Search",
timer_interval = 100,
extra_trigger_chars = {},
handler_opts = {
border = "rounded", -- "shadow", --{"╭", "─" ,"╮", "│", "╯", "─", "╰", "│" },
},
max_height = 4,
})