Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lua/prettier/cli.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ local cli = {
local base_args_by_bin = {
prettier = { "--stdin-filepath", "$FILENAME" },
prettierd = { "$FILENAME" },
prettier_d_slim = { "--stdin", "--stdin-filepath", "$FILENAME" },
}

---@param bin string
Expand All @@ -18,6 +19,7 @@ end
local supported_bin = {
prettier = true,
prettierd = true,
prettier_d_slim = true,
}

---@param bin string
Expand Down
2 changes: 1 addition & 1 deletion lua/prettier/options.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local u = require("prettier.utils")

local bins = { "prettier", "prettierd" }
local bins = { "prettier", "prettierd", "prettier_d_slim", }

local top_level_cli_options = {
"config_precedence",
Expand Down