diff options
author | w0rp <devw0rp@gmail.com> | 2017-06-02 19:02:48 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-06-02 19:02:54 +0100 |
commit | 7c68889bbcf04091ea19bd4d3d18d5f800d24c30 (patch) | |
tree | 53b816ee380ff56ffc00fa1954737f9b0f97cb67 /test | |
parent | 955452816a4e44efabfb6181112221e2d7efb11e (diff) | |
download | ale-7c68889bbcf04091ea19bd4d3d18d5f800d24c30.zip |
#574 Do not restore items with no columns for highlights from hidden buffers
Diffstat (limited to 'test')
-rw-r--r-- | test/test_highlight_placement.vader | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_highlight_placement.vader b/test/test_highlight_placement.vader index 6764dffe..a134916f 100644 --- a/test/test_highlight_placement.vader +++ b/test/test_highlight_placement.vader @@ -98,8 +98,10 @@ Execute(Highlights set by ALE should be removed when buffer cleanup is done): Execute(Highlights should be cleared when buffers are hidden): call ale#engine#InitBufferInfo(bufnr('%')) + " The second item should be ignored, as it has no column infomration. let g:ale_buffer_info[bufnr('%')].loclist = [ \ {'bufnr': bufnr('%'), 'type': 'E', 'lnum': 3, 'col': 2}, + \ {'bufnr': bufnr('%'), 'type': 'E', 'lnum': 4, 'col': 0}, \] call ale#highlight#SetHighlights( \ bufnr('%'), |