summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2022-02-18Use defaults working with stable rustc (#4086)fix/use_stable_rustcos
Change default value of `ale_rust_rustc_options` to options available with the stable toolchain.
2022-02-08fix: duplicate tags in doc (#4059)Sébastien NOBILI
* fix: duplicate tag in doc * fix: duplicate tags in doc Co-authored-by: Sébastien NOBILI <code@pipoprods.org>
2022-02-08Dispatch textDocument/didChange after rename (2) (#4049)Jerko Steiner
* Dispatch textDocument/didChange after rename Previously whenever we renamed a symbol that was referenced from other files we'd just edit those files in the background, and the LSP wouldn't know about these changes. If we tried to rename the same symbol again, the renaming would fail. In some scenarios, the operation would just be wrong. Here is an attempt to fix this issue. I also noticed another bug when using Go with `gopls` LSP and the `gofmt` fixer. Whenever the file was saved, the `gofmt` would run and reformat the file. But it seems there was some kind of a race condition so I disabled saving for now, and all of the modified files will be unsaved, so the user should call `:wa` to save them. I personally like this even better because I can inspect exactly what changes happened, and I instantly see them in the other opened buffers, which was previously not the case. Fixes #3343, #3642, #3781. * Address PR comments * Remove mode tests in corner case tests * Address PR comments * Save after ALERename and ALEOrganizeImports Also provide options to disable automatic saving, as well as instructions to enable `set hidden` before doing that. * Fix broken test * Save only when !&hidden * Update doc * Update doc * Add silent
2022-02-08Add a unimport linter for Python files (#4058)Jon Parise
Unimport (https://github.com/hakancelik96/unimport/) is a linter, formatter for finding and removing unused import statements. This introduces linting support, although fixer support could come later.
2022-02-06Add CMake linter cmake-lint (#4036)Carl Smedstad
* Add CMake linter cmake-lint Add support for the CMake linter provided by https://github.com/cheshirekow/cmake_format. * Escape cmake-lint executable and add linter tests
2022-02-06Add oelint-adv support (#4043)offa
2022-02-05Allows to use quickfix for references. (#4033)Dalius Dobravolskas
* Allows to use quickfix for references. E.g. following mapping could be used to find references for item under cursor and put result into quickfix list: ``` nnoremap <leader>af :ALEFindReferences -quickfix<CR> ``` Fixes #1759 * Documentation update.
2022-02-04Treat ale_open_list integer values as thresholds (#4050)nospam2998
Only open list window if the number of warnings or errors equals to or exceeds the value of ale_open_list. No change when set to `1`. Co-authored-by: cos <cos>
2022-02-04Add ALEPopulateQuickfix and ALEPopulateLocList (#3761)David Briscoe
Closes #1810 Add ALEPopulateQuickfix and ALEPopulateLocList. They're not very useful with ale's default auto-populate behaviour, so their useful configuration is described in help.
2022-02-04doc: Clarify the types of process_with (#4039)David Briscoe
2022-02-04Add `naga` linter for WGSL support (#4047)Linda_pp
* Add WGSL support using `naga` command * Add documents for wgsl * Add test for `naga` linter * Separate naga handler callback to hanlder/naga.vim
2022-02-03enable using cpplint for c (#3008)Justin Huang
* enable using cpplint for c * fix tag alignment * fix tag alignment trial #2 Co-authored-by: Justin Huang <justin.huang@perceive.io>
2022-02-02Allow to configure haskell-language-server LSP config (#4038)Tomáš Janoušek
2022-01-07Add yaml-language-server support for YAML (#2874) (#4029)Jeffrey Lau
2022-01-05Fix 3838 - deprecate datanalyzer (#3839)Horacio Sanson
Co-authored-by: Horacio Sanson <horacio@allm.inc>
2022-01-05Fix 4025 - Allow to configure texlab LSP settings (#4027)Horacio Sanson
* Fix 4025 - Allow to configure texlab LSP settings * Fix ale_tex_texlab_config type in help
2022-01-04Add dprint fixer (#4024)Nathan
* Add dprint fixer * Fix windows tests * dd dprint documentation
2021-12-17ALEFileRename command added. (#4012)Dalius Dobravolskas
* ALEFileRename command added. This command renames file and uses tsserver `getEditsForFileRename` to fix import paths in Typescript files. * ale#util#Input fix * Even more fixes. * Linting error fix.
2021-12-11add support for checkov for linting terraform files (#4006)thyme-87
* add support for checkov for terraform * add tests for checkov handler * add basic linter config tests for checkov * update supported tools and languages lists * simplify ale_linters#terraform#checkov#Handle * ensure "-o json --quiet" is always set for checkov * add documentation for checkov including config options * fix tests after changing handling of default options for checkov * add checkov to list of tools in doc/ale.txt
2021-11-21Add volar support for vue (#3992)Arnold Chand
* feat-draft: inital volar setup * feat(volar): add documentation * feat(volar): include default init opts * feat(volar): add initial tests * fix(volar): add possible project roots * fix(volar): tests - use empty files
2021-11-19Add cspell Linter (#3981)David Houston
* Add cspell linter Add cspell linter, with the languages it supports. Signed-off-by: David Houston <houstdav000@gmail.com> * Add cspell Global Variables Documentation Add documentation to /doc/ale.txt with cspell configuration options. Signed-off-by: David Houston <houstdav000@gmail.com> * Add cspell to docs, Minor Cleanup Add cspell for each supported language, adding some spaces and removing others when caught navigating the file. Signed-off-by: David Houston <houstdav000@gmail.com>
2021-11-18Rewrite Alex Integration to Use stdin (#3982)David Houston
Since having been added, the `alex` tool has added support for linting on stdin. Rewrite this integration to reduce the number of tools requiring disk-write access. Signed-off-by: David Houston <houstdav000@gmail.com>
2021-11-18Adds PHPActor Linter (LSP) (#3975)Arie Oldman
* Adds phpactor lsp linter * Fixes missing comma * Adds tests for phpactor lsp linter * Adds note that this part is not my own work * Removes unused variable * Adds phpactor to supported tools list * Fixes doc sorting * Wraps phpactor in code tags
2021-11-15Add support for AVRA linting (#3950)Utkarsh Verma
* Add support for AVRA linting * Add tests for AVRA linting and improve code * Fix test * Fix warning detection * Fix test * Fix test * Add AVRA as a supported language in docs
2021-11-12Adds --memory-limit support for phpstan (#3973)Arie Oldman
* Adds --memmory-limit option for PHPStan linter * Updates docs for phpstan --memory-limit option. * Adds Arizard to authors * Adds test for phpstan memory limit parameter * Fixes order of parameters in test * Changes dash to underscore
2021-11-12Implement statix Linter and Fixer (#3969)David Houston
* Add Statix for Linting Add `statix check` as a linter. Provides a simple set of definition tests additionally. Variable names specify "check" to allow for later addition of `statix fix` as a formatter once stream support is added. Signed-off-by: David Houston <houstdav000@gmail.com> * Fixup Supported Tools List I didn't realise there were two separate lists of tools, so add statix to the other list. Also, remembered "S" comes after "R", and so re-ordered it. Signed-off-by: David Houston <houstdav000@gmail.com> * Fix statix Test File I refactored the variables for statix to allow for writing a fixer later, and forgot to update them in the test, so update them now. Also remove a stray "i", add missing space before checks Signed-off-by: David Houston <houstdav000@gmail.com> * Update Output Stream for v0.4.0 statix v0.4.0 provides a breaking change of output stream from stderr to stdout. Signed-off-by: David Houston <houstdav000@gmail.com> * Add statix fix Fixer Implement statix fix as a fixer for simple Nix antipatterns. Signed-off-by: David Houston <houstdav000@gmail.com> * Fix statix Fixer Tests Fix the statix fixer tests by removing the unnecessary 'read_temporary_file' value from the command, since it simply uses the default value. Signed-off-by: David Houston <houstdav000@gmail.com> * Add statix Handler Test Add a test for the statix handler per @hsanson's request. Signed-off-by: David Houston <houstdav000@gmail.com> * Fix to run only on stdin for linting Signed-off-by: David Houston <houstdav000@gmail.com>
2021-11-09Implement gofumpt Fixer (#3968)David Houston
* Implement gofumpt Fixer Add an implementation with test and documentation for the gofumpt go code formatter, a stricter formatter than your standard "go fmt". Signed-off-by: David Houston <houstdav000@gmail.com> * Add gofumpt to ale.txt TOC Forgot to add gofumpt to the ALE vim help Table of Contents, so do so. Signed-off-by: David Houston <houstdav000@gmail.com> * Fix Test Setup Method Capitalization I had put "Setup" instead of "SetUp" for "ale#assert#SetUpFixerTests". Fix such. Signed-off-by: David Houston <houstdav000@gmail.com> * Fix typos Add a missing space, remove an extra bracket by actually running tests locally first. Would've been smart to do that from the beginning... Signed-off-by: David Houston <houstdav000@gmail.com>
2021-10-24Add support for zeek (#3952)Benjamin Bannier
2021-10-09Add support for erblint (#3931)Roeland
* support for erblint * fix tests * test for handler * wrong names * typo * doc layout * CI failed?
2021-10-02Add flakehell python linter (#3295) (#3921)a666
2021-10-02feat: add deno lsp for javascript (#3924)Arnold Chand
* feat(js/deno): add deno lsp * fix(doc/typescript): typo * feat(doc/javascript): add deno lsp information * feat(doc/supported-tools): add deno to js list, sorted * fix(doc/javascript): update ToC and supported tools w/ deno
2021-10-02Implement virtual text support for vim (#3915)Magnus Groß
This requires the textprop and popupwin feature (vim 8.2). Fixes #3906
2021-09-21Add support for jsonnetfmt and jsonnet-lint (#3907)Trevor Whitney
* update to lates Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com> * fix up docs Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com> * fix docs Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com> * get tests passing Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com> * update regex Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com> * use ale#Pad and AssertFixer Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
2021-09-16Update ALE test docs to mention NVim 0.5 (#3904)Horacio Sanson
2021-09-15[ale-python-root] add `.pyre_configuration.local` to list of files (#3900)Oliver Albertini
Without this, we have one `pyre` process running across different pyre projects. With this change, files in different projects can be linted with pyre at the same time. Co-authored-by: Oliver Ruben Albertini <ora@fb.com>
2021-09-11Robot framework rflint support (#3715)Samuel Branisa
* Create rflint.vim support for robot framework by creating ale definition for rflint syntax linter * robot framework - rflint support
2021-09-10Fix 3897 - add poetry to isort (#3898)Horacio Sanson
Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-09-05Introduce an ALELSPStarted autocommand (#3878)Jon Parise
This User autocommand is trigged immediately after an LSP process is successfully initialized. This provides a way to perform any additional initialization work, such as setting up buffer-level mappings.
2021-08-25Add fixer for "dotnet format" (#3879)Jelte Fennema
The .NET ecosystem has an official tool for formatting its files: `dotnet format` This adds support for that tool to ALE.
2021-08-21Close #3872 - Add eslint-plugin-jsonc as a linter for JSON, JSONC and JSON5 ↵João Pesce
(#3873) * Add eslint as linter for JSON, JSONC and JSON5 Use the same lint configuration as eslint for javascript. * Add documentation for JSON* eslint support * Fix spacing in documentation * Update docs to be unopinionated about plugins Remove any preference for eslint plugins, since there are more thant one that would work * Reorder languages and tools in alphabetic order * Fix misalignment * Change orders to pass the tests
2021-08-09Dhall fixes: use stdin, doc errors (#3868)toastal
* purs-tidy * Dhall fixes: use stdin, docs errors
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-04Add a thriftcheck linter (#3852)Jon Parise
ThriftCheck (https://github.com/pinterest/thriftcheck) is a linter for Thrift IDL files.
2021-08-03Add missing space before function reference (#3849)Jon Parise
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>