Skip to content

Commit

Permalink
Merge pull request prettier#52 from tgroshon/patch-1
Browse files Browse the repository at this point in the history
Update README.md with Windows Installation Notes
  • Loading branch information
Roman Coedo authored Mar 11, 2019
2 parents fac9dd2 + 30a1410 commit e9b73e8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ And then hook to web-mode like this:
(enable-minor-mode
'("\\.jsx?\\'" . prettier-js-mode))))
```
## Installing on Windows

This package requires the `diff` tool which is already included on Unix platforms. The simplest way to install `diff` on Windows is to use [Chocolatey](https://chocolatey.org/). The steps are as follows:

1. Follow the Chocolatey install instructions: https://chocolatey.org/install
2. Open an Admin Powershell session
3. Install the `diff` program: `choco install diffutils`

You should now be able to open Emacs and successfully use this package.

## Customization

Expand Down

0 comments on commit e9b73e8

Please sign in to comment.