# Fix path for vscode-html-language-server when found on PATH \(\#40832\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/bf63ff2b9157a05985536bd4890cd9e3587f24e7)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: bf63ff2b9157a05985536bd4890cd9e3587f24e7

Requested commit: bf63ff2b9157a05985536bd4890cd9e3587f24e7

Commit: bf63ff2b9157a05985536bd4890cd9e3587f24e7

Tree: 78c80f98f5dc1bf9dd6307581ceadd95c8f11aca

Author: Cole Miller

Committer: GitHub

## Message

```
Fix path for vscode-html-language-server when found on PATH (#40832)

Don't prepend the worktree root when using an absolute path from
`Worktree::which`, since that does the wrong thing when running in
wasmtime given two Windows absolute paths. Also don't pass this path to
`node`, since when npm installed it's a sh/cmd wrapper not a JS file.

Part of #39153, also needs a fix on the vscode-langservers-extracted
side (missing shebang for the vscode-html-language-server script).

Release Notes:

- Fixed Zed failing to run the HTML language server in some cases.
```

## Parents

- [f9e0642a72e6bc680ba5ff5c3a6eb5e1bd5f6752](https://git.cafe/gitcafe/zed/commit/f9e0642a72e6bc680ba5ff5c3a6eb5e1bd5f6752?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/bf63ff2b9157a05985536bd4890cd9e3587f24e7?format=markdown)
