Option to open lists vertically (#1381)

* Add configuration option to open lists vertically

* Add tests, clean up vertical list config

* Vertical list option cleanup

* Use is# for tests
* Order properties in documentation alphabetically
This commit is contained in:
Andrew Crites 2018-03-02 15:22:29 -05:00 committed by w0rp
parent 2096562899
commit acbe527e15
7 changed files with 78 additions and 2 deletions

View file

@ -1151,6 +1151,16 @@ g:ale_linters_explicit *g:ale_linters_explicit*
as possible, unless otherwise specified.
g:ale_list_vertical *g:ale_list_vertical*
*b:ale_list_vertical*
Type: |Number|
Default: `0`
When set to `1`, this will cause ALE to open any windows (loclist or
quickfix) vertically instead of horizontally (|vert| |lopen|) or (|vert|
|copen|)
g:ale_loclist_msg_format *g:ale_loclist_msg_format*
b:ale_loclist_msg_format *b:ale_loclist_msg_format*
@ -1222,6 +1232,8 @@ g:ale_open_list *g:ale_open_list*
The window size can be configured with |g:ale_list_window_size|.
Windows can be opened vertically with |g:ale_list_vertical|.
If you want to close the loclist window automatically when the buffer is
closed, you can set up the following |autocmd| command: >