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 Nov 9, 2024
1 parent fb03e7a commit 60fb5b8
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 4 deletions.
12 changes: 12 additions & 0 deletions schemas/lua_ls.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@
"scope": "resource",
"type": "boolean"
},
"Lua.addonManager.repositoryBranch": {
"default": "",
"markdownDescription": "Specifies the git branch used by the addon manager.",
"scope": "resource",
"type": "string"
},
"Lua.addonManager.repositoryPath": {
"default": "",
"markdownDescription": "Specifies the git path used by the addon manager.",
"scope": "resource",
"type": "string"
},
"Lua.codeLens.enable": {
"default": false,
"markdownDescription": "Enable code lens.",
Expand Down
10 changes: 7 additions & 3 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,13 +442,17 @@
"description": "Preferred debug engine.",
"enum": [
"auto",
"llvm-vs-code-extensions.lldb-dap",
"vadimcn.vscode-lldb",
"ms-vscode.cpptools"
"ms-vscode.cpptools",
"webfreak.debug"
],
"markdownEnumDescriptions": [
"First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).",
"Use the first available extension out of [LLDB DAP](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap), [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), [C/C++ for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools), and [Native Debug](https://marketplace.visualstudio.com/items?itemName=webfreak.debug).",
"Use [LLDB DAP](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap)",
"Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)",
"Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"
"Use [C/C++ for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)",
"Use [Native Debug](https://marketplace.visualstudio.com/items?itemName=webfreak.debug)"
],
"type": "string"
},
Expand Down
10 changes: 10 additions & 0 deletions schemas/tinymist.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,16 @@
"title": "Enable preview features",
"type": "string"
},
"tinymist.renderDocs": {
"default": "enable",
"description": "(Experimental) Whether to render typst elements in (hover) docs. In VS Code, when this feature is enabled, tinymist will store rendered results in the filesystem's temporary storage to show them in the hover content. Note: Please disable this feature if the editor doesn't support/handle image previewing in docs.",
"enum": [
"enable",
"disable"
],
"title": "(Experimental) Render Docs",
"type": "string"
},
"tinymist.rootPath": {
"default": null,
"markdownDescription": "Configure the root for absolute paths in typst. Hint: you can set the rootPath to `-`, so that tinymist will always use parent directory of the file as the root path. Note: for neovim users, if it complains root not found, you must set `require(\"lspconfig\")[\"tinymist\"].setup { root_dir }` as well, see [tinymist#528](https://github.com/Myriad-Dreamin/tinymist/issues/528).",
Expand Down
20 changes: 19 additions & 1 deletion types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7512,6 +7512,18 @@
-- default = true
-- ```
---@field enable boolean
-- Specifies the git branch used by the addon manager.
--
-- ```lua
-- default = ""
-- ```
---@field repositoryBranch string
-- Specifies the git path used by the addon manager.
--
-- ```lua
-- default = ""
-- ```
---@field repositoryPath string

---@class _.lspconfig.settings.lua_ls.CodeLens
-- Enable code lens.
Expand Down Expand Up @@ -13395,7 +13407,7 @@
-- ```lua
-- default = "auto"
-- ```
---@field engine "auto" | "vadimcn.vscode-lldb" | "ms-vscode.cpptools"
---@field engine "auto" | "llvm-vs-code-extensions.lldb-dap" | "vadimcn.vscode-lldb" | "ms-vscode.cpptools" | "webfreak.debug"
-- Optional settings passed to the debug engine. Example: `{ "lldb": { "terminal":"external"} }`
--
-- ```lua
Expand Down Expand Up @@ -15858,6 +15870,12 @@
-- default = "enable"
-- ```
---@field previewFeature "enable" | "disable"
-- (Experimental) Whether to render typst elements in (hover) docs. In VS Code, when this feature is enabled, tinymist will store rendered results in the filesystem's temporary storage to show them in the hover content. Note: Please disable this feature if the editor doesn't support/handle image previewing in docs.
--
-- ```lua
-- default = "enable"
-- ```
---@field renderDocs "enable" | "disable"
-- Configure the root for absolute paths in typst. Hint: you can set the rootPath to `-`, so that tinymist will always use parent directory of the file as the root path. Note: for neovim users, if it complains root not found, you must set `require("lspconfig")["tinymist"].setup { root_dir }` as well, see [tinymist#528](https://github.com/Myriad-Dreamin/tinymist/issues/528).
---@field rootPath string
-- Enable or disable semantic tokens (LSP syntax highlighting)
Expand Down

0 comments on commit 60fb5b8

Please sign in to comment.