Skip to content

[BUG] jdtls does not specify a command to run the language server by default #4165

@s1idewhist1e

Description

@s1idewhist1e

Plugin

jdtls

Nixpkgs Release

unstable

Home Manager Release

unstable

I have read the FAQ

  • I have read the FAQ and my bug is not listed there.

Description

By default, plugins.jdtls.enable does not populate plugins.jdtls.settings.cmd field. When this is not populated, an assertion fails because the plugin expects to have the command to start the language server in this field. Expected behavior is that it would populate this with the plugins.jdtls.jdtLanguageServerPackage field so it works without needing further configuration which is not clearly documented.

Minimal, Reproducible Example (MRE)

programs.nixvim = {
    plugins.jdtls.enable = true;
};

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