summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/config.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/config.lua b/lua/config.lua
index a5eb4e3..d745434 100644
--- a/lua/config.lua
+++ b/lua/config.lua
@@ -54,6 +54,7 @@ vim.g.mapleader = ","
-- Plugins
vim.g["vim_markdown_folding_disabled"] = 1
+vim.g.rustfmt_command = "rustup run nightly rustfmt --edition 2021"
vim.g.rustfmt_autosave = 1
-- Custom globals