Fix #899 - Make the quickfix and loclist windows close again

This commit is contained in:
w0rp
2017-09-03 19:44:00 +01:00
parent d482b8e3b7
commit c7fbcb3c02
4 changed files with 22 additions and 50 deletions

View File

@@ -27,12 +27,3 @@ Execute(The SetLists function should work when run in a timer):
\ 'type': 'E',
\ 'pattern': '',
\}], getloclist(0)
Execute(The CloseWindowIfNeeded function should work when run in a timer):
let g:ale_open_list = 1
lopen
call ale#list#CloseWindowIfNeeded(bufnr(''))
sleep 1ms
Assert !ale#list#IsQuickfixOpen(), 'The window was not closed!'