From 5af5415454db37a5632605ec651a9a32260533ed Mon Sep 17 00:00:00 2001 From: Juan Miguel Rua Date: Fri, 21 Jun 2024 22:32:12 +0200 Subject: [PATCH] Adding rust support --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 5860f1a7..f4772303 100644 --- a/init.lua +++ b/init.lua @@ -695,6 +695,7 @@ require('lazy').setup({ go = { 'gofmt', 'goimports', 'golines' }, terraform = { 'terraform_fmt' }, json = { 'jsonnetfmt', 'jq' }, + rust = { 'rustfmt' }, -- yaml = { 'yq' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, @@ -902,6 +903,7 @@ require('lazy').setup({ 'dockerfile', 'gitignore', 'json', + 'rust', }, -- Autoinstall languages that are not installed auto_install = true,