Skip to content

Commit

Permalink
lsp: support rust-analyzer on helix editor (#103)
Browse files Browse the repository at this point in the history
This patch allows the helix editor to correctly initialize the
rust-analyzer when opening a source file from {{project-name}}-ebpf.

To find the Cargo.toml the helix editor must be launched from
the {{project-name}}-ebpf directory or provide the workspace path
as follows:

hx -w <path to {{project-name}}-ebpf> [relative path in {{project-name}}-ebpf]

The patch was tested using helix version 23.10.
  • Loading branch information
catalin-h authored May 21, 2024
1 parent 2ad8773 commit a006355
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions {{project-name}}-ebpf/.helix/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[editor]
workspace-lsp-roots = []

0 comments on commit a006355

Please sign in to comment.