Skip to content

Use local LSP binary if available#43

Merged
MrSubidubi merged 2 commits into
zed-extensions:mainfrom
Vlaaaaaaad:local-binary
Jun 9, 2026
Merged

Use local LSP binary if available#43
MrSubidubi merged 2 commits into
zed-extensions:mainfrom
Vlaaaaaaad:local-binary

Conversation

@Vlaaaaaaad

@Vlaaaaaaad Vlaaaaaaad commented May 18, 2026

Copy link
Copy Markdown
Contributor

Closes #20

I was annoyed by Zed downloading a bunch of things and this extension was one of the culprits 🙂

Following the pattern in the other file, this enables the local binary to be used if available (say if the user installed it with brew install dockerfile-language-server or npm install -g dockerfile-language-server-nodejs). If not, the LSP is downloaded as before.

This change was not tested as I am unsure how to do that and the change seems straightforward 😅 I am happy to test it if y'all want me to!

@cla-bot cla-bot Bot added the cla-signed label May 18, 2026

@MrSubidubi MrSubidubi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was not tested as I am unsure how to do that and the change seems straightforward

You can use install dev extension and could have checked out the path used.

That said, it indeed is just that, so happy to merge. Thanks!

@MrSubidubi MrSubidubi merged commit 5cc8daf into zed-extensions:main Jun 9, 2026
5 checks passed
@Vlaaaaaaad Vlaaaaaaad deleted the local-binary branch June 9, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support locally installed docker-langserver (or configure option for specifying docker lsp binary)

2 participants