summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-07 18:34:23 +0100
committerw0rp <devw0rp@gmail.com>2016-10-07 18:34:23 +0100
commitee80a0d1473c416884e1d5bfc31e7697b2f59318 (patch)
treeda7d592c94df2113fc1a51e045857a6bcbdcf646
parentda1dcc6bb54d31fac801b9188ac044f1ac2cc264 (diff)
downloadale-ee80a0d1473c416884e1d5bfc31e7697b2f59318.zip
Fix some typos and remove some trailing whitespace.
-rw-r--r--README.md8
-rw-r--r--doc/ale.txt2
2 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 0e095102..df9aaff7 100644
--- a/README.md
+++ b/README.md
@@ -128,19 +128,19 @@ let g:ale_sign_warning = '--'
### 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
```vim
%{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:
- The 1st element is for errors
- 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
@@ -148,7 +148,7 @@ e.g
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)
## Installation
diff --git a/doc/ale.txt b/doc/ale.txt
index bb4d648e..415eb161 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -231,7 +231,7 @@ Default: `['%d error(s)', '%d warning(s)', 'OK']`
This variable defines the format of |`ALEGetStatusLine()`| output.
- The 1st element is for errors
- 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*