Skip to content

Connecting to LSP has no effect in Eglot #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
seb-hyland opened this issue Mar 16, 2025 · 1 comment
Open

Connecting to LSP has no effect in Eglot #101

seb-hyland opened this issue Mar 16, 2025 · 1 comment

Comments

@seb-hyland
Copy link

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?

@bentsherman
Copy link
Member

I would consult the folks in #56 as they might have some pointers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants