helix: add rust-analyzer
This commit is contained in:
parent
e820173a12
commit
c2da1c9b19
1 changed files with 7 additions and 21 deletions
|
@ -143,27 +143,6 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "rust";
|
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";
|
name = "c";
|
||||||
|
@ -202,6 +181,13 @@
|
||||||
args = ["start"];
|
args = ["start"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rust-analyzer = {
|
||||||
|
config = {
|
||||||
|
check.command = "clippy";
|
||||||
|
cargo.features = "all";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
clangd = {
|
clangd = {
|
||||||
command = "${clang-tools}/bin/clangd";
|
command = "${clang-tools}/bin/clangd";
|
||||||
clangd.fallbackFlags = ["-std=c++2b"];
|
clangd.fallbackFlags = ["-std=c++2b"];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue