From 91fe437084dcd8068e3f21ad738d6d522c28bd72 Mon Sep 17 00:00:00 2001 From: nebunebu Date: Wed, 7 Aug 2024 21:18:40 -0400 Subject: [PATCH] update README to use sublist to run first available formatter instead of stop_after_first --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7da4e1a9..80361bb5 100644 --- a/README.md +++ b/README.md @@ -131,8 +131,8 @@ require("conform").setup({ python = { "isort", "black" }, -- You can customize some of the format options for the filetype (:help conform.format) rust = { "rustfmt", lsp_format = "fallback" }, - -- Conform will run the first available formatter - javascript = { "prettierd", "prettier", stop_after_first = true }, + -- Use a sub-list to run only the first available formatter + javascript = { { "prettierd", "prettier" } }, }, }) ```