Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

bug: no lsp document symbols are found #88

@bsolar17

Description

@bsolar17

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.11.0

Operating system/version

MacOS 15.4
Debian 12

Describe the bug

Using nvim-java no lsp document symbol is found. By manually configuring nvim-jdtls I noticed the lsp does provide document symbols in that configuration.

I tinkered a bit with nvim-java-core and removing this line makes lsp document symbols appear:

clientDocumentSymbolProvider = true,

Image

I'm not sure what clientDocumentSymbolProvider = true does though so I don't know what the full consequences of removing that line are.

Steps To Reproduce

  1. Install nvim-java.
  2. Open a Java file.
  3. Try to open document symbols, e.g. through fzf-lua's builtin lsp_document_symbols.

No lsp document symbol will appear.

Expected Behavior

Lsp document symbols are expected to be found and displayed.

Removing the above mentioned line leads to the expected behaviour but I don't know of possible side-effects as I don't fully understand what the line does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions