diff --git a/schemas/astro.json b/schemas/astro.json index 022a33a..83fa07d 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.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+)", + "scope": "resource", + "type": "boolean" + }, "astro.language-server.ls-path": { "description": "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", "title": "Language Server: Path", diff --git a/types/lsp.lua b/types/lsp.lua index 9b91478..f22ab5d 100644 --- a/types/lsp.lua +++ b/types/lsp.lua @@ -139,6 +139,8 @@ ---@field server "off" | "messages" | "verbose" ---@class _.lspconfig.settings.astro.Astro +-- 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 ---@field trace _.lspconfig.settings.astro.Trace