Skip to content

Commit a00233c

Browse files
InAbsentiaTrevoke
authored andcommitted
Fix elixir-format-hook quoting in README example (#417)
1 parent 8721118 commit a00233c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ To use a `.formatter.exs` you can either set `elixir-format-arguments` globally
207207
or you set `elixir-format-arguments` in a hook like this:
208208

209209
``` elisp
210-
(add-hook elixir-format-hook '(lambda ()
210+
(add-hook 'elixir-format-hook (lambda ()
211211
(if (projectile-project-p)
212212
(setq elixir-format-arguments (list "--dot-formatter" (concat (projectile-project-root) "/.formatter.exs")))
213213
(setq elixir-format-arguments nil))))

0 commit comments

Comments
 (0)