2 Commits (1ecc829b4fdb7570fae381e089eb7467a19235bc)

Author SHA1 Message Date
William Findlay b2838bd9eb
lsp: use project-name instead of crate_name to generate Cargo.toml path
My original patch was broken for crates with names-like-this, since it would incorrectly
add underscores instead of dashes to the pathname. This patch fixes the problem.
3 years ago
William Findlay 9849294865
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>
3 years ago