Skip to content

Commit

Permalink
chore(build): auto-generate vimdoc, schemas and annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 23, 2023
1 parent b7cde4b commit 3608052
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"items": {
"type": "string"
},
"markdownDescription": "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets\n```\n.",
"markdownDescription": "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.cargo.buildScripts.invocationStrategy#` and\n`#rust-analyzer.cargo.buildScripts.invocationLocation#`.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets\n```\n.",
"type": [
"null",
"array"
Expand Down Expand Up @@ -267,7 +267,7 @@
"items": {
"type": "string"
},
"markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects, this command is invoked for\neach of them, with the working directory being the project root\n(i.e., the folder containing the `Cargo.toml`).\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",
"markdownDescription": "Override the command rust-analyzer uses instead of `cargo check` for\ndiagnostics on save. The command is required to output json and\nshould therefore include `--message-format=json` or a similar option\n(if your client supports the `colorDiagnosticOutput` experimental\ncapability, you can use `--message-format=json-diagnostic-rendered-ansi`).\n\nIf you're changing this because you're using some tool wrapping\nCargo, you might also want to change\n`#rust-analyzer.cargo.buildScripts.overrideCommand#`.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.cargo.check.invocationStrategy#` and\n`#rust-analyzer.cargo.check.invocationLocation#`.\n\nAn example command would be:\n\n```bash\ncargo check --workspace --message-format=json --all-targets\n```\n.",
"type": [
"null",
"array"
Expand Down
14 changes: 11 additions & 3 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9684,6 +9684,12 @@
-- and should therefore include `--message-format=json` or a similar
-- option.
--
-- If there are multiple linked projects/workspaces, this command is invoked for
-- each of them, with the working directory being the workspace root
-- (i.e., the folder containing the `Cargo.toml`). This can be overwritten
-- by changing `#rust-analyzer.cargo.buildScripts.invocationStrategy#` and
-- `#rust-analyzer.cargo.buildScripts.invocationLocation#`.
--
-- By default, a cargo invocation will be constructed for the configured
-- targets and features, with the following base command line:
--
Expand Down Expand Up @@ -9856,9 +9862,11 @@
-- Cargo, you might also want to change
-- `#rust-analyzer.cargo.buildScripts.overrideCommand#`.
--
-- If there are multiple linked projects, this command is invoked for
-- each of them, with the working directory being the project root
-- (i.e., the folder containing the `Cargo.toml`).
-- If there are multiple linked projects/workspaces, this command is invoked for
-- each of them, with the working directory being the workspace root
-- (i.e., the folder containing the `Cargo.toml`). This can be overwritten
-- by changing `#rust-analyzer.cargo.check.invocationStrategy#` and
-- `#rust-analyzer.cargo.check.invocationLocation#`.
--
-- An example command would be:
--
Expand Down

0 comments on commit 3608052

Please sign in to comment.