From edf9ae6adad736fe9663fcbb3329ccbf3ee44712 Mon Sep 17 00:00:00 2001 From: Christian Nieves Date: Sat, 26 Apr 2025 19:31:08 -0500 Subject: [PATCH] fix conform --- vim/.vim/lua/plugins/conform.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/vim/.vim/lua/plugins/conform.lua b/vim/.vim/lua/plugins/conform.lua index b3300a3..b619746 100644 --- a/vim/.vim/lua/plugins/conform.lua +++ b/vim/.vim/lua/plugins/conform.lua @@ -51,11 +51,9 @@ return { end require("conform").format({ async = true }) end, { range = true }) - end, - -- This will provide type hinting with LuaLS - ---@module "conform" - ---@type conform.setupOpts - opts = { + + require("conform").setup( +{ log_level = vim.log.levels.DEBUG, formatters_by_ft = { rust = { "rustfmt" }, @@ -85,6 +83,7 @@ return { prepend_args = { "-l", "100" }, }, }, - }, + }) + end, }, }