Unverified Commit 1f7e7350 authored by John Meow's avatar John Meow Committed by GitHub
Browse files

Add ALE (#1753)

parent b3ceb293
Loading
Loading
Loading
Loading
+13 −0
Changes for docs/editor_integration.md: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -111,6 +111,8 @@ $ black --help

## Vim

### Official plugin

Commands and shortcuts:

- `:Black` to format the entire file (ranges not supported);
@@ -233,6 +235,17 @@ If you later want to update _Black_, you should do it like this:
$ pip install -U black --no-binary regex,typed-ast
```

### With ALE

1. Install [`ale`](https://github.com/dense-analysis/ale)
2. Install `black`
3. Add this to your vimrc:

   ```vim
   let g:ale_fixers = {}
   let g:ale_fixers.python = ['black']
   ```

## Gedit

gedit is the default text editor of the GNOME, Unix like Operating Systems. Open gedit