From f9349d4d99e7d66403ae8bf4fbd357b154dca7a7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 16 May 2026 14:22:12 +0000 Subject: docs: update generated annotations skip-checks: true --- lua/lspconfig/types/lsp/gopls.lua | 15 +++++++++++++++ lua/lspconfig/types/lsp/powershell_es.lua | 11 +++++++++++ 2 files changed, 26 insertions(+) (limited to 'lua') diff --git a/lua/lspconfig/types/lsp/gopls.lua b/lua/lspconfig/types/lsp/gopls.lua index fc7afe18..7131cdb8 100644 --- a/lua/lspconfig/types/lsp/gopls.lua +++ b/lua/lspconfig/types/lsp/gopls.lua @@ -5537,6 +5537,21 @@ ---default = {} ---``` ---@field ["build.workspaceFiles"]? any[] +---(Experimental) fileWatcher specifies the server-side file watching strategy used by gopls. +--- +---By default, this is set to "off", meaning gopls relies exclusively on the +---language client (e.g., the editor) to send file change notifications. +--- +---Available options: +--- - "off" : Client-driven watching (default) +--- - "fsnotify" : OS-level event notifications +--- - "poll" : Periodic directory scanning +--- +--- +---```lua +---default = "off" +---``` +---@field fileWatcher? "fsnotify" | "off" | "poll" ---gofumpt indicates if we should run gofumpt formatting. --- ---@field ["formatting.gofumpt"]? boolean diff --git a/lua/lspconfig/types/lsp/powershell_es.lua b/lua/lspconfig/types/lsp/powershell_es.lua index 53944a23..40f07de8 100644 --- a/lua/lspconfig/types/lsp/powershell_es.lua +++ b/lua/lspconfig/types/lsp/powershell_es.lua @@ -232,6 +232,16 @@ ---``` ---@field useLegacyCodeLens? boolean +---@class _.lspconfig.settings.powershell_es.Powershell.Rename +---Auto-accepts the [disclaimer for the PowerShell Rename Symbol feature](https://aka.ms/powershell-rename-disclaimer) which has support limitations and risks. +---@field acceptDisclaimer? boolean +---Creates an alias attribute for a parameter when renaming a parameter definition. +--- +---```lua +---default = true +---``` +---@field createParameterAlias? boolean + ---@class _.lspconfig.settings.powershell_es.Powershell.ScriptAnalysis ---Enables real-time script analysis using [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) that populates the [Problems view](command:workbench.panel.markers.view.focus). --- @@ -334,6 +344,7 @@ ---default = true ---``` ---@field promptToUpdatePowerShell? boolean +---@field rename? _.lspconfig.settings.powershell_es.Powershell.Rename ---@field scriptAnalysis? _.lspconfig.settings.powershell_es.Powershell.ScriptAnalysis ---@field sideBar? _.lspconfig.settings.powershell_es.Powershell.SideBar ---@field startAsLoginShell? _.lspconfig.settings.powershell_es.Powershell.StartAsLoginShell -- cgit v1.3.1