lsp: fix rust-analyzer support on neovim and vscode

The project structure was messing with rust-analyzer's ability to correctly find the
Cargo.toml for the {{project-name}}-ebpf crate. This patch fixes it by manually defining
the project structure in both vscode and neovim.

Signed-off-by: William Findlay <william@williamfindlay.com>
pull/13/head
William Findlay 3 years ago
parent 7a536923d6
commit 9849294865
No known key found for this signature in database
GPG Key ID: 7162B44E9E560373

@ -0,0 +1,3 @@
{
"rust-analyzer.linkedProjects": ["Cargo.toml", "{{crate_name}}-ebpf/Cargo.toml"]
}

@ -0,0 +1,3 @@
{
"rust-analyzer.linkedProjects": ["Cargo.toml", "{{crate_name}}-ebpf/Cargo.toml"]
}
Loading…
Cancel
Save