Allow .zed/tasks.json local configs (#8536)
 Follow-up of https://github.com/zed-industries/zed/issues/7108#issuecomment-1960746397 Makes more clear where each task came from, auto (re)load .zed/config.json changes, properly filtering out other worktree tasks. Release Notes: - Added local task configurations
This commit is contained in:
parent
7f954cbbb8
commit
ac30ded80e
12 changed files with 715 additions and 281 deletions
|
@ -72,7 +72,10 @@ impl JsonLspAdapter {
|
|||
"schema": KeymapFile::generate_json_schema(&action_names),
|
||||
},
|
||||
{
|
||||
"fileMatch": [schema_file_match(&paths::TASKS)],
|
||||
"fileMatch": [
|
||||
schema_file_match(&paths::TASKS),
|
||||
&*paths::LOCAL_TASKS_RELATIVE_PATH,
|
||||
],
|
||||
"schema": tasks_schema,
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue