aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/plugins/guard.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/pml68/plugins/guard.lua')
-rw-r--r--lua/pml68/plugins/guard.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/pml68/plugins/guard.lua b/lua/pml68/plugins/guard.lua
index 86cdfd2..7bdc7a7 100644
--- a/lua/pml68/plugins/guard.lua
+++ b/lua/pml68/plugins/guard.lua
@@ -8,6 +8,7 @@ return {
local ft = require("guard.filetype")
ft("c,cpp,h"):fmt("clang-format")
+ ft("rust"):fmt("rustfmt")
ft("json"):fmt({
cmd = "jq",
stdin = true