diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-05-16 14:22:12 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-05-16 14:22:12 +0000 |
| commit | f9349d4d99e7d66403ae8bf4fbd357b154dca7a7 (patch) | |
| tree | 57413798948d0a6a8a1cf8d54f53351d49581c11 /lua | |
| parent | feat(zizmor): attach to action.yaml #4430 (diff) | |
| download | nvim-lspconfig-f9349d4d99e7d66403ae8bf4fbd357b154dca7a7.tar nvim-lspconfig-f9349d4d99e7d66403ae8bf4fbd357b154dca7a7.tar.gz nvim-lspconfig-f9349d4d99e7d66403ae8bf4fbd357b154dca7a7.tar.bz2 nvim-lspconfig-f9349d4d99e7d66403ae8bf4fbd357b154dca7a7.tar.lz nvim-lspconfig-f9349d4d99e7d66403ae8bf4fbd357b154dca7a7.tar.xz nvim-lspconfig-f9349d4d99e7d66403ae8bf4fbd357b154dca7a7.tar.zst nvim-lspconfig-f9349d4d99e7d66403ae8bf4fbd357b154dca7a7.zip | |
skip-checks: true
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/types/lsp/gopls.lua | 15 | ||||
| -rw-r--r-- | lua/lspconfig/types/lsp/powershell_es.lua | 11 |
2 files changed, 26 insertions, 0 deletions
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 |
