diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-03-21 17:41:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 17:41:55 +0000 |
commit | 0678eb1f45b08076a16a16e43a57b584a7d2cfc6 (patch) | |
tree | b1036c04e5263f8f08ae9ef6da30af696ea9771a /README.md | |
parent | ca2472a460f47bed8794403bf136ec8cdc53042b (diff) | |
parent | b769b67b2f14c124385e1c60ef70d949dd6930ec (diff) | |
download | ale-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.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 +``` |