Commit Graph

31 Commits

Author SHA1 Message Date
w0rp 108e858d61
Update minimum supported NeoVim version to 0.6.0
Stop officially supporting NeoVim versions below 0.6.0, without
necessarily breaking ALE for people using older versions.
2023-09-07 20:01:31 +01:00
w0rp 14350dbb0d
Close #3368 - Supercharge :ALEInfo
Make a series of sweeping changes to make :ALEInfo more useful.

1. Deprecate :ALEInfoToClipboard and support :ALEInfo -clipboard
2. Permit :ALEInfo -clip as a shorthand for :ALEInfo -clipboard
3. Support :ALEInfo -preview to render in the preview window
4. Support :ALEInfo -echo for the classic :ALEInfo mode
5. Change the default mode to 'preview', and make it configurable
6. Add syntax highlighting for ALEInfo in preview mode
7. Add a convenience to look up documentatation that explains itself
8. Don't show an empty 'Linter Variables' section
2023-09-06 00:21:58 +01:00
Horacio Sanson cbf7045eee
Fix 4324 - add neovim 0.8 test (#4325)
* Fix 4324 - add neovim 0.8 test
* Update vim testbed image
* Update documentation

Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2022-11-25 12:55:31 +00:00
Horacio Sanson 4094426c70
Add vim 9.0 and remove 8.0 (#4271)
* Add vim 9.0 and remove 8.0

* Remove vim 8.2 and keep 8.0
2022-10-04 09:38:07 +09:00
Erik Westrup 992476982a
Put :ALEInfo in collapsible for bug reports (#4286)
To make the bug reports a bit more readable. See an example of usage
here: https://github.com/dense-analysis/ale/issues/4285
2022-08-18 06:51:01 +09:00
Horacio Sanson 16cca1413f
Update tests to use latest neovim 0.7 (#4180)
* Update tests to use latest neovim 0.7

* Update CI to use neovim 0.7

* Fix conflict
2022-06-29 13:17:00 +09:00
Horacio Sanson 0f55d371e9
Add neovim 0.6 to run-tests (#3998)
* Update test scripts
* Remove neovim 0.3 and 0.4
* Add neovim 0.6.1

Co-authored-by: Horacio Sanson <horacio@allm.inc>
Co-authored-by: w0rp <devw0rp@gmail.com>
2022-04-01 13:17:15 +01:00
Horacio Sanson 3ba40b4316
Add neovim 0.5 to list of test runtimes. (#3830)
* Add neovim 0.5 to list of test runtimes.

* Update testbed docker image

Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-08-05 08:41:34 +09:00
Linda_pp 45430eb07e
Use filter pattern instead of regex for tags filter in CI workflow (#3802)
since regex is not supported for filtering paths, tags and branches.

- Document: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
- Answer by GitHub staff: https://github.community/t/using-regex-for-filtering/16427/2
2021-07-04 21:11:38 +09:00
w0rp 35caaecc9f
Allow more time before PRs become stale 2021-03-20 22:35:43 +00:00
w0rp c00852e809
Disable blank issues and add a link to ask for help 2021-03-15 00:36:45 +00:00
w0rp 82c8e3a3a3
Remove last traces of Travis CI
* The build status badge is now for GitHub Actions.
* The documentation now mentions GitHub instead.
* Warnings in the YAML file have been fixed or ignored.
2021-01-27 20:11:46 +00:00
Horacio Sanson bafe1c0fd6
3560 add vim 8.2 and nvim 0.4 to ci tests (#3561)
* 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>
2021-01-27 19:52:24 +00:00
Horacio Sanson a1e6df987c
Fix 354 - Migrate CI from travis to Github Actions (#3549)
* Fix 354 - Migrate CI from travis to Github Actions
* Use matrix strategy for parallel tests
* Don't build image on each run
* Add push trigger on tags

Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-01-22 09:27:36 +00:00
w0rp cfda549056
Tell stale bot to wait longer before closing PRs 2020-08-17 10:20:41 +01:00
w0rp 34adb997c6
Configure the stale bot 2020-08-13 02:37:54 +01:00
w0rp 8012809c3f
Add default labels to issue templates 2020-02-22 10:26:03 +00:00
w0rp f23811770a
Add briefer help tags for ALE development documentation 2019-01-08 14:40:26 +00:00
w0rp f4af9157e1
Make the suggestion about asking for help friendlier 2018-12-04 19:07:55 +00:00
w0rp 0d14380d8a
Do not wrap bug report lines 2018-12-04 09:42:37 +00:00
w0rp f2b353fa09
Fix a mistake with a link 2018-12-04 09:33:24 +00:00
w0rp 9eda079e02
Typo 2018-12-03 20:30:24 +00:00
w0rp 146769c616
Tell people to ask for tech support outside of GitHub issues 2018-12-03 20:29:26 +00:00
w0rp f01611464a
Tell people to write tests even more 2018-10-31 10:04:25 +00:00
w0rp ab3646862c
Update the bug reporting template 2018-10-02 11:28:13 +01:00
w0rp 5960a9ae4b
Encourage people to write tests even more 2018-10-02 11:23:23 +01:00
Daniel M. Capella 3e8ae65278
contrib: Fix link to ale-development.txt 2018-08-01 18:13:07 +00:00
w0rp 8980591937
Move README.md back 2018-07-22 12:16:56 +01:00
w0rp 014c924630
Move GitHub files to the .github directory 2018-07-22 12:10:35 +01:00
w0rp ce7d648c7c Update issue templates 2018-07-01 20:50:50 +01:00
w0rp 8ac43b1936 Update issue templates 2018-07-01 20:50:29 +01:00