aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-03-25 08:54:13 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-03-25 08:54:13 +0000
commit4daa1436595dbce4c6151f75c38a0d855796c554 (patch)
treed7464229ddbbeb7f0694698cd47c68db5f547a46 /lua
parentfix(biome): root markers #4356 (diff)
downloadnvim-lspconfig-4daa1436595dbce4c6151f75c38a0d855796c554.tar
nvim-lspconfig-4daa1436595dbce4c6151f75c38a0d855796c554.tar.gz
nvim-lspconfig-4daa1436595dbce4c6151f75c38a0d855796c554.tar.bz2
nvim-lspconfig-4daa1436595dbce4c6151f75c38a0d855796c554.tar.lz
nvim-lspconfig-4daa1436595dbce4c6151f75c38a0d855796c554.tar.xz
nvim-lspconfig-4daa1436595dbce4c6151f75c38a0d855796c554.tar.zst
nvim-lspconfig-4daa1436595dbce4c6151f75c38a0d855796c554.zip
chore: update generated annotations
skip-checks: true
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/types/lsp/dartls.lua2
-rw-r--r--lua/lspconfig/types/lsp/denols.lua62
-rw-r--r--lua/lspconfig/types/lsp/intelephense.lua26
-rw-r--r--lua/lspconfig/types/lsp/java_language_server.lua2
-rw-r--r--lua/lspconfig/types/lsp/rust_analyzer.lua12
5 files changed, 35 insertions, 69 deletions
diff --git a/lua/lspconfig/types/lsp/dartls.lua b/lua/lspconfig/types/lsp/dartls.lua
index 3f2cfc94..ba4fba17 100644
--- a/lua/lspconfig/types/lsp/dartls.lua
+++ b/lua/lspconfig/types/lsp/dartls.lua
@@ -438,6 +438,8 @@
---default = true
---```
---@field insertArgumentPlaceholders? boolean
+---**LEGACY SETTING: Use `formatter.page_width` in `analysis_options.yaml` instead.**
+---
---The maximum length of a line of code. This is used by the document formatter. If you change this value, you may wish to update `editor.rulers` (which draws vertical lines in the editor) in the `["dart"]` section of your settings to match.
---
---```lua
diff --git a/lua/lspconfig/types/lsp/denols.lua b/lua/lspconfig/types/lsp/denols.lua
index 0d04c9ff..5b5c70a5 100644
--- a/lua/lspconfig/types/lsp/denols.lua
+++ b/lua/lspconfig/types/lsp/denols.lua
@@ -16,54 +16,6 @@
---```
---@field testArgs? string[]
----@class _.lspconfig.settings.denols.Deno.InlayHints.EnumMemberValues
----Enable/disable inlay hints for enum values.
----@field enabled? boolean
-
----@class _.lspconfig.settings.denols.Deno.InlayHints.FunctionLikeReturnTypes
----Enable/disable inlay hints for implicit function return types.
----@field enabled? boolean
-
----@class _.lspconfig.settings.denols.Deno.InlayHints.ParameterNames
----Enable/disable inlay hints for parameter names.
----
----```lua
----default = "none"
----```
----@field enabled? "none" | "literals" | "all"
----Do not display an inlay hint when the argument name matches the parameter.
----
----```lua
----default = true
----```
----@field suppressWhenArgumentMatchesName? boolean
-
----@class _.lspconfig.settings.denols.Deno.InlayHints.ParameterTypes
----Enable/disable inlay hints for implicit parameter types.
----@field enabled? boolean
-
----@class _.lspconfig.settings.denols.Deno.InlayHints.PropertyDeclarationTypes
----Enable/disable inlay hints for implicit property declarations.
----@field enabled? boolean
-
----@class _.lspconfig.settings.denols.Deno.InlayHints.VariableTypes
----Enable/disable inlay hints for implicit variable types.
----@field enabled? boolean
----Suppress type hints where the variable name matches the implicit type.
----
----```lua
----default = true
----```
----@field suppressWhenTypeMatchesName? boolean
-
----@class _.lspconfig.settings.denols.Deno.InlayHints
----@field enumMemberValues? _.lspconfig.settings.denols.Deno.InlayHints.EnumMemberValues
----@field functionLikeReturnTypes? _.lspconfig.settings.denols.Deno.InlayHints.FunctionLikeReturnTypes
----@field parameterNames? _.lspconfig.settings.denols.Deno.InlayHints.ParameterNames
----@field parameterTypes? _.lspconfig.settings.denols.Deno.InlayHints.ParameterTypes
----@field propertyDeclarationTypes? _.lspconfig.settings.denols.Deno.InlayHints.PropertyDeclarationTypes
----@field variableTypes? _.lspconfig.settings.denols.Deno.InlayHints.VariableTypes
-
---@class _.lspconfig.settings.denols.Deno.OrganizeImports
---Controls if the Deno language server contributes organize imports code actions. Disable to rely on VS Code's built-in TypeScript/JavaScript organize imports instead.
---
@@ -89,20 +41,7 @@
---@field hosts? table
---@class _.lspconfig.settings.denols.Deno.Suggest
----```lua
----default = true
----```
----@field autoImports? boolean
----@field completeFunctionCalls? boolean
---@field imports? _.lspconfig.settings.denols.Deno.Suggest.Imports
----```lua
----default = true
----```
----@field names? boolean
----```lua
----default = true
----```
----@field paths? boolean
---@class _.lspconfig.settings.denols.Deno.Symbols.Document
---Controls if the Deno language server provides document symbols. Disable to rely on VS Code's built-in providers instead.
@@ -212,7 +151,6 @@
---
---**Not recommended to be set globally.**
---@field importMap? string
----@field inlayHints? _.lspconfig.settings.denols.Deno.InlayHints
---Determines if the internal debugging information for the Deno language server will be logged to the _Deno Language Server_ console.
---@field internalDebug? boolean
---Enables the inspector server for the JS runtime used by the Deno Language Server to host its TS server. Optionally provide an address for the inspector listener e.g. "127.0.0.1:9222" (default).
diff --git a/lua/lspconfig/types/lsp/intelephense.lua b/lua/lspconfig/types/lsp/intelephense.lua
index 560363fd..b533a210 100644
--- a/lua/lspconfig/types/lsp/intelephense.lua
+++ b/lua/lspconfig/types/lsp/intelephense.lua
@@ -90,6 +90,18 @@
---default = true
---```
---@field triggerParameterHints? boolean
+---Method completions will include either a `parent` call or a `throw new Exception('Not implemented')` in the method body.
+---
+---```lua
+---default = true
+---```
+---@field withMethodBody? boolean
+---Method completions will include an `#[Override]` attribute where appropriate if targeting PHP 8.3+.
+---
+---```lua
+---default = true
+---```
+---@field withOverrideAttribute? boolean
---@class _.lspconfig.settings.intelephense.Intelephense.Diagnostics
---Enables argument count diagnostics.
@@ -176,6 +188,12 @@
---default = true
---```
---@field suppressUndefinedMembersWhenMagicMethodDeclared? boolean
+---Enables reporting of irregularities in code that may be indicative of a bug. For example, assignments in a conditional expression or duplicate array keys.
+---
+---```lua
+---default = true
+---```
+---@field suspectCode? boolean
---Enables diagnostics on type compatibility of arguments, property assignments, and return statements where types have been declared.
---
---```lua
@@ -433,7 +451,7 @@
---@field namespaceMode? "single" | "all"
---@class _.lspconfig.settings.intelephense.Intelephense.Telemetry
----Anonymous usage and crash data will be sent to Azure Application Insights. Inherits from telemetry.enableTelemetry.
+---When set to `true`, anonymous usage and crash data will be sent to Azure Application Insights. Defaults to `false`.
---@field enabled? boolean
---@class _.lspconfig.settings.intelephense.Intelephense.Trace
@@ -475,6 +493,12 @@
---```
---@field stubs? string[]
---@field telemetry? _.lspconfig.settings.intelephense.Intelephense.Telemetry
+---The maximum call depth to follow when analyzing throw expressions. Defaults to `0`, which limits analysis to the current function. Higher values can have a negative impact on performance.
+---
+---```lua
+---default = 0
+---```
+---@field throwDepth? number
---@field trace? _.lspconfig.settings.intelephense.Intelephense.Trace
---@class lspconfig.settings.intelephense
diff --git a/lua/lspconfig/types/lsp/java_language_server.lua b/lua/lspconfig/types/lsp/java_language_server.lua
index 8d869eb1..218c7d93 100644
--- a/lua/lspconfig/types/lsp/java_language_server.lua
+++ b/lua/lspconfig/types/lsp/java_language_server.lua
@@ -19,6 +19,8 @@
---@field docPath? string[]
---External dependencies of the form groupId:artifactId:version or groupId:artifactId:packaging:version:scope
---@field externalDependencies? string[]
+---Extra compiler args, for example ["--enable-preview","-source 21"].
+---@field extraCompilerArgs? string[]
---Absolute path to your Java home directory
---@field home? string
---Command to run all tests in a class, for example ["mvn", "test", "-Dtest=${class}"
diff --git a/lua/lspconfig/types/lsp/rust_analyzer.lua b/lua/lspconfig/types/lsp/rust_analyzer.lua
index 9fbe39a8..5bb909e7 100644
--- a/lua/lspconfig/types/lsp/rust_analyzer.lua
+++ b/lua/lspconfig/types/lsp/rust_analyzer.lua
@@ -1251,18 +1251,18 @@
---Override the command used for bench runnables.
---The first element of the array should be the program to execute (for example, `cargo`).
---
----Use the placeholders `${package}`, `${target_arg}`, `${target}`, `${test_name}` to dynamically
+---Use the placeholders `${package}`, `${target_arg}`, `${target}`, `${executable_args}` to dynamically
---replace the package name, target option (such as `--bin` or `--example`), the target name and
----the test name (name of test function or test mod path).
+---the arguments passed to test binary args (includes `rust-analyzer.runnables.extraTestBinaryArgs`).
---@field overrideCommand? string[]
---@class _.lspconfig.settings.rust_analyzer.RustAnalyzer.Runnables.Doctest
---Override the command used for bench runnables.
---The first element of the array should be the program to execute (for example, `cargo`).
---
----Use the placeholders `${package}`, `${target_arg}`, `${target}`, `${test_name}` to dynamically
+---Use the placeholders `${package}`, `${target_arg}`, `${target}`, `${executable_args}` to dynamically
---replace the package name, target option (such as `--bin` or `--example`), the target name and
----the test name (name of test function or test mod path).
+---the arguments passed to test binary args (includes `rust-analyzer.runnables.extraTestBinaryArgs`).
---@field overrideCommand? string[]
---@class _.lspconfig.settings.rust_analyzer.RustAnalyzer.Runnables.Test
@@ -1275,9 +1275,9 @@
---Override the command used for test runnables.
---The first element of the array should be the program to execute (for example, `cargo`).
---
----Use the placeholders `${package}`, `${target_arg}`, `${target}`, `${test_name}` to dynamically
+---Use the placeholders `${package}`, `${target_arg}`, `${target}`, `${executable_args}` to dynamically
---replace the package name, target option (such as `--bin` or `--example`), the target name and
----the test name (name of test function or test mod path).
+---the arguments passed to test binary args (includes `rust-analyzer.runnables.extraTestBinaryArgs`).
---@field overrideCommand? string[]
---@class _.lspconfig.settings.rust_analyzer.RustAnalyzer.Runnables