100 Commits
Author SHA1 Message Date
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
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