From a006355e629aeec8c9d174d89fe6a82f2801d52f Mon Sep 17 00:00:00 2001 From: catalin-h Date: Wed, 22 May 2024 00:26:47 +0300 Subject: [PATCH] lsp: support rust-analyzer on helix editor (#103) 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 [relative path in {{project-name}}-ebpf] The patch was tested using helix version 23.10. --- {{project-name}}-ebpf/.helix/config.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 {{project-name}}-ebpf/.helix/config.toml diff --git a/{{project-name}}-ebpf/.helix/config.toml b/{{project-name}}-ebpf/.helix/config.toml new file mode 100644 index 0000000..da5424f --- /dev/null +++ b/{{project-name}}-ebpf/.helix/config.toml @@ -0,0 +1,2 @@ +[editor] +workspace-lsp-roots = []