Skip to content

Bug(lsp_status): nothing visible when show_name is false #1468

@AtifChy

Description

@AtifChy

Self Checks

  • I'm using the latest lualine.
  • I didn't find the issue in existing issues or PRs.

How to reproduce the problem

when show_name and symbols are disabled, icon doesn't show.

Expected behaviour

show the set icon if an lsp is active

Actual behaviour

nothing shows

Minimal config to reproduce the issue

{
        "lsp_status",
        icon = " LSP",
        symbols = {
          spinner = "",
          done = "",
          separator = "",
        },
        ignore_lsp = {
          "copilot",
          "cspell_ls",
          "typos_lsp",
          "harper_ls",
          -- "emmet_language_server",
        },
        show_name = false,
        color = function()
          return { fg = Snacks.util.color("DiagnosticHint") }
        end,
}

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions