100 Commits
Author SHA1 Message Date
w0rp 1c91102112 Bump the ALE version to 4.0.0
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-07-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
2025-03-14 11:58:10 +00:00
w0rp 8506d0d1ae Fix the ftplugin for ALEInfo in Vim 8.0
CI / build_image (push) Waiting to run
CI / test_ale (--linters-only) (push) Blocked by required conditions
CI / test_ale (--neovim-07-only) (push) Blocked by required conditions
CI / test_ale (--neovim-08-only) (push) Blocked by required conditions
CI / test_ale (--vim-80-only) (push) Blocked by required conditions
CI / test_ale (--vim-90-only) (push) Blocked by required conditions
2025-03-14 09:40:08 +00:00
w0rp 15bf26632c Close #4618 - Do not show info for the ALEInfo window 2025-03-14 09:19:41 +00:00
w0rp a49943aa62 Update GitHub Actions to test with Neovim 0.7 2025-03-11 13:06:21 +00:00
w0rp 564369db58 Update the minimum supported Neovim version to 0.7 2025-03-11 13:04:52 +00:00
w0rp 3220b94d20 Fix #4714 - Handle ruff garbage
When ruff outputs errors are invalid JSON text, handle that and stop ALE
from throwing exceptions.
2024-07-08 03:22:46 +01:00
w0rp c7c41e1574 Run actionlint by default on GitHub files
Detect paths containing .github as a directory for running actionlint
by default on YAML filetypes.
2024-06-02 19:07:06 +01:00
w0rpandHenrique Barcelos 53b01d6a54 Fix #4499 - Fix solhint >= 3.4.0
Fix solhint for versions >= 3.4.0, while still supporting older
versions.

The solhint linter code has been moved out of the `handlers` directory
as it does not need to be shared between different filetypes. Code has
been simplified.

Co-authored-by: Henrique Barcelos <16565602+hbarcelos@users.noreply.github.com>
2023-09-17 17:24:23 +01:00
w0rpandRodrigo Mesquita bd9fc580a1 Close #4541 - Fix Haskell project root detection
We weren't joining and returning paths correctly for detecting project
roots for Haskell projects, and now we are.

Co-authored-by: Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com>
2023-09-16 23:25:39 +01:00
w0rp dca621b675 Fix #4505 - Handle spaces in markdown fences 2023-09-16 23:04:46 +01:00
w0rp e412fa34ff Fix #3115 - Fix environment variable quoting on Windows 2023-09-16 22:33:59 +01:00
w0rp ae1d051504 #4454 Clean up more tests and code
* Remove some tests we no longer need
* Delete blocks of redundant code
* Compress some tests together to simplify them
* Remove a little code for ancient linter versions
* Escape more executables we didn't escape before
* Rename a deno option that didn't match our conventions
2023-09-16 22:23:30 +01:00
w0rp cf270a1ada Stop supporting ale_lsp_root
We renamed the ale_lsp_root setting to ale_root long ago. Stop
supporting the old setting name.
2023-09-16 17:17:42 +01:00
w0rp 1799f8bec6 Close #4458 - Add an ALEStopLSP command
Add an ALEStopLSP command to stop all language servers that match a
given name. Completions are available for the command. This makes it
possible to keep other language servers running other than the one
you're interested in stopping.
2023-09-16 17:03:02 +01:00
w0rp be69af2705 #4607 No conflicts with nvim-lspconfig by default
Default `g:ale_disable_lsp` to a new mode `'auto'` by default. With this
setting applied, ALE will now check for the presence of nvim-lspconfig
and automatically turn off particular LSP linters if already configured
via nvim-lspconfig.

For users that do not use `nvim-lspconfig`, everything should work as
before.
2023-09-14 00:40:56 +01:00
w0rp 1bf445c6d5 Print the most severe problem with virtualtext
Fix the ordering of virtualtext so we print the most severe problem on a
line. If two problems are the most severe, we will print the left-most
problem.
2023-09-10 17:44:25 +01:00
w0rp 385dc4130c Show a single virtualtext message by default
Show only a single virtualtext message per line by default. The setting
can be configured to whatever the user wants. This default prevents
several linters from spamming the editor with messages that run off into
the right margin.

Documentation now clarifies that problems have a predictable order, and
which message will come first.
2023-09-10 17:22:16 +01:00
w0rp 92267a14ba Remove backwards compatibility with ancient setting names 2023-09-09 23:13:44 +01:00
w0rp 7b56ddc3f6 Close #4481 Try .venv first, drop ve-py3
.venv was going to be the officially recommended default virtualenv
directory name in PEP 704, which was not accepted. Still, poetry uses
this name by default, as do other projects. We can deem it the first
name we should try to search for.

ve-py3 was a directory name I can't find mentions of online, and was
used in my own projects during the days of migrating from Python 2 to 3.
We can just drop it, and people can update their settings if they still
need it.
2023-09-09 22:57:01 +01:00
w0rp 65f0fd0d6a #4442 - Use the same default signs as Neovim diagnostics 2023-09-09 16:44:54 +01:00
w0rp a16f060481 Close #4442 - Use Neovim diagnostics by default
Use Neovim's diagnostics API by default in recent enough Neovim
versions. This will make problems found by ALE play nicely with problems
found by other tools.
2023-09-09 16:34:55 +01:00
w0rp 0a135456a6 Clean up documentation typos and formatting 2023-09-09 15:40:30 +01:00
w0rp d2c2bbf2dc Add --globals vim to luacheck automatically
luacheck will run with `--globals vim` automatically if the file is in
runtimepath and `--globals` hasn't already been configured.
2023-09-09 14:01:00 +01:00
w0rp 79a2dc2d8a #4442 Display error codes in Neovim diagnostics 2023-09-09 00:10:27 +01:00
w0rp e4411276a5 #4442 Configure signs in Neovim diagnostics
Respect ALE's options to enable/disable signs in Neovim diagnostics,
and use ALE's priority setting.
2023-09-08 23:54:16 +01:00
w0rp dadc778451 #4605 Use a single time for InsertLeave emulation
Use a single timer for InsertLeave emulation to optimise it for many
buffers, and specifically lint the buffer we entered insert mode on.
2023-09-08 18:51:04 +01:00
w0rp dd3abf1ad9 Close #4605 - Emulate InsertLeave mode
Use a repeating timer to emulate InsertLeave mode for users who have not
rebound <C-c> to <Esc>, like many experienced Vim users do. This allows
ALE to start linting when you finish typing by default without having
to know about this quirk in Vim or Neovim.
2023-09-08 18:42:45 +01:00
w0rp bf55175b69 #4454 Clean up root test directory tests
Combine cases into smaller tests of tests and remove tests we no longer
need. Linter tests have been moved to where they should be.
2023-09-08 01:00:35 +01:00
w0rp e5816964d1 Give up on Windows tests again for now
Add directories and files to AppVeyor to make it skip running if it
doesn't need to run.
2023-09-07 21:20:58 +01:00
w0rp 89428cb957 Try windows-2019, as windows-latest is slow as Hell 2023-09-07 21:06:44 +01:00
w0rp 0d07f4dba6 Try to fix building Vader again 2023-09-07 20:57:13 +01:00
w0rp bf8e7f6368 Stop redirecting error streams for Vader build 2023-09-07 20:54:35 +01:00
w0rp 752acbe79b Try http:// for downloading Vim 2023-09-07 20:52:42 +01:00
w0rp 9713faf192 Attempt running Windows rests relative to GitHub dir 2023-09-07 20:47:20 +01:00
w0rp d52c3db238 Try to fix GitHub Actions 2023-09-07 20:38:32 +01:00
w0rp 99a33d8d3f Try to test ALE on Windows in GitHub 2023-09-07 20:29:35 +01:00
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
w0rp 551fbcfb09 Add an option to save hidden buffers
When commands are run, it can be useful to just save the hidden buffers
so language servers immediately get updated with changes to files
without you having to manually save each file. You can now enable this
by setting `g:ale_save_hidden` to `1`.
2023-09-06 00:17:27 +01:00
w0rp 8ba7ae818c Close #4461 - Use rust-analyzer by default
Use rust-analyzer by default instead of rls, as rls has been deprecated.
2023-09-05 21:45:34 +01:00
w0rp 16f5a1915b Fix a typo in the README 2023-03-07 03:54:48 +00:00
w0rp aca71daa2e Close #4441 - Update FAQ and add "Why ALE?" 2023-03-07 03:50:18 +00:00
w0rp 39c76cf6af Fix vim-plug and Vundle headings 2023-03-07 02:39:57 +00:00
w0rp d5a3da19d4 Fix installation text 2023-03-07 02:39:19 +00:00
w0rp 40c1b17e2f Remove Table of Contents and simplify installation section 2023-03-07 02:38:03 +00:00
w0rp 96f0bf7172 Fix windows virtualenv PATH tests 2023-03-07 02:11:43 +00:00
w0rp bb691d6dee #2172 - Expand PATH in the shell for automatic virtualenv 2023-03-07 01:59:11 +00:00
w0rp c3f9bccb8c Ignore shellcheck error in run-vader-tests 2023-02-13 04:43:45 +00:00
w0rp ab7757b532 Clean up run-tests syntax 2023-02-13 04:24:54 +00:00
w0rp ae2d47ba83 Attempt to fix auto virtualenv on Windows 2023-02-08 09:44:25 +00:00
w0rp 2a24b4e0d1 Fix CI BS 2023-02-08 09:25:15 +00:00
w0rp 4c162877e2 #2172 Auto PATH with ale_python_auto_virtualenv
Automatically set `PATH` for some Python linters that seem to need it
when g:ale_python_auto_virtualenv or b:ale_python_auto_virtualenv is
`1`.
2023-02-08 09:11:31 +00:00
w0rp 6ff1f0b200 Close #4389 - Run pyright via poetry, pipenv, venv
Add support for automatically detecting and running Pyright via poetry,
pipenv, and virtualenv directories just like we do with flake8.
2023-02-08 08:24:16 +00:00
w0rp f2a21c960a Add support for lua-language-server 2023-02-08 01:14:47 +00:00
w0rp da5fa17df1 Fix broken tag references and the broken script to check them 2023-02-07 18:41:13 +00:00
w0rp 69c1dc8b5f Fix #4413 - Avoid errors for invalid buffers in ale#virtualtext#Clear 2023-01-06 19:02:35 +00:00
w0rp 0f51c3b01b Fix #4410 - Ignore prop_add errors 2023-01-04 15:13:21 +00:00
w0rp 457e0a50f1 Fix #4331 - Shift line 0 errors to line 1 for virtual-text 2022-12-27 23:40:49 +00:00
w0rp a18472cc58 Close #4401 - Use subtle defaults for virtual-text
Default virtual-text to the Comment highlight group and prefix
virtual-text messages with comment text for each language by default.

Messages can now be formatted with `%type%` to print the error type.

The Vim 9.0 version has been updated in the Docker image to add test
coverage for virtual-text.
2022-12-27 23:11:53 +00:00
w0rp 98b2ef438e #4400 - Remove virtual-text defaults from highlight.vim 2022-12-27 16:24:10 +00:00
w0rp fe61e00040 Fix #4400 - Separate virtual text highlight groups to avoid errors 2022-12-27 15:36:35 +00:00
w0rp 3cb4f33a9a Fix #4399 - Manage virtual-text state better 2022-12-26 15:56:34 +00:00
w0rp 31010ad1d1 Update ALE to v3.3.0 2022-12-25 20:30:21 +00:00
w0rp 9f2a000237 Close #4396 - Enable virtualtext by default
Wherever it's supported, enable virtualtext by default.
2022-12-25 20:18:47 +00:00
w0rp 300ea232de Close #4397 - Add human-readable values for g:ale_virtualtext_cursor 2022-12-25 19:29:16 +00:00
w0rp 522b5d0433 Fix markdownlint documentation 2022-12-25 15:47:30 +00:00
w0rp 2ae04b310a Enable ruff for Python by default 2022-12-25 15:13:10 +00:00
w0rp 87b4ab4e20 Document how to create ALE releases 2022-12-24 22:16:36 +00:00
w0rp bc95701575 Fix #4388: Fix pylsp and Pyright cwd
Add functions to compute the cwd to be the same as the project root for
pylsp and Pyright to work around issues in each language server when
they encounter modules that share the same name as first or third party
libraries.
2022-12-24 13:37:57 +00:00
w0rp 46e77fad77 Remove a flaky smoke test we no longer need 2022-11-25 12:58:14 +00:00
w0rp f10349b48b Replace gitter badge with Discord 2022-06-08 15:26:25 +01:00
w0rp 9e1089c38d Recommend Discord instead of IRC, actually 2022-06-08 15:22:21 +01:00
w0rp 044a6c956b Close #4201 - Run vimls from Vader by default 2022-05-13 18:00:19 +01:00
w0rp e3e940a7fe Update Vim versions mentioned in ale-development.txt 2022-05-13 17:47:15 +01:00
w0rp d3df00b898 Fix test for echoing messages
The previous linter rule about stray echo lines has been restored, and
now all problems for custom linting rules can be ignored by adding a
comment above problem lines.
2022-04-01 14:35:07 +01:00
w0rp 560e6340ce Bump ALE to v3.2.0 2022-03-05 01:24:43 +00:00
w0rp e5492e124d Document default linter selections again 2022-03-05 00:43:56 +00:00
w0rp 87ade74b4d Fix an argument name 2022-03-04 19:51:24 +00:00
w0rp b42153eb17 Fix #4098 - Clear LSP data when servers crash 2022-03-02 16:51:50 +00:00
w0rp 3e1a98ff67 #3495 Mention that ShowResults() must not be called synchronously 2022-03-01 13:48:16 +00:00
w0rp 11a90ad0ff Fix execution of the Angular language server for HTML files 2022-01-05 11:34:30 +00:00
w0rp 7862633d9d When repeating selections, jump to the last selected item 2021-06-29 11:53:11 +01:00
w0rp a566a5d01b #3719 - Prevent redir being used again in future 2021-06-19 12:01:33 +01:00
w0rp 2c8a857262 Move a test file to match the newer location 2021-06-19 11:00:26 +01:00
w0rp e78519683e Close #3433 - Only use noselect if set for automatic completion 2021-06-19 10:57:34 +01:00
w0rp 84a4a76aaf Close #3770 - Add support for checking circleci configs 2021-06-19 10:34:57 +01:00
w0rp 1b08791228 Make staticcheck configurable with GOPATH detection 2021-05-27 22:03:46 +01:00
w0rp f53431331e Enable gopls by default with GOPATH detection 2021-05-26 22:43:33 +01:00
w0rp bee8eccb42 Fix a bug when code actions have no changes 2021-05-04 08:44:33 +01:00
w0rp f7852dbd0a #3633 - Move linter tests into test/linter 2021-03-21 00:25:33 +00:00
w0rp 35caaecc9f Allow more time before PRs become stale 2021-03-20 22:35:43 +00:00
w0rp b1d833417b #3633 - Put all dummy test files in test/test-files 2021-03-20 22:11:42 +00:00
w0rp 3838ae118d Add desktop-file-validate 2021-03-19 22:29:06 +00:00
w0rp 8319e0f8c7 Fix a typo in a test filename 2021-03-19 21:55:15 +00:00
w0rp dc40ece3c3 #3632 Add ale#util#MapMatches 2021-03-15 22:30:22 +00:00
w0rp bd808dca30 Fix ale#path#Dirname on Windows 2021-03-15 21:30:13 +00:00
w0rp c00852e809 Disable blank issues and add a link to ask for help 2021-03-15 00:36:45 +00:00
w0rp f43e4abc88 Check user systemd unit files with systemd-analyze 2021-03-14 23:34:38 +00:00
w0rp b45ee8ec6c Close #2102 - Add support for the Angular language server 2021-03-14 21:10:20 +00:00
w0rp 826878c41e Update documentation for floating window borders 2021-03-01 21:38:14 +00:00