Commit Graph
100 Commits
Author SHA1 Message Date
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
w0rp 477eb89793 #3332 Implement :ALERename! for ignoring errors
:ALERename! now ignores errors for files that cannot be modified, and
modifies all other files.
2020-10-15 21:56:21 +01:00
w0rp f384d61c3d Fix sorting of supported tools 2020-10-15 21:24:27 +01:00
w0rp 08295ce174 Bump the ALE version to 3.0.0 2020-09-09 22:06:38 +01:00
w0rpandOliver Wiegers 4ddf742643 Close #2522 - Check pylint on the fly
Newer versions of pylint will now check your code as you type. Older
versions will still only check the file on disk.

Co-authored-by: Oliver Wiegers <oliver.wiegers@gmail.com>
2020-09-09 21:45:15 +01:00
w0rp 78fa93bd55 Add tests for covering the coming Vint version 2020-09-09 20:34:27 +01:00
w0rp 6a367e44aa Close #3003 - Show ignored linters in :ALEInfo 2020-09-08 22:19:13 +01:00
w0rp 7d90ff56d9 Close #3333 - Add an ALECompletePost event
Add an `ALECompletePost` event along with everything needed to make it
useful for its primary purpose: fixing code after inserting completions.

* `ALEFix` can now be called with a bang (`!`) to suppress errors.
* A new `ALELintStop` command lets you stop linting, and start it later.
2020-09-08 21:40:10 +01:00
w0rp b4b75126f9 Fix a completion error 2020-09-07 10:01:18 +01:00
w0rp c36053d4cc Close #3268 - Implement :ALEImport
A new command, `:ALEImport`, has been added, which lets you import words
at your cursor if a completion provider can provide a completion for
that word which includes some additional text changes.
2020-09-06 22:37:37 +01:00
w0rp 5bc49d2047 Fix #3183 - Escape filename characters from LSP/tsserver 2020-09-05 21:46:39 +01:00
w0rp 152b2cb691 Clean up embertemplatelint code
Alias ember-template-lint to embertemplatelint so users can use either
string to enable the linter.
2020-09-05 19:06:07 +01:00
w0rp 844febb9fb Fix #3322 - Apply rename changes correctly 2020-09-04 09:37:33 +01:00
w0rp ac2100d410 Fix flake8 cd logic for invalid options 2020-08-31 09:12:36 +01:00
w0rp cdaeca452e Add tests for \r removal 2020-08-31 09:01:44 +01:00
w0rp 33202a39f5 #2107 - Recommend <C-c> instead, which avoids autocmd functions 2020-08-29 20:45:45 +01:00
w0rp 303bed6ec1 #2107 - Document completion fallbacks and insert-completion trick 2020-08-29 20:40:50 +01:00
w0rp 25b572b3bf Close #3205 - Avoid inserting completions by default 2020-08-29 17:36:25 +01:00
w0rp 6e2e51b154 Fix #2971 - Disable automatic completion while 'paste' is active 2020-08-29 17:27:53 +01:00
w0rp 6888ca46a7 Fix retrying on some test failures 2020-08-29 16:32:17 +01:00
w0rp f1ecc2e068 Fix psalm options. Retry on some test failures 2020-08-29 16:31:47 +01:00
w0rp 7e0cdb53ec Fix #3247 - Use --always-make for make -n by default 2020-08-29 16:05:49 +01:00
w0rp bc3a843e10 Add a missing augroup END line 2020-08-29 14:23:58 +01:00
w0rp 06264c264f typo 2020-08-29 12:35:40 +01:00
w0rp dd9ad9b5be #3319 - Try to modify buffers later for ALEFix 2020-08-29 12:33:17 +01:00
w0rp 7d4ce4e6aa Close #3325 - Apply new formatting where possible 2020-08-28 19:50:36 +01:00
w0rp 3d5a2690ce #3325 - ale#path#BufferCdString now generates %s:h 2020-08-28 17:46:43 +01:00
w0rp 34e409ea21 Close #3285 - lint_file is now dynamic
`lint_file` can now be computed dynamically with a callback function,
which can return a deferred result, as per `ale#command#Run`. This
allows linters to dynamically switch between checking files on disk,
or checking code on the fly.

