From 55dc63e48ab3dbcbe0a1bfcd3a854f82b8a5c87b Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Oct 2024 19:16:18 +0100 Subject: run rustfmt with Rust nightly --- lua/config.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua') 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 -- cgit v1.2.3-18-g5258