1# Svelte
2
3Svelte support is available through the [Svelte extension](https://github.com/zed-industries/zed/tree/main/extensions/svelte).
4
5## Inlay Hints
6
7Zed sets the following initialization options for inlay Hints:
8
9```json
10"inlayHints": {
11 "parameterNames": {
12 "enabled": "all",
13 "suppressWhenArgumentMatchesName": false
14 },
15 "parameterTypes": {
16 "enabled": true
17 },
18 "variableTypes": {
19 "enabled": true,
20 "suppressWhenTypeMatchesName": false
21 },
22 "propertyDeclarationTypes": {
23 "enabled": true
24 },
25 "functionLikeReturnTypes": {
26 "enabled": true
27 },
28 "enumMemberValues": {
29 "enabled": true
30 }
31}
32```
33
34to make the language server send back inlay hints when Zed has them enabled in the settings.
35
36Use
37
38```json
39"lsp": {
40 "$LANGUAGE_SERVER_NAME": {
41 "initialization_options": {
42 "configuration": {
43 "typescript": {
44 ......
45 },
46 "javascript": {
47 ......
48 }
49 }
50 }
51 }
52}
53```
54
55to override these settings.
56
57See https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/package.json for more information.