From a8d038f50a438d7938f7740d13b1ca18acf748b7 Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Tue, 28 May 2024 17:13:47 +0200 Subject: [PATCH] docs(vimdoc): link `vim.g.rustaceanvim.servar` to `vim.lsp.ClientConfig` --- doc/rustaceanvim.txt | 3 +++ lua/rustaceanvim/config/init.lua | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/rustaceanvim.txt b/doc/rustaceanvim.txt index 6e6234c3..fe97288c 100644 --- a/doc/rustaceanvim.txt +++ b/doc/rustaceanvim.txt @@ -242,6 +242,9 @@ RustaceanLspClientOpts *RustaceanLspClientOpts* {logfile?} (string) The path to the rust-analyzer log file. {load_vscode_settings?} (boolean) Whether to search (upward from the buffer) for rust-analyzer settings in .vscode/settings json. If found, loaded settings will override configured options. Default: false + See: ~ + |vim.lsp.ClientConfig| + RustaceanDapOpts *RustaceanDapOpts* diff --git a/lua/rustaceanvim/config/init.lua b/lua/rustaceanvim/config/init.lua index 5b2fe2c7..8e0cc1d9 100644 --- a/lua/rustaceanvim/config/init.lua +++ b/lua/rustaceanvim/config/init.lua @@ -115,6 +115,7 @@ vim.g.rustaceanvim = vim.g.rustaceanvim ---@field standalone? boolean Standalone file support (enabled by default). Disabling it may improve rust-analyzer's startup time. ---@field logfile? string The path to the rust-analyzer log file. ---@field load_vscode_settings? boolean Whether to search (upward from the buffer) for rust-analyzer settings in .vscode/settings json. If found, loaded settings will override configured options. Default: false +---@see vim.lsp.ClientConfig ---@class RustaceanDapOpts --- @field autoload_configurations boolean Whether to autoload nvim-dap configurations when rust-analyzer has attached? Default: `true`.