diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2023-12-01 07:54:54 -0800 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2023-12-01 07:54:54 -0800 |
commit | e8ac7f1a9a3973ecce6942b2f26d16e65902aa70 (patch) | |
tree | cbffd6c15bc27a6ef449481fdb5edd28321d7593 /lua/conform/formatters/prettier.lua | |
parent | 3fc2c956d99216b2816f07d2b946020ba2e02457 (diff) |
fix: invalid prettier configuration in last commit
Diffstat (limited to 'lua/conform/formatters/prettier.lua')
-rw-r--r-- | lua/conform/formatters/prettier.lua | 13 |
1 files changed, 0 insertions, 13 deletions
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 { |