From 3b6db0a913258a91951f96b09c005522cca98f1f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 28 Sep 2024 01:30:01 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc, schemas and annotations --- schemas/rust_analyzer.json | 5 +++++ schemas/ts_ls.json | 4 ++-- schemas/wgls_analyzer.json | 6 +++--- types/lsp.lua | 10 ++++++---- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/schemas/rust_analyzer.json b/schemas/rust_analyzer.json index d2e180a..aa82ada 100644 --- a/schemas/rust_analyzer.json +++ b/schemas/rust_analyzer.json @@ -427,6 +427,11 @@ "minimum": 0, "type": "integer" }, + "rust-analyzer.debug.buildBeforeRestart": { + "default": false, + "markdownDescription": "Whether to rebuild the project modules before debugging the same test again", + "type": "boolean" + }, "rust-analyzer.debug.engine": { "default": "auto", "description": "Preferred debug engine.", diff --git a/schemas/ts_ls.json b/schemas/ts_ls.json index 7b92327..eec37b5 100644 --- a/schemas/ts_ls.json +++ b/schemas/ts_ls.json @@ -10,7 +10,7 @@ }, "javascript.experimental.updateImportsOnPaste": { "default": false, - "description": "Automatically update imports when pasting code. Requires TypeScript 5.6+.", + "description": "Automatically update imports when pasting code. Requires TypeScript 5.7+.", "scope": "window", "tags": [ "experimental" @@ -590,7 +590,7 @@ }, "typescript.experimental.updateImportsOnPaste": { "default": false, - "description": "Automatically update imports when pasting code. Requires TypeScript 5.6+.", + "description": "Automatically update imports when pasting code. Requires TypeScript 5.7+.", "scope": "window", "tags": [ "experimental" diff --git a/schemas/wgls_analyzer.json b/schemas/wgls_analyzer.json index 50e1bc1..fbe619b 100644 --- a/schemas/wgls_analyzer.json +++ b/schemas/wgls_analyzer.json @@ -21,12 +21,12 @@ "type": "boolean" }, "wgsl-analyzer.diagnostics.nagaVersion": { - "default": "0.11", + "default": "0.22", "description": "Which version of naga to use for its diagnostics", "enum": [ - "0.12", - "0.13", "0.14", + "0.19", + "0.22", "main" ], "type": "string" diff --git a/types/lsp.lua b/types/lsp.lua index 98696f6..29baf1f 100644 --- a/types/lsp.lua +++ b/types/lsp.lua @@ -13289,6 +13289,8 @@ ---@field termSearch _.lspconfig.settings.rust_analyzer.TermSearch ---@class _.lspconfig.settings.rust_analyzer.Debug +-- Whether to rebuild the project modules before debugging the same test again +---@field buildBeforeRestart boolean -- Preferred debug engine. -- -- ```lua @@ -15651,7 +15653,7 @@ ---@field terraform _.lspconfig.settings.terraformls.Terraform ---@class _.lspconfig.settings.ts_ls.Experimental --- Automatically update imports when pasting code. Requires TypeScript 5.6+. +-- Automatically update imports when pasting code. Requires TypeScript 5.7+. ---@field updateImportsOnPaste boolean ---@class _.lspconfig.settings.ts_ls.Format @@ -16069,7 +16071,7 @@ ---@class _.lspconfig.settings.ts_ls.Experimental -- (Experimental) Enable/disable expanding on hover. ---@field expandableHover boolean --- Automatically update imports when pasting code. Requires TypeScript 5.6+. +-- Automatically update imports when pasting code. Requires TypeScript 5.7+. ---@field updateImportsOnPaste boolean ---@class _.lspconfig.settings.ts_ls.Format @@ -18104,9 +18106,9 @@ -- Which version of naga to use for its diagnostics -- -- ```lua --- default = "0.11" +-- default = "0.22" -- ``` ----@field nagaVersion "0.12" | "0.13" | "0.14" | "main" +---@field nagaVersion "0.14" | "0.19" | "0.22" | "main" -- Controls whether to show type errors. -- -- ```lua