We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9807933 commit e2bdc8eCopy full SHA for e2bdc8e
lua/plugins/null-ls_nvim.lua
@@ -94,6 +94,14 @@ if vim.fn.executable("djlint") == 1 then
94
})
95
end
96
97
+-- Rust
98
+if vim.fn.executable("rustfmt") == 1 then
99
+ load = true
100
+ sources[#sources+1] = formatting.rustfmt.with({
101
+ command = "rustfmt",
102
+ })
103
+end
104
+
105
-- ───────────────❰ end FORMATTING ❱──────────────── --
106
-- ───────────────────────────────────────────────── --
107
0 commit comments