# Fix issues with extension API that come up when moving Svelte into an extension \(\#9611\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6ebe599c980508aa8c7e87fad3e59e5a43892368

Requested commit: 6ebe599c980508aa8c7e87fad3e59e5a43892368

Commit: 6ebe599c980508aa8c7e87fad3e59e5a43892368

Tree: b0f841dc7a3bb39f544e889700550bab30063d61

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix issues with extension API that come up when moving Svelte into an extension (#9611)

We're doing it. Svelte support is moving into an extension. This PR
fixes some issues that came up along the way.

Notes

* extensions need to be able to retrieve the path the `node` binary
installed by Zed
* previously we were silently swallowing any errors that occurred while
loading a grammar
* npm commands ran by extensions weren't run in the right directory
* Tree-sitter's WASM stdlib didn't support a C function (`strncmp`)
needed by the Svelte parser's external scanner
* the way that LSP installation status was reported was unnecessarily
complex

Release Notes:

- Removed built-in support for the Svelte and Gleam languages, because
full support for those languages is now available via extensions. These
extensions will be suggested for download when you open a `.svelte` or
`.gleam` file.

---------

Co-authored-by: Marshall <marshall@zed.dev>
```

## Parents

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

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