summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-01-16Merge pull request #3485 from andreaconti/masterHoracio Sanson
Fix Julia Language Server Support
2021-01-14Merge pull request #3471 from kevinclark/3448-fix-unittestsw0rp
Make test/scripts/custom-checks portable
2021-01-14Add nvim floating window support (replaces #3314) (#3470)Kevin Clark
* Add nvim floating window hover support * Add configuration for float to replace preview * preview#ShowFloating: qualify local variables * Configure floating preview usecases individually Also: * Extract floating preview to its own file. * Ignore 'stay_here' option. Moving into the floating preview window seems confusing at best. * Re-use existing floating preview window if it's still up. * Flush out floating preview documentation. * Watch cursor position changes per window Floating previews open a new window, so when that window is written to, it moves briefly there at a different position than the original window. This makes repeated positions detected when positions are tracked at a s: level. Instead, we change the variable to window scoped, which only fires a message if the cursor has changed from the last position in *that window*. * g:ale_floating_preview cleanup * floating_preview: add ALEDetail tests * Fix fecs test missing runtime call * Add ALEHover floating preview tests Co-authored-by: Jan-Grimo Sobez <jan-grimo.sobez@phys.chem.ethz.ch>
2021-01-13Merge pull request #3494 from YorickPeterse/masterHoracio Sanson
Add linter for Inko
2021-01-13Merge pull request #3531 from pinicarus/custom-erlc-executableHoracio Sanson
Custom erlc executable
2021-01-08Merge pull request #3386 from ivorpeles/masterHoracio Sanson
Make isort fixer recognize auto_pipenv flag
2021-01-06Merge pull request #3390 from benknoble/fix-dafny-filenameHoracio Sanson
dafny: include correct filename in lint results
2021-01-01Exclude grandfathered-in non-snakecased lintsKevin Clark
Prior to #3448, several linters should have been failing the custom-checks that look for non-snake-cased lint names. They weren't, but now the bug that hid those is fixed. So to avoid breaking users, we just exclude those from the check. Linters excluded: * clojure/clj_kondo.vim * elixir/elixir_ls.vim * go/golangci_lint.vim * swift/swiftformat.vim
2020-12-23Add linter for InkoYorick Peterse
This adds a linter for Inko (https://inko-lang.org/). The linter makes use of Inko's own compiler, and a newly introduced --check flag to only check for errors; instead of also compiling source code.
2020-12-17Add salt-lint supportBenjamin Binier
2020-12-16Merge pull request #3403 from will/sorbetwatchmanHoracio Sanson
Add Ruby sorbet option to enable watchman
2020-12-12Fix test space bugAndrea Conti
2020-12-12Update Julia language server run commandAndrea Conti
2020-11-29Merge pull request #3381 from andreypopp/gofmt-stding-stdoutHoracio Sanson
Use stdin/stdout to communicate with gofmt
2020-11-28Restore ls -v flag to check-tocKevin Clark
2020-11-28Restore use of grep in check-tocKevin Clark
2020-11-28Use docker image for custom-check scriptsKevin Clark
NOTE: The custom-linting-rules test fails due to the following (legit) warnings: ale_linters/clojure/clj_kondo.vim:29 Use snake_case names for linters ale_linters/elixir/elixir_ls.vim:15 Use snake_case names for linters ale_linters/go/golangci_lint.vim:54 Use snake_case names for linters ale_linters/swift/swiftformat.vim:56 Use snake_case names for linters The message wasn't getting printed because docker was explicitly only being asked to connect stdout (ignoring stderr). Unclear yet why the error code wasn't getting bubbled up.
2020-11-28Fix test/script/check-supported-tools-tablesKevin Clark
2020-11-28Fix TOC testsKevin Clark
Sort order is slightly different than the headings
2020-11-27Fix check-supported-tools-tables checkKevin Clark
sed wasn't using -E, so '|' wasn't being handled properly. Seems likely that's sed-implementation specific, so now it runs through docker's sed to support portability.
2020-11-25Ensure isort / pipenv test conforms to ALE coding standardsIvor Peles
2020-11-25feat: add yamlfix fixerLyz
2020-11-21Add test for isort with auto_pipenv flag(s)Ivor Peles
2020-11-21Use _config for LSP config optionsw0rp
2020-11-21Add support for R languageserver (#3370)Eric Zhao
2020-11-21Fix 3103 - add shellcheck shell directive detection. (#3216)Horacio Sanson
* Fix 3103 - add shellcheck shell directive detection. Searches for shellcheck shell directive to detect dialects for scripts that do not have shebang. * Change order of detection of shellcheck dialect In a situation where the filetype can be wrong (example: something.sh which is written in bash dialect) and has no hash-bang (since it is meant to be sourced) then the override specified within the script will be ignored. It probably is the most right thing to do if the script author has added a specific directive; it should trump everything else. Co-authored-by: Horacio Sanson <horacio@allm.inc> Co-authored-by: Dino Korah <dino.korah@redmatter.com>
2020-11-21Merge pull request #3409 from lyz-code/feat/add-autoimport-supportw0rp
feat: add autoimport fixer
2020-11-21Adds support for Tlint - A Tighten Opinionated PHP Linter (#3291)Jose Soto
Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-11-21Merge pull request #2903 from davidtwco/ormolu-fixerw0rp
Add ormolu fixer.
2020-11-21Add php phpcbf options (#3383)Dale Jung
* Taken from phpcs. add add_php_phpcbf_options #3382 * Updated docs for php_phpcbf_options #3382 * Added tests #3382
2020-11-21Use has('gui_running') instead of has('gui')w0rp
2020-11-21Close #2727 - Add a hover-only setting for balloonsw0rp
2020-11-21Fix #3332 - Modify everything for rename/actionsw0rp
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-21Merge pull request #3357 from creativenull/feat-php-intelephensew0rp
feat: add intelephense support for php
2020-11-21Merge pull request #3354 from rphln/collapse-whitespacesw0rp
Collapse spaces and lines in the completion menu.
2020-11-21Add luafmt fixer (#3289)zandr
2020-11-21Merge pull request #3292 from dmitrivereshchagin/add-elvis-handler-for-erlangw0rp
Add Elvis handler for Erlang
2020-11-21Merge pull request #3282 from zanona/masterw0rp
fix(ale_linters/phpcs): add support for multiline error messages
2020-11-21#3442 Fix code fix clangd issueDalius Dobravolskas
2020-11-21Close #1466 - Add GVIM refactor menu supportw0rp
Code actions and ALERename now appear in the right click context menu for GVim by default.
2020-11-14Support for LSP/tsserver Code Actions (#3437)Dalius Dobravolskas
* Added tsserver and LSP code action support. * tsserver refactors support added. * Handling special case when new text is added after new line symbol. * ale#code_action#ApplyChanges simplified. * Initial attempt on LSP Code Actions. * workspace/executeCommand added. * Some null checks added. * Add last column to LSP Code Action message. * Pass diagnostics to LSP code action. Previously ApplyChanges code was applied from top-to-bottom that required extra parameters to track progress and there was bug. I have changed code to bottom-to-top approach as that does not require those extra parameters and solved the bug. Tested with typescript-language-server and it is working.
2020-10-28test(erlang/erlc): simplify matchespinicarus
2020-10-28test(erlang/erlc): make quotes optional in matchespinicarus
2020-10-28feat(erlang/erlc): add option for custom executablepinicarus
2020-10-23feat: add autoimport fixerLyz
2020-10-23Add ormolu fixer.David Wood
This commit adds a fixer for the Haskell language, ormolu (https://github.com/tweag/ormolu). Signed-off-by: David Wood <david@davidtw.co>
2020-10-20Add Ruby sorbet option to enable watchmanWill Leinweber
2020-10-15#3332 Implement :ALERename! for ignoring errorsw0rp
:ALERename! now ignores errors for files that cannot be modified, and modifies all other files.
2020-10-08update testsD. Ben Knoble
2020-10-03Use stdin/stdout to communicate with gofmtAndrey Popp