From 1995afa8558e6dbfdcff9965efa77cb77994df8d Mon Sep 17 00:00:00 2001 From: x x Date: Thu, 8 Mar 2018 12:12:34 +0200 Subject: [PATCH 1/2] Add new FAQ item for g:ale_list_window_size --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d5335e2..340f3d0 100644 --- a/README.md +++ b/README.md @@ -698,3 +698,12 @@ let g:ale_pattern_options_enabled = 1 ``` Buffer-local variables for settings always override the global settings. + +### 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 +``` From b769b67b2f14c124385e1c60ef70d949dd6930ec Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 21 Mar 2018 17:41:24 +0000 Subject: [PATCH 2/2] Update the table of content for the new FAQ entry. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 340f3d0..fb8e837 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) @@ -699,6 +700,8 @@ let g:ale_pattern_options_enabled = 1 Buffer-local variables for settings always override the global settings. + + ### 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.