Skip to content

Conversation

@knu
Copy link
Collaborator

@knu knu commented Oct 26, 2023

This introduces a keyword symbol :executable to format-all-formatters.

It solves a typical problem where the predefined formatter is just fine but the executable you want to use instead is installed under the project working directory or elsewhere not necessarily in the default PATH.

e.g.

(setq format-all-formatters
      '(("JavaScript"
         (prettier
          :executable
          "node_modules/.bin/prettier"))))

This introduces a keyword symbol `:executable` to `format-all-formatters`.

e.g.
```elisp
(setq format-all-formatters
      '(("JavaScript"
         (prettier
          :executable
          "node_modules/.bin/prettier"))))
```
@knu knu requested a review from lassik October 26, 2023 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant