Skip to content

Commit

Permalink
docs(vimdoc): link vim.g.rustaceanvim.servar to vim.lsp.ClientConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed May 28, 2024
1 parent d858f17 commit a8d038f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/rustaceanvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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*

Expand Down
1 change: 1 addition & 0 deletions lua/rustaceanvim/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit a8d038f

Please sign in to comment.