Skip to content

Connecting to LSP has no effect in Eglot #101

Open
@seb-hyland

Description

@seb-hyland

Hi! In Emacs, I am leveraging Nextflow mode for syntax highlighting, and have tried to use this LSP unsuccessfully with Eglot. I used the following simple configuration:

(add-to-list 'eglot-server-programs '(nextflow-mode . ("java" "-jar" "/path/to/language-server-all.jar")))

Eglot reports a successful connection, with the following message in eglot-events-buffer (I use emacs_lsp_booster to speed up Eglot):

[stderr]  [2025-03-16T19:09:28Z INFO  emacs_lsp_booster::app] Running server "java" "-jar" "/path/to/language-server-all.jar"

and the *Messages* buffer reports the following for a test project:

[eglot] Connected! Server `EGLOT (nextflow-test/(nextflow-mode))' now managing `(nextflow-mode)' buffers in project `nextflow-test'.

However, no LSP capabilities are functional. I can't seem to get completion, eldoc, or other features like rename/jump-to-definition, etc.
Has anyone gotten this LSP to work with Eglot?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions