Commit Graph

4485 Commits

Author SHA1 Message Date
jiz4oh f04887740d
Fix mismatched type on compare g:ale_virtualtext_cursor (#4476) 2023-03-09 08:55:49 +00:00
Daniel Harding 007c5b1152
Clear virtualtext no matter how enabled (#4475)
When toggling ALE off, clear the virtualtext even when g:ale_virtualtext_cursor is 'all'.
2023-03-08 14:47:58 +00: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
Albert Peschar 6ae26df22b
Add deadnix linter (#4443) 2023-03-07 01:31:14 +00:00
Oskar Haarklou Veileborg c8e9146049
Fix #3616, #3903 - Use proper floating window borders in neovim (#4417)
* Fix #3616, #3903 - Use proper floating window borders in neovim

* Compatibility w. length 6/7 ale_floating_window_border values
2023-02-21 18:25:10 +09: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
Albert Peschar 9c45358aab
run-tests: download images only on x86-64 (#4421)
When running the tests on aarch64, the run-tests script tries to
download a pre-built image that is built for x86-64, and thus does not
run.

This change adds a check for the Docker daemon host platform and only
downloads the image if it will run.

Furthermore, the image dependency testbed/vim:24 is also built unless
the platform is x86_64, since it is also only provided for this
platform.
2023-02-13 03:53:15 +00:00
javad f78e9d634f
Add support for llvm-mc as an assembly linter (#4446) 2023-02-09 10:49:24 +09: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
Nathan Henrie e1ae009bac
Add alejandra for nix (#4435)
- Fixes https://github.com/dense-analysis/ale/issues/4434
2023-02-07 17:24:52 +09:00
Andreas Wachowski 45a3e3f574
Remove duplicated word in help g:ale_virtualtext_cursor (#4444) 2023-02-03 17:25:49 +00:00
vindex10 98f466f9ce
add eslint plugin html for linting js in html files (#4428)
* add eslint plugin html for linting js in html files

* fix linting
2023-02-02 14:13:52 +09:00
Albert Peschar 599f7b1eda
phpstan: set cwd to configuration file directory (#4422)
PHPStan will only detect a configuration file in the current working
directory, so set that to the directory in which ALE finds the
configuration file.
2023-02-02 14:09:11 +09:00
Ben Boeckel 116d713f63
diagnostics: support sending ALE output to Neovim's diagnostics API (#4345)
Support replacing ALE's display of problems with sending problems to the Neovim diagnostics API.

:help g:ale_use_neovim_diagnostics_api

Co-authored-by: David Balatero <dbalatero@users.noreply.github.com>
Co-authored-by: Georgi Angelchev <angelchev@live.co.uk>
Co-authored-by: w0rp <devw0rp@gmail.com>
2023-01-29 17:25:09 +00:00
Sean Enck 0af4899605
Add `gopls format` as a Go fixer 2023-01-28 00:20:29 -07:00
Horacio Sanson 65088b59b7
State ALE works with vim 8.0 and above (#4430) 2023-01-27 16:30:34 +00:00
Yining b6f6d84c25
add: pycln as a python linter and fixer (#4415)
this commit adds pycln as a Python linter and fixer, together with some
tests and documentation. It addresses #4340

pycln repo: https://github.com/hadialqattan/pycln
2023-01-27 10:24:18 +09:00
Actionless Loveless 26c79014f5
fix(ale_linters: python: ruff): add --stdin-filename if version > 0.0.69 (#4414) 2023-01-27 09:03:41 +09: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 5c703f4e4b
Update copyright to use company name and current year
I am the President and Treasurer of Dense Analysis, and through my sole authority I transfer the copyright of ALE to my own nonprofit organisation, so it can live on throughout history as a protected FOSS project after I am dead. Nuff said.
2023-01-03 14:12:36 +00:00
w0rp 4872ce2ab4
Add new demo video to README 2022-12-31 15:17:13 +00:00
Leon 1ee863002a
Fix #4408 - Trigger floating preview autocommand on BufWinLeave and WinScrolled (#4409) 2022-12-30 18:47:43 +00:00
Antonio Gurgel ef6715ee41
nix: durably handle versions before 2.4 (#4398)
What I should have done in 4394. Idea: @w0rp
2022-12-28 21:05:32 +09: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
Antonio Gurgel 4c5c47b593
nix: handle versions past 2.9 (#4394) 2022-12-25 19:02:01 +09: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
Yining 1e398202b9
fix: ruff not registered as fixer (#4393)
this commit fixes the issue reported at:
https://github.com/dense-analysis/ale/issues/4301#issuecomment-1359289391

it also had some code refactored and
tests added for ruff as fixer (missed in PR #4347).
2022-12-22 09:53:01 +09:00