
This PR adds support for capabilities for the extension process API. In order to use the process API, an extension must declare which commands it wants to use, with arguments: ```toml [[capabilities]] kind = "process:exec" command = "echo" args = ["hello!"] ``` A `*` can be used to denote a single wildcard in the argument list: ```toml [[capabilities]] kind = "process:exec" command = "echo" args = ["*"] ``` And `**` can be used to denote a wildcard for the remaining arguments: ```toml [[capabilities]] kind = "process:exec" command = "ls" args = ["-a", "**"] ``` Release Notes: - N/A --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
20 lines
511 B
TOML
20 lines
511 B
TOML
id = "test-extension"
|
|
name = "Test Extension"
|
|
description = "An extension for use in tests."
|
|
version = "0.1.0"
|
|
schema_version = 1
|
|
authors = ["Marshall Bowers <elliott.codes@gmail.com>"]
|
|
repository = "https://github.com/zed-industries/zed"
|
|
|
|
[language_servers.gleam]
|
|
name = "Gleam LSP"
|
|
language = "Gleam"
|
|
|
|
[grammars.gleam]
|
|
repository = "https://github.com/gleam-lang/tree-sitter-gleam"
|
|
commit = "8432ffe32ccd360534837256747beb5b1c82fca1"
|
|
|
|
[[capabilities]]
|
|
kind = "process:exec"
|
|
command = "echo"
|
|
args = ["hello!"]
|