Zed: Difference between revisions

Picnoir (talk | contribs)
zed: init
 
Picnoir (talk | contribs)
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",
     },
     },
    "initialization_options": {
      "check": {
        "command": "clippy" // rust-analyzer.check.command (default: "check")
      }
    }
   }
   }
  }
  }
</syntaxhighlight>
</syntaxhighlight>
[[Category:Software]]
[[Category:Software]]