summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-04Merge pull request #2557 from hy2k/update-docw0rp
Change ALE integration with Deoplete in README
2019-06-04Update README deoplete completion source sectionhy2k
2019-06-03#2542 - Improve checkstyle project configurationw0rp
2019-06-03Fix tests on Windowsw0rp
2019-06-03Fix #1279 - Run cppcheck differently when modifiedChristoph Koehler
cppcheck is now run without the --project option and from the buffer's directory instead when the buffer has been modified. Saving the buffer will get results by linting the project instead.
2019-06-03Feature/add ant support (#2539)Andrew Lee
Use ant files to load Java settings too.
2019-06-03Fix #2555 - Remove highlights in lowercase, etcw0rp
2019-06-03Update the license yearw0rp
2019-06-01Merge pull request #2549 from m-pilia/custom-lsp-requestsw0rp
Add API for custom LSP requests
2019-06-01Support custom LSP notificationsMartino Pilia
Allow to send custom notification mesages, that expect no response from the server.
2019-05-31Refactor LSP custom request handlingMartino Pilia
2019-05-31Add API for custom LSP requestsMartino Pilia
Implement a function `ale#lsp_linter#SendRequest` that allows to send custom LSP requests to an enabled LSP linter. Resolves #2474
2019-05-30Fix #2544 - Completion positions are off by onew0rp
2019-05-29Merge pull request #2529 from maxwell-k/terraform_linterw0rp
Add a terraform linter
2019-05-29#2533 - Run phpcs in the directory the file is inw0rp
2019-05-29Merge pull request #2540 from sijad/pgformatterw0rp
add pgformatter fixer
2019-05-29Merge pull request #2543 from hsanson/fix-checkstyle-handlerw0rp
Fix java checkstyle handler.
2019-05-28Fix #2438 - Print a friendly message when the clipboard is not availablew0rp
2019-05-28Fix #2535 - Automatically emit <C-x><C-o> less to prevent <C-o> issuesw0rp
2019-05-28Merge pull request #2541 from jwkvam/neovim-buflinew0rp
fix neovim missing setbufline
2019-05-28Fix java checkstyle handler.Horacio Sanson
The checkstyle handler is capable of parsing the new and old output formats. Unfortunately there are some particular output messages that matched both the new and old regular expressions: [WARN] whatever:11:7: WhitespaceAround: ''if'' is not followed by whitespace. [WhitespaceAround] This caused ALE to report extra errors since the message was being matched twice, once as a warning and another (incorrect) old formatted error. This MR fixes this by stopping any parsing using the old format regexp is any errors of the new format are correcly parsed. There is no reason to expect checkstyle to output both styles in the same report.
2019-05-27fix neovim missing setbuflineJacques Kvam
2019-05-27add pgformatterSajjad Hashemian
2019-05-24Merge pull request #2524 from hsanson/2521-fix-lsp-diagnostics-buffer-matchw0rp
WIP Fix HandleLSPDiagnostics buffer match logic.
2019-05-24Fix LSP testsw0rp
2019-05-23Add a terraform linterKeith Maxwell
This linter uses the check functionality built into terraform. ALE already has a fixer using `terraform fmt` but this doesn't provide error messages. ALE already has a linter using `tflint` but this requires an extra application to be installed. For example this linter will give a warning that ! is an illegal character in the line below: variable "example" !{} This linter runs the buffer through the command below and parses the output: terraform fmt -no-color -check=true - This commit includes a basic implementation, documentation and tests. The only option is to control which executable is run. Tested with: $ terraform -version Terraform v0.11.13
2019-05-23Merge pull request #2520 from hsanson/fix-eclipselsp-workspace-configw0rp
Fix eclipselsp workspace config
2019-05-23Add tests for LSP responsesHoracio Sanson
2019-05-23Add exact file match test to TSServer response handlerHoracio Sanson
2019-05-22Update the README to use travis-ci.comw0rp
2019-05-22Add fix to HandleTSServerDiagnostics function.Horacio Sanson
2019-05-22Fix HandleLSPDiagnostics buffer match logic.Horacio Sanson
To find the buffer corresponding to URIs reported by LSP the HandleLSPDiagnostics() method uses the built-in bufnr() function. From the documentation we learn that the first parameter of bufnr() is an expression, not a path. EclipseLSP will report project wide errors (e.g. gradle errors) that are not related to any actual source file with an URI that corresponds to the project root folder, e.g: file:///home/username/Projects/gradle-simple This URI will match any open buffer of files within the project root hiearchy, thus project-wide errors appear as part of every file within the project, e.g: file:///home/username/Projects/gradle-simple/src/main/java/Hello.java To fix this, this MR adds '^' to the beginning and '$' at the end of the URI path to force an exact match. This is how is recommended in vim help (see :h bufname).
2019-05-22Fix eclipse.jdt.ls workspace data path.Horacio Sanson
We were setting the -data parameter to the project root but this caused the language server to fail initialization and synch of gradle dependencies. As consequence ALE failed to work fully on gradle projects. This fix sets the workspace to the parent folder of the project root. Normally this corresponds to the correct Eclipse workspace path. When this is not the case, this fix also allows users to explicitly set the absolute path to the workspace via configuration variable.
2019-05-21Fix the eclipselsp testsw0rp
2019-05-21Allow running eclipselsp as installed by system package on GNU/Linux (#2523)Grim Kriegor
* Search eclipselsp jar and config files within system package path * Allow setting an alternate eclipselsp configuration directory * Add test for ale_java_eclipselsp_config_path
2019-05-21Stop a test from failing randomlyw0rp
2019-05-21Revert "Fix #2492 - Remove all Deoplete support for now"w0rp
This reverts commit 975cc7af8fbabe234a220c84e56b7ff719d8d959.
2019-05-21Merge pull request #2502 from ericvw/flake8-configw0rp
Change Python project root dir detection for flake8 configuration
2019-05-20Close #2516 - Handle problems with inlined functionsw0rp
2019-05-20Fix a test on Windowsw0rp
2019-05-20Close #2359 - Find compile_commands.json in build dirs for cppcheckw0rp
2019-05-20Try to fix the testsw0rp
2019-05-20Fix #2421 - Use compile_commands.json in build dirs to find rootsw0rp
2019-05-20Make a test fail lessw0rp
2019-05-20Fix #2512 - Use -o /dev/null for gcc lintingw0rp
2019-05-20Fix #2515 - Send client capabilities to LSP serversw0rp
2019-05-20Close #1739 - Use deletebufline() for fixing files were availablew0rp
2019-05-19Add support for Erlang dialyzer (#2509)Antoine Gagné
* Add support for Erlang dialyzer * Add an option to specify rebar3 profile In doing so, the use of the `**` wildcard becomes unnecessary.
2019-05-19Change Python project root dir detection for flake8 configurationEric N. Vander Weele
The official configuration files for `flake8` are `.flake8`, `tox.ini`, and `setup.cfg`. After investigation, it is safe to remove `flake8.cfg` as it appears to only exist as a typo in other tooling documentation (e.g., `python-language-server`). Even though no linters automatically read `.flake8rc`, it is kept in case projects may be using it for detecting the projects root directory.
2019-05-19Test for Python project root directoryEric N. Vander Weele
Add test files and a new test suite for detecting a Python project's root directory.