Open fredfortier opened 2 years ago
+1
rustic-compile-directory-method
is not related to lsp functionality, but makes use of code in compile.el
.
lsp-rust-analyzer-status
is a lsp-mode
function and therefore provides rust-analyzer features. If lsp-rust-analyzer-status
doesn't work the way you would expect, it's almost certainly a rust-analyzer issue.
I have this Cargo.toml configuration:
With this setting:
Crates a and b work fine, the LSP finds the workspace as the project root. Crates c and d are excluded from the workspace. I'd expect the LSP to find their directory as the project root. However, running
rust-analyzer-status
on any of their sources suggests they are not being indexed.Is this a know issue? Or the expected behavior? Can I override
rustic-compile-directory-method per directory in
.dir-locals.el`?