From 5581df42a137b88962bc755c0fe6241b45d17d46 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 22 Oct 2025 01:31:14 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc, schemas and annotations --- schemas/astro.json | 6 ++++++ schemas/html.json | 6 ++++++ types/lsp.lua | 11 +++++++++++ 3 files changed, 23 insertions(+) diff --git a/schemas/astro.json b/schemas/astro.json index 6f3ab5c..e4ae452 100644 --- a/schemas/astro.json +++ b/schemas/astro.json @@ -2,6 +2,12 @@ "$schema": "http://json-schema.org/draft-07/schema#", "description": "Language support for Astro", "properties": { + "astro.auto-import-cache.enabled": { + "default": true, + "markdownDescription": "Enable the auto import cache. Yields a faster intellisense when automatically importing a file, but can cause issues with new files not being detected. Change is applied on restart. See [#1035](https://github.com/withastro/language-tools/issues/1035).", + "scope": "resource", + "type": "boolean" + }, "astro.content-intellisense": { "default": false, "description": "Enable experimental support for content collection intellisense inside Markdown, MDX and Markdoc. Note that this require also enabling the feature in your Astro config (experimental.contentCollectionIntellisense) (Astro 4.14+)", diff --git a/schemas/html.json b/schemas/html.json index edccd06..92ebfc7 100644 --- a/schemas/html.json +++ b/schemas/html.json @@ -169,6 +169,12 @@ "scope": "resource", "type": "boolean" }, + "html.suggest.hideEndTagSuggestions": { + "default": false, + "description": "Controls whether the built-in HTML language support suggests closing tags. When disabled, end tag completions like `` will not be shown.", + "scope": "resource", + "type": "boolean" + }, "html.suggest.html5": { "default": true, "description": "Controls whether the built-in HTML language support suggests HTML5 tags, properties and values.", diff --git a/types/lsp.lua b/types/lsp.lua index 39daf51..b1fe56f 100644 --- a/types/lsp.lua +++ b/types/lsp.lua @@ -167,6 +167,14 @@ ---@field e3-testsuite _.lspconfig.settings.als.E3-testsuite ---@field gpr _.lspconfig.settings.als.Gpr +---@class _.lspconfig.settings.astro.Auto-import-cache +-- Enable the auto import cache. Yields a faster intellisense when automatically importing a file, but can cause issues with new files not being detected. Change is applied on restart. See [#1035](https://github.com/withastro/language-tools/issues/1035). +-- +-- ```lua +-- default = true +-- ``` +---@field enabled boolean + ---@class _.lspconfig.settings.astro.Language-server -- Path to the language server executable. You won't need this in most cases, set this only when needing a specific version of the language server ---@field ls-path string @@ -186,6 +194,7 @@ ---@field enabled boolean ---@class _.lspconfig.settings.astro.Astro +---@field auto-import-cache _.lspconfig.settings.astro.Auto-import-cache -- Enable experimental support for content collection intellisense inside Markdown, MDX and Markdoc. Note that this require also enabling the feature in your Astro config (experimental.contentCollectionIntellisense) (Astro 4.14+) ---@field content-intellisense boolean ---@field language-server _.lspconfig.settings.astro.Language-server @@ -5249,6 +5258,8 @@ ---@field references boolean ---@class _.lspconfig.settings.html.Suggest +-- Controls whether the built-in HTML language support suggests closing tags. When disabled, end tag completions like `` will not be shown. +---@field hideEndTagSuggestions boolean -- Controls whether the built-in HTML language support suggests HTML5 tags, properties and values. -- -- ```lua