From e8ac7f1a9a3973ecce6942b2f26d16e65902aa70 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Fri, 1 Dec 2023 07:54:54 -0800 Subject: fix: invalid prettier configuration in last commit --- lua/conform/formatters/prettier.lua | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lua/conform/formatters/prettier.lua') diff --git a/lua/conform/formatters/prettier.lua b/lua/conform/formatters/prettier.lua index 5b00d7b..ea45ffb 100644 --- a/lua/conform/formatters/prettier.lua +++ b/lua/conform/formatters/prettier.lua @@ -1,16 +1,3 @@ -require("conform").setup({ - formatters = { - prettier = { - args = function(ctx) - if vim.endswith(ctx.filename, ".ejs") then - return { "--stdin-filepath", "$FILENAME", "--parser", "html" } - end - return { "--stdin-filepath", "$FILENAME" } - end, - }, - }, -}) - local util = require("conform.util") ---@type conform.FileFormatterConfig return { -- cgit v1.2.3-70-g09d2