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
w0rp
680ba68d81
#3599 - Use ale_root instead of ale_lsp_root
...
The `ale_lsp_root` setting is now deprecated, and `ale_root` should be
used instead. The setting will be used for both setting the root easily
for LSP linters, and for running other linters over whole projects.
2021-03-01 20:51:29 +00:00
w0rp
9fe7b1fe6a
Close #2281 - Separate cwd commands from commands
...
Working directories are now set seperately from the commands so they
can later be swapped out when running linters over projects is
supported, and also better support filename mapping for running linters
on other machines in future.
2021-03-01 20:11:10 +00:00
w0rp
3b184f88d3
Bump the ALE version to v3.1.0
2021-02-11 19:47:29 +00:00
w0rp
1773a496ad
Clean up the hdl_checker test a bit better
2021-02-10 22:10:18 +00:00
w0rp
388cf33743
Fix #3579 - Escape cppcheck arguments for Windows
2021-02-06 20:13:28 +00:00
w0rp
8beb67b4d1
Fix tests for LSP suggestions
2021-02-06 18:55:21 +00:00
w0rp
99eb68e6ca
#3362 Disable LSP/tsserver hints/suggestions by default
2021-02-06 18:49:42 +00:00
w0rp
c747c277c2
#2547 Add a cfn-lint alias for cloudformation
2021-01-31 17:06:56 +00:00
w0rp
1457e54528
#3527 - Clarify that popup menus should only be used in GUI Vim
2021-01-31 16:29:22 +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
w0rp
8dce126a6c
Update the Docker image; fix an error
2021-01-14 20:24:19 +00:00
w0rp
681a6e371d
Use _config for LSP config options
2020-11-21 20:58:34 +00:00
w0rp
2e91f0e689
Use has('gui_running') instead of has('gui')
2020-11-21 20:16:32 +00:00
w0rp
a139599d39
Close #2727 - Add a hover-only setting for balloons
2020-11-21 20:12:09 +00:00
w0rp
06e7f2195e
Fix #3332 - Modify everything for rename/actions
...
ALE now just modifies every open buffer for rename and actions, and sets
up a one-time use BufEnter event to reload buffers that are changed so
you don't have to think about what to do with changed buffers.
2020-11-21 19:00:53 +00:00
w0rp
342e5af4e3
Add a missing blank line in documentation
2020-11-21 16:20:02 +00:00
w0rp
7c04ee5c20
Close #1466 - Add GVIM refactor menu support
...
Code actions and ALERename now appear in the right click context menu
for GVim by default.
2020-11-21 01:18:27 +00:00
w0rp
48fe0dd4f6
Update documentation for code actions and rename
2020-11-14 10:41:51 +00:00
w0rp
e9140c740b
cmp forwards, and reverse the code actions
2020-11-14 10:17:02 +00:00
w0rp
557a1ed5da
Make the two nearly identical Swift tools easier to distinguish
2020-10-15 22:02:27 +01:00