diff options
author | HampusM <hampus@hampusmat.com> | 2024-10-29 19:16:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-10-29 19:16:18 +0100 |
commit | 55dc63e48ab3dbcbe0a1bfcd3a854f82b8a5c87b (patch) | |
tree | bd9dda2d65b0cbd50de99ddeb3a81321c3c5b481 /lua/config.lua | |
parent | a9f27a66bcea7094be1b95f1291271fcb8613942 (diff) |
run rustfmt with Rust nightly
Diffstat (limited to 'lua/config.lua')
-rw-r--r-- | lua/config.lua | 1 |
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 |