Skip to content

Commit e510db3

Browse files
committed
fix: remove task[s]/toml auto-schema injection
1 parent c4e93ce commit e510db3

2 files changed

Lines changed: 8 additions & 11 deletions

File tree

docs/src/content/docs/reference/mise.toml-language-support.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ The extension will notify you on startup if neither is installed.
2020

2121
![mise-toml-language-support.png](../../../assets/mise-toml-language-support.png)
2222

23-
### Code completion
23+
#### tasks_config.includes
2424

25-
This extension will
26-
[provide two JSON schemas](https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml#completion-and-validation-with-json-schema)
27-
for code completion
25+
If you use [`tasks_config.includes`](https://mise.jdx.dev/tasks/task-configuration.html#task-config-includes) to include some additional tasks files, add the following at the top of your file to get auto-completion and validation from `tombi` or `even-better-toml`.
2826

29-
- In `mise.*toml` files, https://mise.jdx.dev/schema/mise.json is automatically
30-
used
31-
- In `*task[s]?.toml` files, it's using https://mise.jdx.dev/schema/mise-task.json
27+
```toml
28+
#:schema https://mise.jdx.dev/schema/mise-task.json
29+
30+
[build]
31+
run = "echo Hello, World!"
32+
```
3233

3334
#### Autocompletion for tools
3435

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@
8282
"**/mise/config.toml"
8383
],
8484
"url": "https://mise.jdx.dev/schema/mise.json"
85-
},
86-
{
87-
"regexMatch": "task[s]?.toml",
88-
"url": "https://mise.jdx.dev/schema/mise-task.json"
8985
}
9086
],
9187
"grammars": [

0 commit comments

Comments
 (0)