summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2018-06-20Remove CallWithCooldown functions to save on timew0rp
2018-06-19Move ClockMilliseconds to events, so fewer files are loaded some timesw0rp
2018-06-19Move the initialization of augroups to then events filew0rp
2018-06-19Remove a redundant variable in testsw0rp
2018-06-19Avoid calling ALE cleanup code if ALE never tried to check a bufferw0rp
2018-06-18Set `--parser` option in Prettier's fixer (#1620)Alvin Chan
* Set `--parser` option in Prettier's fixer * Add expected `--parser` option to tests * Disable Prettier `--parser` detection if file extension exists * Manually default Prettier `--parser` to "babylon" * Add `--parser` test for TypeScript * Add tests for Prettier `--parser` * Add JSON5 to the suggested fixer for Prettier
2018-06-17Merge pull request #1650 from yasuhiroki/support-cfn-python-lintw0rp
Add linter for AWS CloudFormation template file
2018-06-15Lazy-load LSP linters, and check b:changedtick before notifying about changesw0rp
2018-06-13Add end_lnum and end_col in cfn_python_lint handleryasuhiroki
2018-06-12Add support for qmlfmt fixer (#1651)P M
* Add support for qmlfmt fixer
2018-06-12Add a test for handling missing detail keys for LSP completionw0rp
2018-06-12Add linter for AWS CloudFormation template fileyasuhiroki
2018-06-07WIP cd to project pathColby Dehart
2018-06-07added test for command callbackColby Dehart
2018-06-07Adapt test to also use Rscript --vanillaStefan Siegel
2018-06-06Add the cquery LSP #1475 #1594Ben Falconer
2018-06-06Pass rootUri to LSPs in addition to rootPathBen Falconer
2018-06-06Allow initialization options to be passed to language serversBen Falconer
2018-06-05Allow all Python linter executables to be set to `pipenv`.Eddie Lebow
It appends ` run {linter_name}`, analogously to the Ruby linters when the executable is set to `bundle`
2018-06-04Allow linting rust tests and examples with cargoMichał Budzyński
2018-06-03Merge pull request #1623 from zoonfafer/scalafmt-fixerw0rp
Add 'scalafmt' fixer for Scala files
2018-06-03Merge pull request #1625 from elebow/flake8-pipenv-runw0rp
Allow flake8 executable to be set to `pipenv`.
2018-06-03Respect warn_about_trailing_whitespace for gitlintw0rp
2018-06-02Allow flake8 executable to be set to `pipenv`.Eddie Lebow
It appends ` run flake8`, analogously to the Ruby tools when the executable is set to `bundle`
2018-06-03Add 'scalafmt' fixer for Scala filesJeffrey Lau
closes https://github.com/w0rp/ale/issues/1299
2018-06-02handled temp file and env variable correctly; added testsColby Dehart
2018-06-02Merge pull request #1617 from luitzifa/masterw0rp
Fix for puppet version >= 5.4.0
2018-06-01#1621 - Tolerate SetOptions calls when ALE is loaded in a weird wayw0rp
2018-06-01Handle definition responses without filesw0rp
2018-05-29Fix for puppet version 5.4.0Daniel Kraemer
i don't know of any version lower than 5.4.0
2018-05-28Remove a test for a deprecated variable that seems to trip up Travisw0rp
2018-05-28#1524 - Define global variables where they are neededw0rp
2018-05-28#1524 Do not try to check buffers with empty filetypesw0rp
2018-05-28Remove a now defunct testw0rp
2018-05-28Fix #1566 - Add g:ale_python_flake8_change_directoryw0rp
2018-05-28Close #1559 - Report errors from LSP servers in :ALEInfow0rp
2018-05-28Close #1553 - Support some tsserver completion for stringsw0rp
2018-05-28Fix #1568 - Filter LSP completion results with the prefixesw0rp
2018-05-28Fix #1611 - Fix perlcritic escaping on Windowsw0rp
2018-05-26Merge pull request #1564 from aliou/ad-alefix-fixer-cmdline-completionw0rp
Use the command line to filter ALEFix's command line completion.
2018-05-26Merge pull request #1574 from hecrj/elm-0.19w0rp
Support Elm 0.19
2018-05-25Move the sasslint handlers to one locationw0rp
2018-05-25Merge pull request #1573 from zed0/masterw0rp
Run sass-lint from the target's directory
2018-05-16TUI / GUI tooltip with content from ALEHover (#1556)Gerry Agbobada
* Guard the ballooneval settings * Mark main objectives to do to get nice Hover * Make tweaks to make the tooltip work - See " XXX: comments * Guard balloon_show call * Use return instead of finish for functions * ale#hover#show : Add optional arguments to specify arbtirary position This change is requested to be able to call the function with mouse position to enable hover information in vim's balloon * ale#ballon#Disable : Remove feature guards * ale#balloon : Show 'ALEHover' output on balloon if no diagnostic found * ale#hover#HandleLSPResponse : remove the check for cursor position This check prevented the 'ALEHover in balloon' feature, since mouse position is almost never cursor position. * ale#balloon#MessageForPos : Change the return of balloonexpr balloonexpr evaluation now works even without balloon_show for basic diagnostics, leaving the balloon_show call to ale#hover#Show, which can then feature guard the call to avoid errors * ale#hover#Response : Feature guard balloon_show calls * ale#hover : always display 'Hover' information in messages Also add a small comment to warn readers the different outputs the ale#hover#Show will write to * {LSP,TS}Response : use only variables from the Response It is clearer that we only rely on l:options to get the relevant data to build the LSP Response string * hover#ShowDetails : fix an issue where not having focus broke balloons The issue was caused by not using a buffer-specific version of getline() to cap the value of the column sent in the message to LSP. Therefore a cursor on column 10 in an inactive window could send a message with column=0, if the active window had a buffer with too few lines * {LSP,TS}Response : Remove redundant checks for balloon_show call With the upcoming change in ale_set_balloons default value (see Pull Request w0rp/ale#1565), this check will be useless * balloonexpr? : Add a flag to separate hover#Show() calls The goal of this flag is to make `:ALEHover` calls not pop a balloon under the cursor, since the user has probably no interest in their cursor while typing the command The flag is a default argument which is overridden only in ballonexpr call of ale#hover#Show, and stays set in the hover_map until the callback for the LSP handles it. There are no automated tests for this feature right now, and the nature of the addition (one optional argument in the API) should make it transparent to existing tests. Since the differentiation is now possible, the check for moved cursor has been put back in ale#hover#HandleLSPResponse * ale#hover#hover_map : Protect accesses to hover_map Using get() is safer than trying to access directly with ., as the tests show. * Raise timeout to try to get Appveyor happy * Review : Fix comments * Review : pass the optional argument 'called_from_balloonexpr' in a Dict This optional dictionary has documentation just before the function using it, ale#hover#Show, and allows easier extension in the future.
2018-05-15Fix #1584 - Make duplicate msgfmt messages easier to navigatew0rp
2018-05-15Make Elm linter backwards compatible with Elm 0.18Héctor Ramón Jiménez
2018-05-15Run sass-lint from the target's directoryBen Falconer
2018-05-12Show Elm.Kernel as location when `report.path` is `null` in a general problemHéctor Ramón Jiménez
2018-05-12Use `message` as `text` instead of `title`Héctor Ramón Jiménez
`title` does not contain much information which forces to use :ALEDetail most of the time
2018-05-11Test global problems and imported module errorsHéctor Ramón Jiménez