helix: add rust-analyzer

This commit is contained in:
Charlie Root 2025-03-31 11:05:13 +02:00
commit c2da1c9b19
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -143,27 +143,6 @@
}
{
name = "rust";
debugger = {
command = "${lldb_19}/bin/lldb-dap";
name = "lldb";
transport = "stdio";
templates = [
{
name = "binary";
request = "launch";
completion = [
{
name = "binary";
completion = "filename";
}
];
args = {
program = "{0}";
runInTerminal = true;
};
}
];
};
}
{
name = "c";
@ -202,6 +181,13 @@
args = ["start"];
};
rust-analyzer = {
config = {
check.command = "clippy";
cargo.features = "all";
};
};
clangd = {
command = "${clang-tools}/bin/clangd";
clangd.fallbackFlags = ["-std=c++2b"];