languages/rust: add rustaceanvim dependency rustfmt

See https://github.com/NotAShelf/nvf/pull/914 for more details.
This commit is contained in:
Noah765 2025-05-21 11:37:21 +02:00
commit 31eafa05b2
2 changed files with 2 additions and 1 deletions

View file

@ -363,6 +363,7 @@
- Add the `vim.languages.dart.flutter-tools.flutterPackage` option.
- Fix the type of the `highlight` color options.
- Add [vim-sleuth] plugin under `vim.utility.sleuth`.
- Add missing `rustaceanvim` dependency `rustfmt`.
[howird](https://github.com/howird):

View file

@ -140,7 +140,7 @@ in {
(mkIf (cfg.lsp.enable || cfg.dap.enable) {
vim = {
startPlugins = ["rustaceanvim"];
extraPackages = [pkgs.rustfmt];
pluginRC.rustaceanvim = entryAfter ["lsp-setup"] ''
vim.g.rustaceanvim = {
${optionalString cfg.lsp.enable ''