diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index c01bc043..a1b10ae0 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -364,6 +364,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): diff --git a/modules/plugins/languages/rust.nix b/modules/plugins/languages/rust.nix index 09c54ae6..c9276a27 100644 --- a/modules/plugins/languages/rust.nix +++ b/modules/plugins/languages/rust.nix @@ -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 ''