Fix some typos and remove some trailing whitespace.

This commit is contained in:
w0rp 2016-10-07 18:34:23 +01:00
parent da1dcc6bb5
commit ee80a0d147
2 changed files with 5 additions and 5 deletions

View File

@ -128,19 +128,19 @@ let g:ale_sign_warning = '--'
### Statusline ### Statusline
You can use `ALEGetStatusLine()` to integrate ALE into vim statusline. You can use `ALEGetStatusLine()` to integrate ALE into vim statusline.
To enable it, you should have in your `statusline` settings To enable it, you should have in your `statusline` settings
```vim ```vim
%{ALEGetStatusLine()} %{ALEGetStatusLine()}
``` ```
When errors are detected a string showing the number of errors will be shown. When errors are detected a string showing the number of errors will be shown.
You can customize the output format using the global list `g:ale_statusline_format` where: You can customize the output format using the global list `g:ale_statusline_format` where:
- The 1st element is for errors - The 1st element is for errors
- The 2nd element is for warnings - The 2nd element is for warnings
- The 3rd element is for when no erros are detected - The 3rd element is for when no errors are detected
e.g e.g
@ -148,7 +148,7 @@ e.g
let g:ale_statusline_format = ['⨉ %d', '⚠ %d', '⬥ ok'] let g:ale_statusline_format = ['⨉ %d', '⚠ %d', '⬥ ok']
``` ```
![Statusline with issues](img/issues.png) ![Statusline with issues](img/issues.png)
![Statusline with no issues](img/no_issues.png) ![Statusline with no issues](img/no_issues.png)
## Installation ## Installation

View File

@ -231,7 +231,7 @@ Default: `['%d error(s)', '%d warning(s)', 'OK']`
This variable defines the format of |`ALEGetStatusLine()`| output. This variable defines the format of |`ALEGetStatusLine()`| output.
- The 1st element is for errors - The 1st element is for errors
- The 2nd element is for warnings - The 2nd element is for warnings
- The 3rd element is for when no erros are detected - The 3rd element is for when no errors are detected
=============================================================================== ===============================================================================
4. Linter Specific Options *ale-linter-options* 4. Linter Specific Options *ale-linter-options*