We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
elixir-format-hook
1 parent 8721118 commit a00233cCopy full SHA for a00233c
README.md
@@ -207,7 +207,7 @@ To use a `.formatter.exs` you can either set `elixir-format-arguments` globally
207
or you set `elixir-format-arguments` in a hook like this:
208
209
``` elisp
210
-(add-hook elixir-format-hook '(lambda ()
+(add-hook 'elixir-format-hook (lambda ()
211
(if (projectile-project-p)
212
(setq elixir-format-arguments (list "--dot-formatter" (concat (projectile-project-root) "/.formatter.exs")))
213
(setq elixir-format-arguments nil))))
0 commit comments