From 28f515c95ab95f92ab60053afd3a44d4b7f67598 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Tue, 8 Sep 2026 12:50:49 +0200 Subject: Keine abschließenden kommas in JSON-Dateien MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/plugins/format.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nvim/lua/plugins/format.lua') diff --git a/nvim/lua/plugins/format.lua b/nvim/lua/plugins/format.lua index 476e513..77abc76 100644 --- a/nvim/lua/plugins/format.lua +++ b/nvim/lua/plugins/format.lua @@ -46,7 +46,7 @@ return { formatters = { prettier_jsonc = { inherit = "prettier", - prepend_args = { "--parser", "jsonc" }, + prepend_args = { "--parser", "jsonc", "--trailing-comma", "none" }, }, }, default_format_opts = { -- cgit v1.3