Load phoenix_live_view in formatter config

Fixes this error thrown by ElixirLS when trying to format code:

** (Mix.Error) Formatter plugin Phoenix.LiveView.HTMLFormatter cannot be found
This commit is contained in:
Claudio Ortolina
2024-09-15 07:29:14 +01:00
parent 6063e560ba
commit 6f300ef1f0
+1 -1
View File
@@ -1,5 +1,5 @@
[ [
import_deps: [:ecto, :ecto_sql, :phoenix], import_deps: [:ecto, :ecto_sql, :phoenix, :phoenix_live_view],
subdirectories: ["priv/*/migrations"], subdirectories: ["priv/*/migrations"],
plugins: [Phoenix.LiveView.HTMLFormatter], plugins: [Phoenix.LiveView.HTMLFormatter],
inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"] inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"]