diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-05-14 20:11:30 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-05-14 20:11:30 +0000 |
| commit | ca6d15fc4f01082bff9d3a7f4b60281b16644142 (patch) | |
| tree | 1c2e5c035bc53f734a31c8ece7ab858d87beea16 | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-ca6d15fc4f01082bff9d3a7f4b60281b16644142.tar nvim-lspconfig-ca6d15fc4f01082bff9d3a7f4b60281b16644142.tar.gz nvim-lspconfig-ca6d15fc4f01082bff9d3a7f4b60281b16644142.tar.bz2 nvim-lspconfig-ca6d15fc4f01082bff9d3a7f4b60281b16644142.tar.lz nvim-lspconfig-ca6d15fc4f01082bff9d3a7f4b60281b16644142.tar.xz nvim-lspconfig-ca6d15fc4f01082bff9d3a7f4b60281b16644142.tar.zst nvim-lspconfig-ca6d15fc4f01082bff9d3a7f4b60281b16644142.zip | |
docs: update generated annotations
skip-checks: true
| -rw-r--r-- | lua/lspconfig/types/lsp/luau_lsp.lua | 23 |
1 files changed, 23 insertions, 0 deletions
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 |
