Zed: Difference between revisions
zed: init |
No edit summary |
||
Line 14: | Line 14: | ||
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.<syntaxhighlight lang="json"> | ||
"lsp": { | "lsp": { | ||
"rust-analyzer": { | "rust-analyzer": { | ||
"binary": { | "binary": { | ||
"path": "/run/current-system/sw/bin/rust-analyzer", | "path": "/run/current-system/sw/bin/rust-analyzer", | ||
}, | }, | ||
} | } | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Software]] | [[Category:Software]] |