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.pull/14/head
parent
9849294865
commit
b2838bd9eb
@ -1,3 +1,3 @@
|
||||
{
|
||||
"rust-analyzer.linkedProjects": ["Cargo.toml", "{{crate_name}}-ebpf/Cargo.toml"]
|
||||
"rust-analyzer.linkedProjects": ["Cargo.toml", "{{project-name}}-ebpf/Cargo.toml"]
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"rust-analyzer.linkedProjects": ["Cargo.toml", "{{crate_name}}-ebpf/Cargo.toml"]
|
||||
"rust-analyzer.linkedProjects": ["Cargo.toml", "{{project-name}}-ebpf/Cargo.toml"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue