From 19f8fcd06ef70ccddf8f4cb1cef6101a18dd6e3d Mon Sep 17 00:00:00 2001 From: "markus.dieckmann" Date: Tue, 27 May 2025 11:52:52 +0200 Subject: [PATCH] eslint_d instead of prettier if available --- nvim/lua/plugins/conform.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/lua/plugins/conform.lua b/nvim/lua/plugins/conform.lua index ad13a52..5885990 100644 --- a/nvim/lua/plugins/conform.lua +++ b/nvim/lua/plugins/conform.lua @@ -17,8 +17,8 @@ return { -- You can customize some of the format options for the filetype (:help conform.format) rust = { "rustfmt" }, -- Conform will run the first available formatter - javascript = { "prettierd", "prettier", stop_after_first = true }, - typescript = { "prettierd", "prettier", stop_after_first = true }, + javascript = { "eslint_d", "prettierd", "prettier", stop_after_first = true }, + typescript = { "eslint_d", "prettierd", "prettier", stop_after_first = true }, format_on_save = { -- These options will be passed to conform.format() timeout_ms = 500,