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

@ -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 ''