-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsublime-package.json
More file actions
84 lines (84 loc) · 3.11 KB
/
sublime-package.json
File metadata and controls
84 lines (84 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"contributions": {
"settings": [
{
"file_patterns": [
"/LSP-astro.sublime-settings"
],
"schema": {
"$id": "sublime://settings/LSP-astro",
"allOf": [
{
"$ref": "sublime://settings/LSP-plugin-base"
},
{
"$ref": "sublime://settings/LSP-astro#/definitions/PluginConfig"
}
],
"definitions": {
"PluginConfig": {
"properties": {
"server_path": {
"type": "string",
"default": "auto",
"markdownDescription": "The path to the server binary to use for starting the language server. Use `auto` for the package to manage (install/update) server automatically.\n\n> [!NOTE]\n> Change this instead of directly updating `command` - the `${server_path}` variable is dynamically resolved based on this setting.\n\n> [!WARNING]\n> Using custom binary could result in package settings not matching what server supports."
},
"initialization_options": {
"additionalProperties": false,
"properties": {
"typescript.tsdk": {
"type": "string",
"default": "",
"title": "TypeScript: Language Server Path",
"description": "Path to TypeScript language server's lib directory.\nIf empty (default), path is determined automatically.\nTo force Typescript bundled with LSP-astro set $server_directory_path/node_modules/typescript/lib"
},
"contentIntellisense": {
"type": "boolean",
"default": false,
"description": "Enable experimental support for content collection intellisense inside Markdown, MDX and Markdoc. Note that this requires also enabling the feature in your Astro config (experimental.contentIntellisense) (Astro 4.14+)"
},
"disableAutoImportCache": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether auto import cache should be disabled. When enabled, yields a faster intellisense when automatically importing a file, but can cause issues with new files not being detected. Change is applied on restart. See [#14642](https://github.com/withastro/astro/issues/14642)."
}
}
},
"settings": {
"additionalProperties": false,
"properties": {
"astro.updateImportsOnFileMove.enabled": {
"type": "boolean",
"default": false,
"description": "Controls whether the extension updates imports when a file is moved to a new location. In most cases, you'll want to keep this disabled as TypeScript and the Astro TypeScript plugin already handles this for you. Having multiple tools updating imports at the same time can lead to corrupted files."
}
}
}
}
}
}
}
},
{
"file_patterns": [
"/*.sublime-project"
],
"schema": {
"properties": {
"settings": {
"properties": {
"LSP": {
"properties": {
"LSP-astro": {
"$ref": "sublime://settings/LSP-astro#/definitions/PluginConfig"
}
}
}
}
}
}
}
}
]
}
}