summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-09purs-tidy fix (#3867)toastal
* purs-tidy * Fixup for purs-tidy
2021-08-09Adds fixer for golines (#3862)pigfrown
* Adds fixer for golines * Repositions golines docs to be in alphabetical order * Fixes golines doc tag * Fixes formatting for golines docs
2021-08-08Fix 3853 - Update :floppy_disk: icon on supported tools list. (#3854)Horacio Sanson
Look for all linters that have "lint_file" set to 1 and verify tools that have it have the :floopy_disk: icon set and those that don't do not have it. Correspondingly added/removed !! on ale-supported-languages-and-tools.txt file. Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-08-08`purs-tidy` for PureScript (#3863)toastal
* purs-tidy * update email address for toastal
2021-08-08Fix 3865 - Disable scriptencoding vint error. (#3866)Horacio Sanson
- Add .vintrc.yaml configuration that disables the scriptencoding check (ProhibitMissingScriptEncoding) that is raised randomly. - Upgrade vint to 0.3.21. Project seems to have stopped here and 0.4.0 was never released. - Ensure the run-test scripts use the correct docker image (e.g. add tag) . Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-08-07Add neovim-05 flag to run-test help output (#3864)Horacio Sanson
Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-08-06Fix lint tests failing due to multibyte chars. (#3858)Horacio Sanson
For some reason CI tests started failing with these errors: > ale_linters/eruby/erb.vim:1:1: Use scriptencoding when multibyte char exists (see :help :scriptencoding) > ale_linters/mail/languagetool.vim:1:1: Use scriptencoding when multibyte char exists (see :help :scriptencoding) Not sure at which point or what changed for this to happen but this MR fixes it by removing the multibyte chars present on the problem files. Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-08-05Use md5(1) when available (#3855)Jon Parise
md5sum isn't available by default on macOS. Instead, it ships the BSD-style md5(1) command, which does the same thing but with different arguments. With this change, run-tests works out-of-the-box on macOS.
2021-08-05Add neovim 0.5 to list of test runtimes. (#3830)Horacio Sanson
* Add neovim 0.5 to list of test runtimes. * Update testbed docker image Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-08-04Add a thriftcheck linter (#3852)Jon Parise
ThriftCheck (https://github.com/pinterest/thriftcheck) is a linter for Thrift IDL files.
2021-08-03Fix link to jsonlint (#3850)Tobias Gruetzmacher
2021-08-03Add missing space before function reference (#3849)Jon Parise
2021-07-31Do not use tempfiles for ansible lint (#3846)Henrik Farre
* Used %s instead of std in * Set lint_file to 1 for ansible-lint so it does not use temp files * Fix test for ansible-lint
2021-07-28Correct the spelling of :ALEComplete (#3843)Jon Parise
2021-07-25Add support for `dart analyze` (#3825)ghsang
2021-07-25Add importMap option to deno Initialization Options (#3827)Arnold Chand
* feat(deno): move init options to handlers * feat(deno): add deno lsp support for js files * feat(deno): use default map option * feat(docs): add deno import map option * feat(deno): add tests for importMap option * fix(deno): use full path in importMap * feat(deno): remove deno as linter for js, separate PR * fix(deno): test for executable * fix(deno-test): include filename to simplify function
2021-07-25Python support poetry (#3834)Daniel Roseman
* Add poetry support to python linters and black fixer. * Update python.vim to detect poetry project. * Update ale.vim, add an option for poetry `g:ale_python_auto_poetry`. * Update ale-python.txt, add poetry support. * Add and update poetry related tests. Co-authored-by: unc0 <unc0@users.noreply.github.com>
2021-07-23Vim popup (#3817)D. Ben Knoble
* implement vim popups for preview Details on implementation ------------------------- - we make use of the |popupwin| api - we split implementations (Nvim* vs. Vim* prefix) and call the right one based on has('nvim') - we follow a similar structure in each function, using the relevant API - popup_list, win_execute, popup_settext in VimShow - popup_create in VimCreate - popup_close in VimClose Some differences ---------------- - we DON'T have VimPrepareWindowContent because we use arguments to popup_create for borders, padding, etc., and it also takes care of buffer creation. - we follow the protocol of setting and using w:preview for information, but we only need the ID - InsertEnter is the only autocommand required, because of popup_create's moved argument. Any cursor movement with 'any' will close the popup. This in turns means VimClose is only called from InsertMode, so no mode-restoration necessary - we don't tweak too much in the buffer because vim's popup buffers already have most relevant settings and aren't editable without calling popup functions. - I enabled scrollbars, close buttons, dragging, and resizing - vim popups get as big as they need to by default, so no worrying about truncating/hiding/size Note: we might want to consider changing w:preview to w:ale_preview to avoid clashes if someone else tries to use the same variable * floating window: document that vim supports it * lint: fix indent/cont. lines
2021-07-21Fix 3801 - Add ALEDummySign some width. (#3832)Horacio Sanson
* Fix 3801 - Add ALEDummySign some width. Due to changes in NeoVim 0.5 the g:ale_sign_column_always configuration stopped working. This PR sets the ALEDummySign to a blank space so when g: ale_sign_column_always is set we have a sign with 1 width allowing the configuration to work as before. https://github.com/neovim/neovim/issues/13635 * Fix visual artifact on dummy sign * Fix visual artifact on dummy sign (attempt 2) Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-07-20Correct typo in python config filenames (#3826)foobarbyte
* Correct typo in a config file filename. .tool_versions should be .tool-versions * Correct typo in config file names. .tool_versions should be .tool-versions
2021-07-20racket: support racket-langserver lsp (#3808)D. Ben Knoble
* racket: support racket-langserver lsp * racket-langserver: find highest dir with init.rkt * autoload/ale/racket: re-indent to 4 spaces * racket: lint: sort supported tools * racket: lint: function! This is _not_ needed anymore, but the lint wants it. See :help E127 * racket-langserver: do not use new dict format * racket: lint: use snake_case * add tests for racket-langserver * racket-langserver tests: correct result values
2021-07-20Fix 3673 - Add nocolor option to ansible-lint (#3811)Horacio Sanson
Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-07-17Add option to clojure clj-kondo linter (#3812)莊喬
Allow define `clojure_clj_kondo_options` to customize command options for `clj-kondo`. The `--cache` in original command is now defined as default.
2021-07-17Update erlang format for OTP24 (#3823)Jose Maria Perez Ramos
Erlang's erlc error format includes the column in OTP24. See https://blog.erlang.org/My-OTP-24-Highlights/#column-number-in-warnings-and-errors
2021-07-17Python .tool versions (#3820)foobarbyte
* Also check for asdf-vm's .tool_versions file A minimal python project may only be specifying a python version using a version management tool like asdf-vm, without providing other common python project configuration files. asdf-vm creates a single .tool_versions file in the managed directory. By checking for .tool_versions in addition to other common python config files we ensure that python linters (whose behaviour typically depends on a particular python version) will run with the same version of python used by the project. This will also be the same python version used by vim itself when it is run from inside the project's directories. * add .tool_versions to ale-python-root documentation This reflects the corresponding change to autoload/ale/python.vim
2021-07-16Add support for `dart format` fixer (#3764)ghsang
2021-07-14added filename to stdin stream of isort (#3815)Jeff Willette
modified tests to run with new format Co-authored-by: Jeff Willette <jeff@Jeffs-MacBook-Pro.local>
2021-07-13add autoflake fixer (#3779)Nikolay Zakirov
* first attempt * added autoflake executable * added Windows executable for appveyor * delete unused files * corrected wrong sorting
2021-07-13Fix 3373 - do not crash on HandleUserData with invalid json (#3807)Horacio Sanson
Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-07-12Add Yosys linter for Verilog files. (#3713)Nathan Sharp
* Add yosys for verilog files. * Add handler test for yosys. * fix typo in yosys handler test * fix array order in yosys handler test * add yosys linter to filetype defaults test * fix duplicate tag * add 'yosys' to 'ale-supported-languages-and-tools.txt'
2021-07-10add phpstan local executable detection (#3809)Michael Weimann
2021-07-09Add support for multiline messages (#3686)Grégoire Paris
This is achieved by switching to JSON, which makes it much easier to avoid confusion between an error message and the next one. It also spares us from having to deal with regular expressions, and eliminates some edge cases that no longer need to be tested.
2021-07-09Update eclipse JDT LSP documentation (#3743)Horacio Sanson
Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-07-09Add support for `lua-format` fixer. (#3804)Mathias Jean Johansen
2021-07-09chore: replace python-language-server to supported pylsp (#3810)Gerardo Gómez Rodríguez
As mentioned in #3722 palantir's python-language-server is no longer maintained. The alternative is to use the community-driven https://github.com/python-lsp/python-lsp-server.
2021-07-07updated ale-purescript configuration example in docs according to changes in ↵Matej Fandl
Spago v0.14 (#3710)
2021-07-05hadolint: multiple fixes and adapt expected format (#3678)Moritz Röhrich
- Show hadolint rule number in vim gutter in addition to `ALEDetails` - Capture and show error in case of syntax errors - Add tests for error capture - Adapt existing tests fixes: #2333 fixes: #958
2021-07-05Add stdin ("-") to the command-line arguments of ansible-lint >=5.0.0 (#3786)James Cherti
* Added an explicit stdin argument to ansible-lint >=5.0.0 (ansible_lint.vim). This commit fixes the issue "<<NO OUTPUT RETURNED>>": ``` :ALEInfo (finished - exit code 0) ['/bin/bash', '-c', ''ansible-lint'' --parseable-severity -x yaml < ''/tmp/vVyvn4B/7/test2.yml''] <<<NO OUTPUT RETURNED>>>' ``` Reason: Ansible-lint ignores stdin when "-" or "/dev/stdin" is not specified explicitly. Tested with: ansible-lint 5.0.12 using ansible 2.11.2 * Update ansible-lint tests.
2021-07-04Solidity solc linter compatible with 0.6/0.7/0.8 (#3763)Néstor Coppi
2021-07-04Add pandoc as a markdown fixer (#3641)Jesse Hathaway
Utilize pandoc to fix markdown files, currently set to Github-Flavored Markdown, but that can be changed by setting, ale_markdown_pandoc_options.
2021-07-04Let R_languageserver consider .Renviron (#3744)ourigen
* Fix languageserver.vim to consider Renviron * Update test_r_languageserver.vader * Update credits
2021-07-04Change checkstyle's output sub_type to style (#3780)Frederick Zhang
2021-07-04fix: cflags parser: no absolute path for '-include' (#3775)Michael Jeanson
Both '-include' and '-imacros' take a file as an argument that will then be searched in the include path like a regular '#include "..."' statement in a source file. As such, they should not have their path converted to an absolute path. Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2021-07-04Add support for rpmlint 2.0.0 (#3757)Carl Smedstad
The -o/--option flag was removed in version 2.0.0 of rpmlint. Providing this causes rpmlint to fail and provide no output. Only provide this flag to rpmlint if the version is less than 2.0.0.
2021-07-04racket/raco: add filename to loc list (#3777)D. Ben Knoble
This allows the location list from one buffer to point to an issue in another; previously, the error message would be shown but with no way to jump to it.
2021-07-04[PHP] PhpStan also looks for .dist config file (#3765)Filippo Tessarotto
* [PHP] PhpStan also looks for .dist config file * Add tests
2021-07-04black fixer: --pyi option was appended without a space (#3759)Buck Evan
2021-07-04Use filter pattern instead of regex for tags filter in CI workflow (#3802)Linda_pp
since regex is not supported for filtering paths, tags and branches. - Document: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet - Answer by GitHub staff: https://github.community/t/using-regex-for-filtering/16427/2
2021-07-03Add stylua fixer for lua (#3789)Robert Liebowitz
2021-07-03Change default of go_staticcheck_lint_package to 1 (#3799)Yuxuan 'fishy' Wang
Fixes https://github.com/dense-analysis/ale/issues/3798.