summaryrefslogtreecommitdiff
path: root/lua/config.lua
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-10-29 19:16:18 +0100
committerHampusM <hampus@hampusmat.com>2024-10-29 19:16:18 +0100
commit55dc63e48ab3dbcbe0a1bfcd3a854f82b8a5c87b (patch)
treebd9dda2d65b0cbd50de99ddeb3a81321c3c5b481 /lua/config.lua
parenta9f27a66bcea7094be1b95f1291271fcb8613942 (diff)
run rustfmt with Rust nightly
Diffstat (limited to 'lua/config.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