From 06afabe121ec01784e7c4da20340a338ae78f7c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 15 Sep 2023 01:23:55 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc, schemas and annotations --- schemas/denols.json | 14 ++++++++++++++ types/lsp.lua | 8 ++++++++ 2 files changed, 22 insertions(+) diff --git a/schemas/denols.json b/schemas/denols.json index 9614b03..5477e1f 100644 --- a/schemas/denols.json +++ b/schemas/denols.json @@ -86,6 +86,20 @@ "scope": "window", "type": "string" }, + "deno.disablePaths": { + "default": [], + "examples": [ + [ + "./worker" + ] + ], + "items": { + "type": "string" + }, + "markdownDescription": "Disables the Deno Language Server for specific paths. This will leave the built in TypeScript/JavaScript language server enabled for those paths. Takes priority over `deno.enablePaths`.\n\n**Not recommended to be enabled in user settings.**", + "scope": "resource", + "type": "array" + }, "deno.documentPreloadLimit": { "default": 1000, "examples": [ diff --git a/types/lsp.lua b/types/lsp.lua index 44b2947..a10b673 100644 --- a/types/lsp.lua +++ b/types/lsp.lua @@ -285,6 +285,14 @@ -- default = -- ``` ---@field config string +-- Disables the Deno Language Server for specific paths. This will leave the built in TypeScript/JavaScript language server enabled for those paths. Takes priority over `deno.enablePaths`. +-- +-- **Not recommended to be enabled in user settings.** +-- +-- ```lua +-- default = {} +-- ``` +---@field disablePaths string[] -- Maximum number of file system entries to traverse when finding scripts to preload into TypeScript on startup. Set this to 0 to disable document preloading. -- -- ```lua