Skip to content

Commit

Permalink
rust-analyzer: enabele all features
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Oct 2, 2024
1 parent d5b7ffc commit f6e906c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ in
installCargo = false;
installRustc = false;
package = rust;
settings = {
cargo.features = "all";
check.features = "all";
};
};
sqls.enable = true;
taplo.enable = true;
Expand Down Expand Up @@ -155,10 +159,10 @@ in
};
};

keymaps = [ {
keymaps = [{
mode = "n";
key = "<leader>tld";
action = "<Plug>(toggle-lsp-diag)";
options.desc = "Toggle LSP diagnostics";
} ];
}];
}

0 comments on commit f6e906c

Please sign in to comment.