summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-03-11Fixes #2982 - Implement g:ale_exclude_highlightsw0rp
Particular highlights can now be excluded by providing Lists of regular expressions.
2020-01-02Mypy: try to find folder containing mypy.ini to use as cwd. (#2385)Harry Percival
* When deciding which directory to run mypy from, prefer a folder with mypy.ini in it * Add a test for mypy.ini-finding behaviour
2020-01-02Fix the buildw0rp
2020-01-02Fix #2704 - Show mypy notes; can be disabledw0rp
2020-01-01Add TypeScript autoimport support for deoplete (#2779)Jerko Steiner
* Add autoimport support for deoplete * Fix test_deoplete_source.py * Use callback instead of is_async for deoplete Shuogo, the author of Deoplete, does not recommend using the `is_async` option: > I think is_async is not recommended. It is not so useful and broken. > You should use callback system instead. Link: https://github.com/Shougo/deoplete.nvim/issues/1006#issuecomment-526797857 Incidentally, the same thread mentiones an issue started by w0rp: https://github.com/Shougo/deoplete.nvim/issues/976 The deoplete docs also say is_async is deprecated: > is_async (Bool) > If the gather is asynchronous, the source must set > it to "True". A typical strategy for an asynchronous > gather_candidates method to use this flag is to > set is_async flag to True while results are being > produced in the background (optionally, returning them > as they become ready). Once background processing > has completed, is_async flag should be set to False > indicating that this is the last portion of the > candidates. > > Note: The feature is deprecated and not recommended. > You should use callback system by > |deoplete#auto_complete()| instead. Link: https://github.com/Shougo/deoplete.nvim/blob/master/doc/deoplete.txt Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2019-12-17Run ESLint from project root dir where possibleKevin Locke
ESLint 6 loads all plugins/configs/parsers relative to the project root which, by default, is the directory in which ESLint is invoked, as described in [ESLint RFC 2018-simplified-package-loading]. Therefore, ALE should run ESLint from the project root, when possible, so that dependencies will load. This commit does so. [ESLint RFC 2018-simplified-package-loading]: https://github.com/eslint/rfcs/blob/master/designs/2018-simplified-package-loading/README.md Fixes: #2787 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-11-26Fix 2891 - eslint not showing errors.Horacio Sanson
ESLint errors are contained in an array that can contain different stuff other than JSON error messages. This patch iterates over the whole array ignoring any non-json data.
2019-11-15Merge pull request #2847 from DonnieWest/allowUserToCustomizeItemsw0rp
Allow user to customize items
2019-11-14Clean up the nimpretty codew0rp
2019-11-14Merge pull request #2660 from YPCrumble/masterw0rp
Add StandardJS linter for TypeScript
2019-11-09add nimpretty fixerBùi Thành Nhân
2019-11-08Fix typoDonnie West
2019-11-08Allow the user to set their own completion valuesDonnie West
2019-11-07Switch from style to transformers (#2838)Thibault Vatter
* Switch to transformers for styler * Adapt unit test too
2019-11-07Fix a test failing in AppVeyorw0rp
2019-11-07Merge pull request #2887 from tamago324/add-nimcheck-end_col-optionsw0rp
Add nimcheck end_col options
2019-11-07Revert "Add definition of c/clangd's language as C (#2791)"w0rp
This reverts commit f4070f6c43b3cb2e7463d8426a68d5a726991288.
2019-11-07Merge pull request #2617 from robindar/masterw0rp
Fix crystal-lang non file-tied message handling
2019-11-07Add nimcheck end_col optionstamago324
nimcheck
2019-10-29Merge pull request #2690 from iclanzan/purtyw0rp
Add purty fixer for PureScript
2019-10-29Merge pull request #2819 from greg0ire/psalm_extra_optionsw0rp
Add the possiblity to add extra psalm options
2019-10-28Fix the test issues with html-beautifyw0rp
2019-10-28Add support for html-beautify (#2788)Hugo Osvaldo Barrera
* Add support for html-beautify * Add html-beautify to the list of supported tools * Update docs
2019-10-28fixers/stylelint: enhance `stylelint` fixer (#2745)Charlie Johnson
* Refactor stylelint fixer test * Support additional stylelint fixer options * Support changing working directory for stylelint fixer * Force css syntax for stylelint fixer
2019-10-28Merge pull request #2700 from elebow/clangcheck-no-color-diagnosticsw0rp
clangcheck: Add -fno-color-diagnostics (closes #2188)
2019-10-21Remove standardts fixer in favor of allowing standard.vim fixer to handle ↵Ian Campbell
JavaScript or TypeScript options.
2019-10-21Add StandardJS for TypeScript linting and fixing.Ian Campbell
2019-10-21Fix #2835 - Bump up the sign group version check for NeoVimw0rp
2019-10-18Adding support for LSP `window/showMessage` method (#2652)Andre Souto
* Added base handling for window/showMessage * Ignoring severity log * Code formatting * Added user configurable severity * Preferring ale#util#ShowMessage over echo'ing directly * Using format similar to ale_echo_msg_format for consistency * Updating docs * Added LSP log config string; improved tests * Use warning as fallback for incorrect user config
2019-10-18Merge pull request #2845 from DonnieWest/fixItemDetailsOnEmptySourcew0rp
Fix tsserver not returning details for items with empty source
2019-10-17Fix tsserver not returning details for items with empty sourceDonnie West
2019-10-17Allow code actions to work on callback based sourcesDonnie West
2019-10-17Merge remote-tracking branch 'murfalo/clangd-compile-commands'w0rp
2019-10-17Add support for nimlsp (#2815)Jerko Steiner
* Add support for nimlsp.vim * Add test and docs for nimlsp * Add nimlsp to supported-tools.md * Add nimlsp to doc/ale-supported-languages-and-tools.txt
2019-10-17Add definition of c/clangd's language as C (#2791)João Borges
* Add definition of c/clangd's language as C * Update tests for clangd to be called with '-x c' * Change to use single quotes instead of double quotes
2019-10-16Bump the ALE versionv2.6.0w0rp
2019-10-11Fix crystal-lang non file-tied message handlingDavid A. R. Robin
Some messages of the crystal compiler are not tied to a file. This causes a 'Key not present in Dictionnary' error (E716). For the record, the json output on ```require "./nonexistent.cr"``` is the following : ```json [ { "file":"/tmp/file.cr", "line":1, "column":1, "size":0, "message":"while requiring \"./nonexistent.cr\"" }, { "message":"can't find file './nonexistent.cr' relative to '/tmp'" } ] ``` The second message does not have line/column attributes.
2019-10-09Suboptimal fix to prevent variables from leaking out of new clangd testMurfalo
2019-10-09Hopefully fixed issue with Windows pathsMurfalo
2019-10-09Added tests for clangd compile commands dectectionMurfalo
2019-10-09Fix #2821 - Fix the debride linter after merging older codew0rp
2019-10-07Add the possiblity to add extra psalm optionsGrégoire Paris
2019-10-07fix tflint handler for 0.11+ (#2775)Jérôme Foray
* fix tflint handler for 0.11+ * fixup! fix tflint handler for 0.11+ * maintain compatibility with previous tflint output format * fixup! maintain compatibility with previous tflint output format * Add comment about tflint's output format accross versions
2019-10-07Merge pull request #2813 from werneta/masterw0rp
Update vlog parser to handle new output format
2019-10-07Merge pull request #2771 from gpanders/masterw0rp
Use Makefile output with clang-tidy when useful
2019-10-07Merge pull request #2735 from zoonfafer/scala-metalsw0rp
Add linter for Scala Metals
2019-10-07Merge pull request #2676 from davidtwco/nixfmt-fixerw0rp
Add nixpkgs-fmt fixer.
2019-10-07Merge pull request #2659 from greg0ire/psalm-language-server-optionw0rp
Use the psalm executable with the LS option
2019-10-07Merge pull request #2694 from elebow/add-ruby-debridew0rp
Add ruby debride (closes #2471)
2019-10-06Add tests for clangtidy with MakefileGreg Anders