Zed: Difference between revisions

Picnoir (talk | contribs)
No edit summary
Picnoir (talk | contribs)
No edit summary
Line 12: Line 12:


==== Rust-analyzer ====
==== Rust-analyzer ====
Here, we'll assume rust-analyzer is globally installed in your system profile at <code>/run/current-system/sw/bin/rust-analyzer</code>. You may want to adapt this path in the following code snippet to something more relevant to your use case.<syntaxhighlight lang="json">
Here, we'll assume rust-analyzer is globally installed in your system profile at <code>/run/current-system/sw/bin/rust-analyzer</code>. You may want to adapt this path in the following code snippet to something more relevant to your use case.
 
Add the following snippet to your configuration file:<syntaxhighlight lang="json">
  "lsp": {
  "lsp": {
   "rust-analyzer": {
   "rust-analyzer": {