Skip to content

Parameter hint/highlight incorrect due to whitespace #344

@cactusbento

Description

@cactusbento

Incorrect_hint_A
Incorrect_hint_B

Language Server: zls

Adding a space after a comma separating function parameters highlights the previous parameter. Happens with all functions.

  {
    "ray-x/lsp_signature.nvim",
    event = "BufRead",
    config = function()
      require("lsp_signature").setup({
        bind = true,
        hint_enable = true,
        hint_prefix = "!>",
        toggle_key = "<C-x>",
        handler_opts = {
          border = "single",
        },
        hi_parameter = "LspSignatureActiveParameter",

        doc_lines = 10,
      })
    end,
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions