helix support rust
This commit is contained in:
parent
51557ebd65
commit
bde4819307
1 changed files with 14 additions and 0 deletions
|
|
@ -142,6 +142,16 @@
|
|||
formatter.command = "${pkgs.ormolu}/bin/ormolu";
|
||||
language-servers = ["haskell-language-server"];
|
||||
}
|
||||
{
|
||||
name = "rust";
|
||||
indent = {
|
||||
tab-width = 2;
|
||||
unit = " ";
|
||||
};
|
||||
auto-format = true;
|
||||
formatter.command = "${pkgs.rustfmt}/bin/rustfmt";
|
||||
language-servers = ["rust-analyzer"];
|
||||
}
|
||||
# {
|
||||
# name = "c-sharp";
|
||||
# source = "source.cs";
|
||||
|
|
@ -176,6 +186,10 @@
|
|||
command = "${pkgs.haskell-language-server}/bin/haskell-language-server-wrapper";
|
||||
};
|
||||
|
||||
rust-analyzer = {
|
||||
command = "${pkgs.rust-analyzer}/bin/rust-analyzer";
|
||||
};
|
||||
|
||||
# C# language services
|
||||
OmniSharp = {
|
||||
command = "${pkgs.omnisharp-roslyn}/bin/OmniSharp";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue