Skip to content

Commit 31eafa0

Browse files
committed
languages/rust: add rustaceanvim dependency rustfmt
See #914 for more details.
1 parent d3a0e70 commit 31eafa0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/release-notes/rl-0.8.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@
363363
- Add the `vim.languages.dart.flutter-tools.flutterPackage` option.
364364
- Fix the type of the `highlight` color options.
365365
- Add [vim-sleuth] plugin under `vim.utility.sleuth`.
366+
- Add missing `rustaceanvim` dependency `rustfmt`.
366367

367368
[howird](https://github.com/howird):
368369

modules/plugins/languages/rust.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ in {
140140
(mkIf (cfg.lsp.enable || cfg.dap.enable) {
141141
vim = {
142142
startPlugins = ["rustaceanvim"];
143-
143+
extraPackages = [pkgs.rustfmt];
144144
pluginRC.rustaceanvim = entryAfter ["lsp-setup"] ''
145145
vim.g.rustaceanvim = {
146146
${optionalString cfg.lsp.enable ''

0 commit comments

Comments
 (0)