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 Jan 16, 2025
1 parent 3262e64 commit d7e408b
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 7 deletions.
6 changes: 3 additions & 3 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -1565,9 +1565,9 @@
"markdownDescription": "Whether to prefix newlines after comments with the corresponding comment prefix.",
"type": "boolean"
},
"rust-analyzer.typing.excludeChars": {
"default": "|<",
"markdownDescription": "Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`.",
"rust-analyzer.typing.triggerChars": {
"default": "=.",
"markdownDescription": "Specify the characters allowed to invoke special on typing triggers.\n- typing `=` after `let` tries to smartly add `;` if `=` is followed by an existing expression\n- typing `=` between two expressions adds `;` when in statement position\n- typing `=` to turn an assignment into an equality comparison removes `;` when in expression position\n- typing `.` in a chain method call auto-indents\n- typing `{` or `(` in front of an expression inserts a closing `}` or `)` after the expression\n- typing `{` in a use item adds a closing `}` in the right place\n- typing `>` to complete a return type `->` will insert a whitespace after it\n- typing `<` in a path or type position inserts a closing `>` after the path or type.",
"type": [
"null",
"string"
Expand Down
8 changes: 7 additions & 1 deletion schemas/sourcekit.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"swift.SDK": {
"default": "",
"markdownDescription": "The path of the SDK to compile against (`--sdk` parameter). This is of use when supporting non-standard SDK layouts on Windows and using custom SDKs. The default SDK is determined by the environment on macOS and Windows.",
"markdownDescription": "The path of the SDK to compile against (`--sdk` parameter). This is of use when supporting non-standard SDK layouts on Windows and using custom SDKs. The default SDK is determined by the environment on macOS and Windows.\n\nFor SwiftPM projects, prefer using `swift.swiftSDK` with a triple (such as `arm64-apple-ios`) or Swift SDK name instead.",
"order": 3,
"type": "string"
},
Expand Down Expand Up @@ -384,6 +384,12 @@
},
"type": "object"
},
"swift.swiftSDK": {
"default": "",
"markdownDescription": "The [Swift SDK](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md) to compile against (`--swift-sdk` parameter).",
"order": 4,
"type": "string"
},
"swift.testEnvironmentVariables": {
"default": {},
"markdownDescription": "Environment variables to set when running tests. To set environment variables when debugging an application you should edit the `env` field in the relevant `launch.json` configuration.",
Expand Down
6 changes: 6 additions & 0 deletions schemas/ts_ls.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"scope": "window",
"type": "boolean"
},
"javascript.format.indentSwitchCase": {
"default": true,
"description": "Indent case clauses in switch statements. Requires using TypeScript 5.1+ in the workspace.",
"scope": "resource",
"type": "boolean"
},
"javascript.format.insertSpaceAfterCommaDelimiter": {
"default": true,
"description": "Defines space handling after a comma delimiter.",
Expand Down
28 changes: 25 additions & 3 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14344,12 +14344,20 @@
-- default = true
-- ```
---@field continueCommentsOnNewline boolean
-- Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`.
-- Specify the characters allowed to invoke special on typing triggers.
-- - typing `=` after `let` tries to smartly add `;` if `=` is followed by an existing expression
-- - typing `=` between two expressions adds `;` when in statement position
-- - typing `=` to turn an assignment into an equality comparison removes `;` when in expression position
-- - typing `.` in a chain method call auto-indents
-- - typing `{` or `(` in front of an expression inserts a closing `}` or `)` after the expression
-- - typing `{` in a use item adds a closing `}` in the right place
-- - typing `>` to complete a return type `->` will insert a whitespace after it
-- - typing `<` in a path or type position inserts a closing `>` after the path or type.
--
-- ```lua
-- default = "|<"
-- default = "=."
-- ```
---@field excludeChars string
---@field triggerChars string

---@class _.lspconfig.settings.rust_analyzer.Vfs
-- Additional paths to include in the VFS. Generally for code that is
Expand Down Expand Up @@ -15103,6 +15111,8 @@
---@class _.lspconfig.settings.sourcekit.Swift
-- The path of the SDK to compile against (`--sdk` parameter). This is of use when supporting non-standard SDK layouts on Windows and using custom SDKs. The default SDK is determined by the environment on macOS and Windows.
--
-- For SwiftPM projects, prefer using `swift.swiftSDK` with a triple (such as `arm64-apple-ios`) or Swift SDK name instead.
--
-- ```lua
-- default = ""
-- ```
Expand Down Expand Up @@ -15243,6 +15253,12 @@
-- default = {}
-- ```
---@field swiftEnvironmentVariables table
-- The [Swift SDK](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md) to compile against (`--swift-sdk` parameter).
--
-- ```lua
-- default = ""
-- ```
---@field swiftSDK string
-- Environment variables to set when running tests. To set environment variables when debugging an application you should edit the `env` field in the relevant `launch.json` configuration.
--
-- ```lua
Expand Down Expand Up @@ -16278,6 +16294,12 @@
-- default = true
-- ```
---@field enable boolean
-- Indent case clauses in switch statements. Requires using TypeScript 5.1+ in the workspace.
--
-- ```lua
-- default = true
-- ```
---@field indentSwitchCase boolean
-- Defines space handling after a comma delimiter.
--
-- ```lua
Expand Down

0 comments on commit d7e408b

Please sign in to comment.