Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Standalone File Support

sim edited this page Aug 4, 2022 · 2 revisions

rust-tools supports rust analyzer for standalone files (not in a cargo project). The language server is automatically started when you start a rust file which is not in a cargo file (nvim abc.rs). If you want to attach some other buffer to the standalone client (after opening nvim and switching to a new rust file), then use the RustStartStandaloneServerForBuffer command.

Clone this wiki locally