From 0c5031eb14798e3d9e06dbbf4278e571fb3cd6ad Mon Sep 17 00:00:00 2001 From: Catalin Horghidan Date: Fri, 3 Nov 2023 17:01:41 +0200 Subject: [PATCH] lsp: support rust-analyzer on helix editor 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 = []