lsp_signature.nvim icon indicating copy to clipboard operation
lsp_signature.nvim copied to clipboard

floating_window position happen to shift.

Open allworldg opened this issue 2 years ago • 0 comments

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 .
image

press toggle_key twice to close and open .

image

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,
})

allworldg avatar Aug 04 '22 00:08 allworldg