summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2019-08-18Merge remote-tracking branch 'AlexeiDrake/master' into ↵w0rp
bugfix/c-lsp-build-dir-settings
2019-08-18Merge pull request #2677 from davidtwco/check-toc-test-failurew0rp
Remove `/bin/ls` assumption from check-toc test.
2019-08-18Black fixer should include --pyi for files with .pyi extension (#2705)richyfish
* black fixer should include --pyi for files with .pyi extension
2019-08-18Merge pull request #2631 from timlag1305/feat/ada-gnatppw0rp
Add gnatpp fixer for Ada
2019-08-17Fix cflags parsing (#2510, #2265) (#2590)fx-carton
* Parse CFLAGS that can be passed using a whitelist I went through GCC's man page and selected flags that can safely be passed to GCC and that can be useful to syntax checking. These include: - -I/-i* include flags - preprocessor flags such as -D - -W* warning flags - -O* optimization flags - most -f options - -m arch dependent options * Fix CFLAGS tests: -Idir is now parsed to -I dir * Added two tests for flags we want or don't want to pass. * Also check for / in addition to s:sep
2019-08-17Add asyncomplete.vim Support (#2627)Donnie West
2019-08-12aleinfo global options (#2686)richyfish
* added omitted global variables which was breaking this test when run standalone * invert logic for s:GetLinterVariables excluding disabled linters, so that linter global options can appear in output * additional tests for s:GetLinterVariables for linter global options
2019-08-03Remove `/bin/ls` assumption.David Wood
On some systems, notably NixOS, there is no `/bin/ls` and thus this test can fail unnecessarily on those systems. This commit uses `/usr/bin/env ls` which resolves the issue.
2019-08-02Fix #2668 - Set g:ale_go_go111modulew0rp
2019-07-30Merge pull request #2430 from eliath/masterw0rp
Support $GO111MODULE with Go tooling
2019-07-30Merge pull request #2646 from paulreimer/fixer-clangformat-use-assume-filenamew0rp
Set --assume-filename for clangformat fixer
2019-07-29Merge pull request #2612 from andys8/feature/elm-language-server-updatew0rp
Update elm-ls
2019-07-19Set --assume-filename for clangformat fixerPaul Reimer
2019-07-14Merge pull request #2618 from rustic-games/clippy-flagsw0rp
Update Rust cargo linter to better integrate with Clippy
2019-07-14Add Deoplete's input_patterns for cppdelphinus
2019-07-14Merge pull request #2601 from delphinus/feature/better-completion-for-deopletew0rp
Show more candidates for Deoplete completion
2019-07-13Add Sorbet ruby linter and fixer (#2614)Matthew Lanigan
2019-07-02Support csc, update mcsc (#2586)hernot
* Added a new csc linter for C# code. * More output is now handled for mcsc.
2019-07-02Add clangtidy fixer (#2548)ObserverOfTime
* Add clangtidy fixer * Add extra_options to clangtidy fixer * Also, use cpp variables in cpp filetypes
2019-07-01Add gnatpp fixer for AdaTim Lagnese
2019-07-01Support $GO111MODULE with Go toolingElias Martinez Cohen
Allows the user to override $GO111MODULE environment variable through ale options. This gives control over the default behavior of Go module resolution. Golang documentation: https://github.com/golang/go/wiki/Modules#how-to-use-modules Add `ale#Go#EnvString()` function to make it easy to add similar Go environment variables in the future. Use the new `EnvString` function in all available Go tools callbacks & update tests Also add test of linter command callback for `gofmt`
2019-06-25support all cargo options for build/clippyJean Mertz
2019-06-25Use input_patterns & add comments for updating itdelphinus
2019-06-24support clippy options with --Jean Mertz
2019-06-21Update elm-lsandys8
* elm_lsp is now elm_ls * The binary published by @elm-tooling is elm-language-server Updates tests, docs and adds more options to the plugin.
2019-06-19Handle powershell unexpected token with newline (#2588)Jesse Harris
* Newline in unexpected token broke parser * fixed test to properly capture regressions * removed deprecated linter options for powershell
2019-06-19Add & fix tests for added funcsdelphinus
2019-06-19Add support for javalsp configuration options.Horacio Sanson
This MR adds a new configuration variable `g:ale_java_javalsp_config` that allows to configure external dependencies and class paths to the language server. The variable accepts a dictionary similar to the one supported by the [vscode/settings.json](https://github.com/georgewfraser/java-language-server#settings) file. Deprecates: #2561
2019-06-17Add support for purescript language server (#2572)Drew Olson
* Add support for purescript language server * Update naming * Add purescript language server tests
2019-06-16Merge pull request #2577 from hsanson/fix-checkstyle-defaultsw0rp
Fix checkstyle default configuration.
2019-06-15Raise deoplete source rank to 1000BlahGeek
2019-06-13Merge pull request #2563 from dcyriller/fixer-prettier-glimmerw0rp
prettier: Support experimental languages (Handlebars)
2019-06-12Fix checkstyle default configuration.Horacio Sanson
Checkstyle xml configuration is mandatory and not providing one causes the tool to fail with the following error: Must specify a config XML file. Checkstyle itself contains a default configuration as part of its assests named `/google_checks.xml`. Invoking checkstyle with this config works even if such file does not exists in the file system: checkstyle -c /google_checks.xml This should be the default invocation to allow ALE to use checkstyle with zero configuration. Also when a user sets `g:ale_java_checkstyle_config` option, ALE should use it to invoke checkstyle even such file does not exists in the filesystem. This is because checkstyle is able to use configuration files within JAR files defined in the CLASSPATH. The default `/google_checks.xml` is an example of such configuration available within a JAR resource.
2019-06-10Bump the ALE versionv2.5.0w0rp
2019-06-10Fix #1727 - Replace previoulsy defined linters with matching namesw0rp
2019-06-10Lint on InsertLeave, not in insert mode by defaultw0rp
b:ale_lint_on_insert_leave is now supported as tests need it. These defaults are saner and cause fewer issues for users by default.
2019-06-10Merge pull request #2567 from theevocater/add_reorder_python_importsw0rp
Add support for reorder-python-imports fixer
2019-06-10Merge pull request #2558 from hsanson/fix-javalsp-command-callbackw0rp
Fix javalsp command callback.
2019-06-09Do not set default binary.Horacio Sanson
The default binary "launcher" is too generic and can get mixed with other tools. To use this linter user must explicitly set the absolute path of the launcher path.
2019-06-08Add support for reorder-python-imports fixerJake Kaufman
isort is great, but I've come to prefer reorder-python-imports. The tool has a focus on smaller diffs than isort. reorder-python-imports is also a little smarter than isort which is nice.
2019-06-09Document and test reason-language-serverw0rp
2019-06-08Merge pull request #2559 from nerdrew/rust-cargo-rendered-detailw0rp
show rendered cargo error in detail for clippy errors
2019-06-08Merge pull request #2551 from laino/eslint-jsonw0rp
Use JSON output for ESLint and fix tsserver column
2019-06-08Add additional option setting for clangtidy linterJonathan Vander Mey
The existing option setting handles setting additional compile flags to pass to clang-tidy. The new option setting added here allows setting additional clang-tidy specific flags to be passed as well. Fixes #2324
2019-06-06prettier: Support experimental languagesCyrille David
Such as handlebars
2019-06-05Fix #2525 - Convert Windows paths in a Unix environmentw0rp
2019-06-04show rendered cargo error in detailAndrew Lazarus
2019-06-04Make ale_lint_on_save work with b:ale_fix_on_save = 1w0rp
2019-06-05Fix javalsp command callback.Horacio Sanson
The command used to invoke the language server is missing some options to include additional java modules. Without these modules the server was not working properly. The correct command can be found in a `launcher` script on the same directory the `java` executable for the language server is found. This commit changes the docs to prefer the launcher script over the java executable. For backward compatibility it also fixes the command invocation in case the java executable is configured.
2019-06-03#2542 - Improve checkstyle project configurationw0rp