ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
1.97k stars 53 forks source link

The floating window overlaps with the cursor #317

Open aykhaiweng opened 2 months ago

aykhaiweng commented 2 months ago

Issue

The floating window for signature help overlaps with the typing cursor when the cursor is on the lower half of the buffer screen. (Using opts.floating_window_above_cur_line = false)

Config

    {
        "ray-x/lsp_signature.nvim",
        cmd = { "LspInfo", "LspInstall", "LspStart" },
        event = { "BufReadPre", "BufNewFile" },
        opts = {
            floating_window_above_cur_line = false,
            always_trigger = true,
            toggle_key = "<C-s>",
            hint_enable = false,
            check_completion_visible = false,
            handler_opts = {
                border = "single",
            },
        },
        config = function(_, opts)
            require("lsp_signature").setup(opts)
        end,
    },

Screenshot

image

ASong5 commented 2 months ago

i have the same issue