From ee6c4368ae41e8cb5322926aff9f07bb83da7b1f Mon Sep 17 00:00:00 2001 From: "Nikolas (Daniel) Vincenti" <165183152+NikVince@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:09:00 +0200 Subject: [PATCH] UPDATED init.lua to support auto-formatting upon saving for Rust. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index af87b5ac..3d878725 100644 --- a/init.lua +++ b/init.lua @@ -789,7 +789,7 @@ require('lazy').setup({ lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, - -- + rust = { 'rustfmt' }, -- You can use 'stop_after_first' to run the first available formatter from the list -- javascript = { "prettierd", "prettier", stop_after_first = true }, },