# Allow extensions to define more of the methods in the LspAdapter trait \(\#9554\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d699b8e104c992e996061ddea0851fcb4d747206

Requested commit: d699b8e104c992e996061ddea0851fcb4d747206

Commit: d699b8e104c992e996061ddea0851fcb4d747206

Tree: a3996be7043a2a8da4534b45661cd211eae94ca8

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Allow extensions to define more of the methods in the LspAdapter trait (#9554)

Our goal is to extract Svelte support into an extension, since we've
seen problems with the Tree-sitter Svelte parser crashing due to bugs in
the external scanner. In order to do this, we need a couple more
capabilities in LSP extensions:

* [x] `initialization_options` - programmatically controlling the JSON
initialization params sent to the language server
* [x] `prettier_plugins` - statically specifying a list of prettier
plugins that apply for a given language.
* [x] `npm_install_package`

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
```

## Parents

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

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