summaryrefslogtreecommitdiff
path: root/autoload/ale/list.vim
AgeCommit message (Collapse)Author
2022-02-08Treat ale_open_list integer values as thresholdsfeature/open_list_numcos
Only open list window if the number of warnings or errors equals to or exceeds the value of ale_open_list. No change when set to `1`.
2022-02-04Add ALEPopulateQuickfix and ALEPopulateLocList (#3761)David Briscoe
Closes #1810 Add ALEPopulateQuickfix and ALEPopulateLocList. They're not very useful with ale's default auto-populate behaviour, so their useful configuration is described in help.
2021-07-03Deduplicate items in location list (#3792)Gregory Anders
2021-01-273560 add vim 8.2 and nvim 0.4 to ci tests (#3561)Horacio Sanson
* Add vim82 and neovim04 to CI tests. * Fix test_sign_column_hightlighting test. In vim82 with verbose=1 the output of highlight command changes breaking the ale#sign#SetUpDefaultColumnWithoutErrorsHighlight(). This commit forces verbose=0 when the method starts and restores the previous value before exiting. * No return values in vim82 returns a numeric value instead of a empty string. * Fix test_reek_handler test The FuzzyJSONDecode() method catches E474 when it fails to parse the input as JSON but Vim8.2 throws E491 instead. This commit modifies the function to catch both E474 or E491. * Fix perl6 handler test. Perl6 handler catches json parse errors using the E474 error but in Vim82 it changed to E491. This commit modifies the handler so both errors are considered. * Fix list opening tests. In Vim 8.2 the call `range(1, bufnr('$'))` always returns quickfix buffers no matter if they are closed or not. Using `ls` does not show them but the above range will always include them. This new behavior breaks the ale#list#IsQuickfixOpen() method that in turn breaks many other things. This commit fixes this by using the getqflist() and getloclist() methods instead. * Fix test updates loclist test. For some reason in Vim 8.2 the sign offset seems to not reset between tests causing the sign_id to not match in the Assert. When the test is run individually it passes but when run as part of the whole suite the sign_id is off by one. Forcing the offset in the test setup seems to fix the issue. * Fix omnifunc completion test. For unknown reasons the SetCompletionResponse tests fail in Neovim 0.2 and 0.4. Unfortunatelly the only solution I found is to disable them for neovim. * Fix linter warnings * Fix smoker test. Add vim 8.2 to the list of versions that need some retires due to randomly failing tests. * Add docker image build job. Trying some clever trick to build the docker image if not available locally or in Docker hub. It uses the Dockerfile md5 checksum as tag so only when changes on that file occur will the image be downloaded or build. * Add labels to Docker image * Remove tests for middle versions 8.1 and 0.3.5 * Use same vader commit as appveyor * Implement image push to Docker Hub Co-authored-by: Horacio Sanson <horacio@allm.inc>
2019-08-17 Keep cursor position on screen when opening/closing lists (#2632)Andre Souto
* Trying to keep win view from bouncing * Adjusting when views are saved and restored * Also restore view when closing quickfix * Don't restore view when opening list vertically
2019-07-02Fix incorrect re-selection (#2630)Pete Beardmore
ALE now only resets selections when needed, to prevent side effects.
2019-06-08Merge pull request #2253 from jj-kim/masterw0rp
Improve location list behavior on split windows of same buffer.
2019-03-16Fix #2368 - Open vertical list to the rightAndrew Crites
This was normal behavior before, and it also stops ale from stealing focus.
2019-01-16Improve location list behavior on split windows of same buffer.Jason Kim
2018-09-04Improve ALE project style checkingw0rp
* The project style linter now runs while you type. * Now the scripts for checking the project require blank lines. * Many style issues have been found and fixed.
2018-05-28#1524 - Define global variables where they are neededw0rp
2018-03-02Option to open lists vertically (#1381)Andrew Crites
* 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
2017-11-19Make the message formats configurable with buffer local variablesw0rp
2017-11-14Fix #1069 Support formatting the loclist messages with g:ale_loclist_msg_formatw0rp
2017-09-10Fix #920 - Shut up about E776w0rp
2017-09-08Fix #912 - Close lists automatically when g:ale_open_list is set to ↵w0rp
'on_save' again
2017-09-03Fix #899 - Make the quickfix and loclist windows close againw0rp
2017-08-22#653 - Always set loclist or quickfix in a timer callback, which prevents ↵w0rp
errors E924, E925, and E926
2017-08-19#653 Set problems from other buffers when buffers are first checkedw0rp
2017-08-19#653 Collect items for quickfix from all buffers, and de-duplicate them. Set ↵w0rp
filename items in quickfix and loclist.
2017-08-11Ban !=# and !=? from the codebasew0rp
2017-08-08Simplify some comparisonsw0rp
2017-08-08Ban use of ==# or ==? in the codebase, and prefer is# or is? insteadw0rp
2017-08-08Fix #833 - Do not open windows on save when the option is offw0rp
2017-08-08Fix #271 - Add the ability to open the quickfix or loclist windows only ↵w0rp
after saving a file
2017-08-07Fix the resetting of selections and annotate itw0rp
2017-08-07added missing visual reselection after quick/location list update (#788)Adrian Kocis
Reset visual selection after opening loclist or quickfix windows
2017-07-24Fix #796 - Ignore errors for closing the last windoww0rp
2017-06-08Experimental code for showing results as soon as each linter completesw0rp
2017-06-06Fix #461 - Allow multiple loclist windows to be opened, and replace some ↵w0rp
split windows
2017-06-01Fix #499 Set an explicit height for the quickfix list, and make the height ↵w0rp
configurable
2017-05-31Set qflist/loclist window title properly ... (#588)cs86661
* Update list.vim Set qflist/loclist window title properly ... * Update list.vim 1. Remove redundant code. 2. Get absolute path from 'a:buffer'. * Set the list window titles appropriately for each version of Vim, and add tests
2017-03-24Fix #272 by checking if quickfix is open before reopening to avoid ↵Lucas Kolstad
triggering a BufEnter event that causes quickly repeating linting runs when g:ale_lint_on_enter = 1. Add test assertions that quickfix window closes when lists become empty again.
2017-03-13#394 Attempt to fix running linters when bufwinid() doesn't existw0rp
2017-03-09#376 Use the window ID for a given buffer for setting the loclistw0rp
2017-01-22Add a script for custom checks to enforce using the abort flag for functions ↵w0rp
and trailing whitespace, and fix existing issues.
2017-01-22Add option to open loclist/quicklist when there are errors (#266)yfery
* Add option to open loclist/quicklist when there are errors I copied PR #137, and tries to complete it by correcting some issues and adding vader tests. About tests, first time with vader, can you give some feedback if there are what you expected in PR #137. * Remove old code + fix indent issue * add g:ale_keep_list_window_open option * Correct bug with keep open option * Add comment into vader file * Fix errors for Travis CI build