Update some docs
This commit is contained in:
12
README.md
12
README.md
@@ -1,4 +1,4 @@
|
||||
would-reformat - automatic reformatting for emacs without being annoying
|
||||
would-reformat - automatic reformatting for emacs (and maybe other editors) without being annoying
|
||||
|
||||
# Motivation
|
||||
|
||||
@@ -38,9 +38,13 @@ saving a file and to run `do-reformat.sh` when you hit `<F1>`.
|
||||
- typescript
|
||||
- vue
|
||||
|
||||
Out of the box, python uses `isort` and `black`, go uses `gofmt`, and dart
|
||||
uses `dart format`. The rest use `prettier`. Adding new programming
|
||||
languages is easy, assuming they have a formatter with a dry run mode.
|
||||
Out of the box, for python we use `isort` and `black`, for go we use `gofmt`,
|
||||
for dart we use `dart format`, for rust we use `rustfmt`, and for everything
|
||||
else we use `prettier`.
|
||||
|
||||
Adding suuport for other programming languages is easy, assuming they have a
|
||||
formatter with a dry run mode. And even if they don't it shouldn't be that
|
||||
bad.
|
||||
|
||||
# Installation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user