diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-05-20 20:22:00 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-05-20 20:22:00 +0000 |
| commit | deb0df61b2d6691e745b16a42755e10ad38218e9 (patch) | |
| tree | 2a146c8c3a0172c4b4bc3eda8c673f423ef839bb | |
| parent | fix(ruby-lsp): broken `reuse_client` logic #4433 (diff) | |
| download | nvim-lspconfig-master.tar nvim-lspconfig-master.tar.gz nvim-lspconfig-master.tar.bz2 nvim-lspconfig-master.tar.lz nvim-lspconfig-master.tar.xz nvim-lspconfig-master.tar.zst nvim-lspconfig-master.zip | |
skip-checks: true
| -rw-r--r-- | lua/lspconfig/types/lsp/ada_ls.lua | 9 | ||||
| -rw-r--r-- | lua/lspconfig/types/lsp/eslint.lua | 13 | ||||
| -rw-r--r-- | lua/lspconfig/types/lsp/sourcekit.lua | 6 |
3 files changed, 28 insertions, 0 deletions
diff --git a/lua/lspconfig/types/lsp/ada_ls.lua b/lua/lspconfig/types/lsp/ada_ls.lua index 8193bbf9..7abbed5a 100644 --- a/lua/lspconfig/types/lsp/ada_ls.lua +++ b/lua/lspconfig/types/lsp/ada_ls.lua @@ -8,6 +8,14 @@ ---If not set in VS Code, this setting takes its value from the [`.als.json`](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) file at the root of the workspace, if that file exists. Otherwise it defaults to `false`. ---@field indentOnly? true | false +---@class _.lspconfig.settings.ada_ls.Ada.ProjectView +---Show all projects as a flat list instead of a hierarchy in the Project View. +---@field flatMode? boolean +---Show the object directory as a child of each project in the Project View. +---@field showObjectDirectories? boolean +---Show the Ada runtime project and its source files in the Project View. +---@field showRuntimeFiles? boolean + ---@class _.lspconfig.settings.ada_ls.Ada.Trace ---Traces the communication between VS Code and the Ada language server in the 'Ada Language Server' Output view. --- @@ -99,6 +107,7 @@ --- ---If not set in VS Code, this setting takes its value from the [`.als.json`](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) file at the root of the workspace, if that file exists. ---@field projectFile? string +---@field projectView? _.lspconfig.settings.ada_ls.Ada.ProjectView ---Enable fallback indenter in case the file is not syntactically correct. --- ---If not set in VS Code, this setting takes its value from the [`.als.json`](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) file at the root of the workspace, if that file exists. Otherwise it defaults to `true`. diff --git a/lua/lspconfig/types/lsp/eslint.lua b/lua/lspconfig/types/lsp/eslint.lua index a58afa35..0aa3ca84 100644 --- a/lua/lspconfig/types/lsp/eslint.lua +++ b/lua/lspconfig/types/lsp/eslint.lua @@ -1,5 +1,17 @@ ---@meta +---@class _.lspconfig.settings.eslint.Eslint.BulkSuppression +---Show bulk-suppressed violations (from eslint-suppressions.json) as diagnostics. Requires ESLint >= 10.1. +---@field enable? boolean +---Path to the suppressions file relative to the workspace. Defaults to eslint-suppressions.json. +---@field location? string +---Diagnostic severity for bulk-suppressed violations. +--- +---```lua +---default = "info" +---``` +---@field severity? "error" | "warn" | "info" | "hint" + ---Show disable lint rule in the quick fix menu. --- ---```lua @@ -200,6 +212,7 @@ ---@class _.lspconfig.settings.eslint.Eslint ---Turns auto fix on save on or off. ---@field autoFixOnSave? boolean +---@field bulkSuppression? _.lspconfig.settings.eslint.Eslint.BulkSuppression ---@field codeAction? _.lspconfig.settings.eslint.Eslint.CodeAction ---@field codeActionsOnSave? _.lspconfig.settings.eslint.Eslint.CodeActionsOnSave ---Enables ESLint debug mode (same as `--debug` on the command line) diff --git a/lua/lspconfig/types/lsp/sourcekit.lua b/lua/lspconfig/types/lsp/sourcekit.lua index 11d21eac..941902cc 100644 --- a/lua/lspconfig/types/lsp/sourcekit.lua +++ b/lua/lspconfig/types/lsp/sourcekit.lua @@ -75,6 +75,12 @@ ---@field backgroundIndexing? "on" | "off" | "auto" ---Disable SourceKit-LSP. This will turn off features like code completion, error diagnostics and jump-to-definition. Features like swift-testing test discovery will not work correctly. ---@field disable? boolean +---Controls whether the symbol declaration is included in the results of `Find All References`. +--- +---```lua +---default = "default" +---``` +---@field includeDeclarationInFindAllReferences? "default" | "always" | "never" ---Arguments to pass to SourceKit-LSP. Keys and values should be provided as individual entries in the list. e.g. `--experimental-feature=show-macro-expansions` --- ---```lua |
