diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/types/lsp/jdtls.lua | 2 | ||||
| -rw-r--r-- | lua/lspconfig/types/lsp/rust_analyzer.lua | 4 | ||||
| -rw-r--r-- | lua/lspconfig/types/lsp/sourcekit.lua | 9 |
3 files changed, 6 insertions, 9 deletions
diff --git a/lua/lspconfig/types/lsp/jdtls.lua b/lua/lspconfig/types/lsp/jdtls.lua index 0a7ac689..447454a3 100644 --- a/lua/lspconfig/types/lsp/jdtls.lua +++ b/lua/lspconfig/types/lsp/jdtls.lua @@ -686,6 +686,8 @@ ---@class _.lspconfig.settings.jdtls.Java.ReferencesCodeLens ---Enable/disable the references code lens. ---@field enabled? boolean +---Enable/disable the references code lens for fields. +---@field includeFields? boolean ---@class _.lspconfig.settings.jdtls.Java.SaveActions ---Enable/disable cleanup actions on save. diff --git a/lua/lspconfig/types/lsp/rust_analyzer.lua b/lua/lspconfig/types/lsp/rust_analyzer.lua index a5d74599..e5b6440e 100644 --- a/lua/lspconfig/types/lsp/rust_analyzer.lua +++ b/lua/lspconfig/types/lsp/rust_analyzer.lua @@ -122,6 +122,10 @@ ---default = { "debug_assertions", "miri" } ---``` ---@field cfgs? string[] +---Path to a `.cargo/config.toml` style file to pass to cargo via `--config` +---for every cargo invocation (metadata, build scripts, config discovery). +---Useful to give rust-analyzer a consistent view of the project configuration. +---@field configPath? string ---Extra arguments that are passed to every cargo invocation. --- ---```lua diff --git a/lua/lspconfig/types/lsp/sourcekit.lua b/lua/lspconfig/types/lsp/sourcekit.lua index 941902cc..6f5bfb13 100644 --- a/lua/lspconfig/types/lsp/sourcekit.lua +++ b/lua/lspconfig/types/lsp/sourcekit.lua @@ -1,13 +1,5 @@ ---@meta ----@class _.lspconfig.settings.sourcekit.SourcekitLsp.InlayHints ----Display Inlay Hints. Inlay Hints are variable annotations indicating their inferred type. They are only available if you are using Swift 5.6 or later. ---- ----```lua ----default = true ----``` ----@field enabled? boolean - ---@class _.lspconfig.settings.sourcekit.SourcekitLsp.Trace ---Traces the communication between VS Code and the SourceKit-LSP language server. --- @@ -19,7 +11,6 @@ ---@class _.lspconfig.settings.sourcekit.SourcekitLsp ---Disable the running of SourceKit-LSP. ---@field disable? boolean ----@field inlayHints? _.lspconfig.settings.sourcekit.SourcekitLsp.InlayHints ---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 |
