Ale: List of Errors lost when closing and reopening quickfix or location window

Created on 15 Jul 2017  路  2Comments  路  Source: dense-analysis/ale

Whenever I close and reopen the location or quickfix window, the list with errors is cleared.

I stripped down my vimrc to only have a bare minimum of settings and only load the ale plugin. I then open a Perl file with some errors in it. When I call :lwindow, I geht the location list with a list of errors. After that I call :lclose to close the window. Now, I call :lwindow again an nothing happens. :lopen will open up the location list, but it is empty. The same goes for the quickfix list, if I set the corresponding option.

Here is what ALEInfo says:

```

Current Filetype: perl
Available Linters: ['perl', 'perlcritic']
Enabled Linters: ['perl', 'perlcritic']
Linter Variables:

let g:ale_perl_perl_executable = 'perl'
let g:ale_perl_perl_options = '-c -Mwarnings -Ilib'
let g:ale_perl_perlcritic_executable = 'perlcritic'
let g:ale_perl_perlcritic_options = ''
let g:ale_perl_perlcritic_profile = '.perlcriticrc'
let g:ale_perl_perlcritic_showrules = 0
Global Variables:

let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%s'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_linter_aliases = {}
let g:ale_linters = {}
let g:ale_open_list = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '>>'
let g:ale_sign_offset = 1000000
let g:ale_sign_warning = '--'
let g:ale_statusline_format = ['%d error(s)', '%d warning(s)', 'OK']
let g:ale_warn_about_trailing_whitespace = 1
Command History:

(finished - exit code 255) ['bash', '-c', 'perl -c -Mwarnings -Ilib ''/tmp/vdrcRBj/8/cdmn''']

<<>>
"-T" is on the #! line, it must also be used on the command line at /tmp/vdrcRBj/8/cdmn line 1.
<<>>

(finished - exit code 2) ['bash', '-c', '''perlcritic'' --verbose ''%l:%c %m\n'' --nocolor < ''/tmp/vdrcRBj/9/cdmn''']

<<>>
1659:9 Expression form of "eval"
1943:5 Expression form of "eval"
<<>>

bug

Most helpful comment

Just pulled the current master. Now it is working again. Thanks a lot! :)

All 2 comments

This bug was caused recently. I have fixed this and added a test for it.

Just pulled the current master. Now it is working again. Thanks a lot! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amerov picture amerov  路  4Comments

trevordmiller picture trevordmiller  路  3Comments

chauncey-garrett picture chauncey-garrett  路  3Comments

trevordmiller picture trevordmiller  路  4Comments

EdmundsEcho picture EdmundsEcho  路  3Comments