Some tests have been fixed on Windows.
2020-08-28 14:02:05 +01:00
w0rp b8c0ac2e61 Close #3309 - Add b:ale_lint_delay 2020-08-28 09:54:43 +01:00
w0rp 6874120405 Fix #3323 - Set default for g:ale_filename_mappings 2020-08-28 09:33:09 +01:00
w0rp 36e959a466 Add sql-lint to supported tools 2020-08-28 09:25:40 +01:00
w0rp 369e3876f0 #3324 - Enable rls by default 2020-08-28 08:23:10 +01:00
w0rp ecd7abecc0 Fix #3319 - Force modifications to buffers 2020-08-27 21:29:13 +01:00
w0rp 7545b18ba1 Fix #3318 - Escape macros when parsing C flags 2020-08-27 21:17:24 +01:00
w0rp 6d843715f3 Fix C flag parsing and tests on Windows 2020-08-27 20:18:13 +01:00
w0rp 6074720dc2 Mention --fast, and document running Windows tests locally 2020-08-27 19:39:16 +01:00
w0rp af177d7825 #3318 Refactor C flag parsing to set up for quoting arguments 2020-08-27 19:33:43 +01:00
w0rp 719f3c62b0 #3266 - Catch echo visual selection errors 2020-08-27 13:57:20 +01:00
w0rp 571cff932d Label the test cases more clearly 2020-08-27 13:15:04 +01:00
w0rp 17605777d6 Fix #3317 - Parse -include from C flags 2020-08-27 13:05:50 +01:00
w0rp 66ff00c420 Fix #3316 - Repeat -relative for ALERepeatSelection 2020-08-27 12:41:07 +01:00
w0rp f5aa0e8457 Fix #3307 - Handle compile_commands paths better
ALE now converts paths from compile_commands.json files into absolute
paths and prefers matching against absolute file and directory names for
determining which flags to use for files. As a result, parsing
compile_commands.json to determine flags should work for a lot more C
and C++ projects.
2020-08-27 11:44:35 +01:00
w0rp 686f42a2e1 Fix a typo 2020-08-27 09:18:10 +01:00
w0rp c9377e9baf #3314 - Tell people how to make new plug mappings 2020-08-27 09:17:14 +01:00
w0rp a955f5dfa8 #3312 - Just check if additionalTextEdits is non-empty 2020-08-27 08:57:12 +01:00
w0rp 396fba7cca Fix #3312 - Fix a false positive for auto imports
ALE was incorrectly detecting completion results from servers such as
rust-analyzer as wanting to add import lines when additionalTextEdits
was present, but empty.

Now ALE only filters out completion results if the autoimport setting is
off, and one of the additionalTextEdits starts on some line other than
the current line. If any additionalTextEdits happen to be identical to
the change from completion anyway, ALE will skip them.
2020-08-27 08:44:43 +01:00
w0rp 3e2abe3f25 #2556 - Support modifiers for formatted filenames 2020-08-24 09:33:07 +01:00
w0rp 33eb03ea71 Yes, try again to fix Windows tests 2020-08-23 20:19:22 +01:00
w0rp d4583f1a63 Try to fix Windows tests again 2020-08-23 20:14:08 +01:00
w0rp c0566db1d2 Try to fix Windows tests 2020-08-23 20:05:09 +01:00
w0rp ba3dd0d027 Close #2556 - Support filename mapping
ALE now supports mapping files between different systems for running
linters and fixers with Docker, in virtual machines, in servers, etc.
2020-08-23 19:55:42 +01:00
w0rp 2b785688ea #3299 Merge gcc and clang into a cc linter
Users can easily be confused when they set some options for a C or C++
compiler, and another compiler is run with different options, which
still reports errors. To remedy this, the existing `gcc` and `clang`
linters have been replaced with a `cc` linter that will run either
compiler.

This is a breaking change for ALE v3.0.0.
2020-08-20 01:49:14 +01:00
w0rp 90abb7e7ef Try to fix Windows tests again 2020-08-19 01:22:43 +01:00
w0rp de7b0567b1 Try to fix tests on Windows 2020-08-19 01:10:33 +01:00
w0rp 361027eac6 Fix #3200 - Do not use -fstack-usage from parsed flags 2020-08-19 01:04:08 +01:00
w0rp 794224aafa #3056 Add tests for parsed C/C++ -std flag handling 2020-08-19 00:47:39 +01:00
w0rp 5eda1df0a9 Remove features deprecated in previous versions 2020-08-18 23:03:43 +01:00
w0rp 4df352eee5 Fix #3294 - Fix hover off by 1, handle LSP server crashes 2020-08-18 01:48:07 +01:00
w0rp cfda549056 Tell stale bot to wait longer before closing PRs 2020-08-17 10:20:41 +01:00
w0rp 5c778e1ae7 Make it easier to run tests locally
Certain tests could break if you ran them separately from other tests.
They have been patched.

