Commit Graph
100 Commits
Author SHA1 Message Date
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
w0rp 634c81fd46 Mention using 'hidden' in combination with ALEGoToDefinition 2020-02-25 13:50:44 +00:00
w0rp 8012809c3f Add default labels to issue templates 2020-02-22 10:26:03 +00:00
w0rp 57eba1afac Fix the build 2020-01-02 14:23:28 +00:00
w0rp 8c4c8dfd97 Fix #2704 - Show mypy notes; can be disabled 2020-01-02 14:19:21 +00:00
w0rp 874c98b96d Make it more obvious you can use popup in completeopt now 2020-01-01 18:49:01 +00:00
w0rp 8148a67b37 Documented g:ale_hover_to_preview 2020-01-01 18:25:04 +00:00
w0rp 5f84325cd8 Add a Help Wanted message in case people are interested 2019-12-03 11:47:26 +00:00
w0rp 9005a62dc2 Clean up the nimpretty code 2019-11-14 14:50:21 +00:00
w0rp a273b9cf4a Fix a test failing in AppVeyor 2019-11-07 15:52:03 +00:00
w0rp bde9b1cfcd Revert "Add definition of c/clangd's language as C (#2791)"
This reverts commit f4070f6c43.
2019-11-07 15:41:58 +00:00
w0rp 9a0b604a99 Fix the test issues with html-beautify 2019-10-28 13:45:25 +00:00
w0rp 67d0ccc398 Fix #2835 - Bump up the sign group version check for NeoVim 2019-10-21 09:35:23 +01:00
w0rp c06467438d Mention the disabled option for message severity 2019-10-18 16:22:17 +01:00
w0rp dfe9b7cc26 Merge remote-tracking branch 'murfalo/clangd-compile-commands' 2019-10-17 17:54:02 +01:00
w0rp b24fd13423 Bump the ALE version 2019-10-16 17:23:31 +01:00
w0rp 3fe2223a48 Fix #2800 - Ignore completion user data which is not a dictionary 2019-10-09 10:12:31 +01:00
w0rp e8de12c9f0 Fix #2821 - Fix the debride linter after merging older code 2019-10-09 09:53:50 +01:00
w0rp 6d88801789 Clarify that virtualtext is only in NeoVim 2019-10-07 20:03:59 +01:00
w0rp 6ab264ff0f Close #2641 - Document how to add your own LSP linters 2019-09-20 20:38:37 +01:00