diff options
author | w0rp <devw0rp@gmail.com> | 2017-08-19 14:28:51 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-08-19 14:28:51 +0100 |
commit | 5c839c482573263b4d3cb2bc4bc1719d49e14e22 (patch) | |
tree | 8d4bdea46296f79dacd035becd13167e89c1b112 /test/test_list_titles.vader | |
parent | 9c6e25d8d8a8d519e828c31acfc7b1309fd0aaa1 (diff) | |
download | ale-5c839c482573263b4d3cb2bc4bc1719d49e14e22.zip |
#653 Collect items for quickfix from all buffers, and de-duplicate them. Set filename items in quickfix and loclist.
Diffstat (limited to 'test/test_list_titles.vader')
-rw-r--r-- | test/test_list_titles.vader | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_list_titles.vader b/test/test_list_titles.vader index fe28629d..74cb4bcc 100644 --- a/test/test_list_titles.vader +++ b/test/test_list_titles.vader @@ -1,7 +1,9 @@ Before: Save g:ale_set_loclist Save g:ale_set_quickfix + Save g:ale_buffer_info + let g:ale_buffer_info = {} let g:ale_set_loclist = 0 let g:ale_set_quickfix = 0 @@ -43,6 +45,10 @@ Execute(The quickfix titles should be set appropriately): let g:ale_set_quickfix = 1 + let g:ale_buffer_info[bufnr('')] = { + \ 'loclist': [{'bufnr': bufnr(''), 'lnum': 5, 'col': 5, 'text': 'x', 'type': 'E'}], + \} + call ale#list#SetLists(bufnr(''), [ \ {'bufnr': bufnr(''), 'lnum': 5, 'col': 5, 'text': 'x', 'type': 'E'}, \]) |