`run-tests` now has a `--fast` option which runs tests with only the
fastest Vim version ALE tests with, and the custom checks.
2020-08-16 21:20:08 +01:00
w0rp 5a4fad6172 Fix #2899 - Handle tsserver default import completion 2020-08-14 01:55:54 +01:00
w0rp 979062235a Fix #3286 - Fix duplicate tags 2020-08-13 13:44:22 +01:00
w0rp 34adb997c6 Configure the stale bot 2020-08-13 02:37:54 +01:00
w0rp 64d4c951ae Fix #3281 - Stop CursorHold flickering 2020-08-13 02:22:21 +01:00
w0rp 7c4b1d8444 Close #3274 - Handle basic LSP markdown formatting 2020-08-12 22:11:45 +01:00
w0rp d3f410b6f7 Fix #1608 - Treat .h as C++ files for C++ clang-tidy 2020-08-10 02:33:50 +01:00
w0rp 2237f9b462 #2919 Use compile_commands.json for headers 2020-08-10 02:14:23 +01:00
w0rp 05210846e4 Fix #3278 - Handle UTF-8 in URI encoding/decoding 2020-08-10 02:03:41 +01:00
w0rp bf3c3e9438 #3276 - Update README for make -n changes 2020-08-09 20:13:21 +01:00
w0rp 9e1f511003 #3276 - Disable make -n by default again 2020-08-09 20:08:42 +01:00
w0rp affeed7a87 Enable C flag parsing by default
The options for parsing `make -n` and `compile_commands.json` flags
are now enabled by default, so people can start getting better flags
for their files by default.

`compile_commands.json` flags are now preferred over `make -n` results,
to make the options work better by default.
2020-08-09 04:23:32 +01:00
w0rp 681ca5fee8 Explain how to use ALE and coc.nvim together 2020-08-09 03:18:21 +01:00
w0rp 2ed09f51b6 Move :ALEInfo higher up in the FAQ 2020-08-09 02:50:25 +01:00
w0rp 6d502233d8 Close #3267 - Add a general autoimport setting 2020-08-09 02:32:47 +01:00
w0rp f741245f11 Fix #3273 - Handle missing keys in hover information 2020-08-07 12:34:45 +01:00
w0rp 388049dbea Try to fix gopls tests again 2020-08-07 12:30:50 +01:00
w0rp 96d525a287 Try to fix gopls tests 2020-08-07 12:27:26 +01:00
w0rp b9a1c0e6d3 Fix order of supported-tools for pyright 2020-08-07 12:24:59 +01:00
w0rp 97d887ae22 It's the Current Year 2020-08-07 12:22:25 +01:00
w0rp 7cefc80f1b Fix a failing test 2020-08-07 12:21:22 +01:00
w0rp 19229e8e27 Close #2472 - Add support for pyright 2020-08-07 12:16:13 +01:00
w0rp 9bdabce8df Fix #2907 - Handle dictionaries for capabilities 2020-08-07 10:54:38 +01:00
w0rp 4044196047 #2804 Add hdl-checker to supported tools 2020-08-06 13:24:20 +01:00
w0rp cdd8d38e2f Fix #3266 Part 2: Fix Harder 2020-08-06 09:36:00 +01:00
w0rp fa3a927ca3 Fix #3266 - Truncate hover messages for LSP too 2020-08-05 13:46:08 +01:00
w0rp 86d5cb81bd Use more American English 2020-08-04 20:11:49 +01:00
w0rp acf892c4d1 #1532 - Display hover information on CursorHold 2020-08-04 20:11:49 +01:00
w0rp 1428c7b29e Update the internal ALE version to 2.7.0 2020-06-11 19:21:17 +01:00
w0rp 1f9ac1c6dc Fix the cursor tests, that stop tests running 2020-04-18 12:26:38 +01:00
w0rp 82f734a7c2 Closes #3019 - Implement default navigation
Default navigation for commands that jump to new locations has been
implemented with the `ale_default_navigation` variable, and all commands
that jump to locations now support `-tab`, `-split`, or `-vsplit`
arguments for overriding the default navigation behavior.
2020-04-15 16:50:13 +01:00
w0rp bbe5153fcb Fixes #2982 - Implement g:ale_exclude_highlights
Particular highlights can now be excluded by providing Lists of regular
expressions.
2020-03-11 12:52:41 -04:00