From ca6d15fc4f01082bff9d3a7f4b60281b16644142 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 14 May 2026 20:11:30 +0000 Subject: docs: update generated annotations skip-checks: true --- lua/lspconfig/types/lsp/luau_lsp.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'lua') diff --git a/lua/lspconfig/types/lsp/luau_lsp.lua b/lua/lspconfig/types/lsp/luau_lsp.lua index eea22e6a..7341f074 100644 --- a/lua/lspconfig/types/lsp/luau_lsp.lua +++ b/lua/lspconfig/types/lsp/luau_lsp.lua @@ -43,6 +43,26 @@ ---``` ---@field vectorType? string +---@class _.lspconfig.settings.luau_lsp.LuauLsp.Completion.AnonymousAutofilledFunction +---Whether to add snippet tabstops on each parameter name in the generated anonymous function snippet, allowing quick navigation and editing +--- +---```lua +---default = true +---``` +---@field addTabstopForParameters? boolean +---Whether to include type annotations in the generated anonymous function snippet +--- +---```lua +---default = true +---``` +---@field addTypeAnnotations? boolean +---Whether to show the auto-generated anonymous function completion item when autocompleting callback arguments +--- +---```lua +---default = true +---``` +---@field enabled? boolean + ---@class _.lspconfig.settings.luau_lsp.LuauLsp.Completion.Imports.StringRequires ---Whether to use string requires when auto-importing requires. Only checked if `#luau-lsp.platform.type#` is `roblox` ---@field enabled? boolean @@ -93,6 +113,8 @@ ---default = true ---``` ---@field suggestServices? boolean +---Whether to use `const` instead of `local` for auto-imported requires and services +---@field useConst? boolean ---@class _.lspconfig.settings.luau_lsp.LuauLsp.Completion ---Add parentheses after completing a function call @@ -107,6 +129,7 @@ ---default = true ---``` ---@field addTabstopAfterParentheses? boolean +---@field anonymousAutofilledFunction? _.lspconfig.settings.luau_lsp.LuauLsp.Completion.AnonymousAutofilledFunction ---Automatically insert an `end` when opening a block ---@field autocompleteEnd? boolean ---Enables the fragment autocomplete system for performance improvements -- cgit v1.3.1