summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-03-21 17:41:55 +0000
committerGitHub <noreply@github.com>2018-03-21 17:41:55 +0000
commit0678eb1f45b08076a16a16e43a57b584a7d2cfc6 (patch)
treeb1036c04e5263f8f08ae9ef6da30af696ea9771a /README.md
parentca2472a460f47bed8794403bf136ec8cdc53042b (diff)
parentb769b67b2f14c124385e1c60ef70d949dd6930ec (diff)
downloadale-0678eb1f45b08076a16a16e43a57b584a7d2cfc6.zip
Merge pull request #1409 from x1024/patch-1
Add new FAQ item for g:ale_list_window_size
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index b473802a..6b422860 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,7 @@ formatting tools, and some Language Server Protocol and `tsserver` features.
13. [Will this plugin eat all of my laptop battery power?](#faq-my-battery-is-sad)
14. [How can I configure my C or C++ project?](#faq-c-configuration)
15. [How can I configure ALE differently for different buffers?](#faq-buffer-configuration)
+ 16. [How can I configure the height of the list in which ALE displays errors?](#faq-list-window-height)
<a name="supported-languages"></a>
@@ -700,3 +701,14 @@ let g:ale_pattern_options_enabled = 1
```
Buffer-local variables for settings always override the global settings.
+
+<a name="faq-list-window-height"></a>
+
+### 5.xvi. How can I configure the height of the list in which ALE displays errors?
+
+To set a default height for the error list, use the `g:ale_list_window_size` variable.
+
+```vim
+" Show 5 lines of errors (default: 10)
+let g:ale_list_window_size = 5
+```