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.
1 parent a00233c commit 028fe6cCopy full SHA for 028fe6c
README.md
@@ -209,7 +209,9 @@ or you set `elixir-format-arguments` in a hook like this:
209
``` elisp
210
(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")))
+ (setq elixir-format-arguments
213
+ (list "--dot-formatter"
214
+ (concat (locate-dominating-file buffer-file-name ".formatter.exs") ".formatter.exs")))
215
(setq elixir-format-arguments nil))))
216
```
217
0 commit comments