Module rust_analyzer

Module rust_analyzer 

Source
Expand description

rust-analyzer management module.

Downloads and caches rust-analyzer for LSP support.

Functionsยง

cache_dir
Get the path to the cached rust-analyzer binary.
download
Download rust-analyzer from GitHub releases.
ensure_available
Download rust-analyzer if not available.
get_command_path
Get the rust-analyzer command path (cached or system).
is_available
Check if rust-analyzer is available (either cached or in PATH).
rust_analyzer_path
Get the expected rust-analyzer binary path.