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
parent
7a536923d6
commit
9849294865
@ -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…
Reference in New Issue