summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2023-09-08#4454 Clean up root test directory testsw0rp
Combine cases into smaller tests of tests and remove tests we no longer need. Linter tests have been moved to where they should be.
2023-09-07Attempt running Windows rests relative to GitHub dirw0rp
2023-09-07Update minimum supported NeoVim version to 0.6.0w0rp
Stop officially supporting NeoVim versions below 0.6.0, without necessarily breaking ALE for people using older versions.
2023-09-06Close #3368 - Supercharge :ALEInfow0rp
Make a series of sweeping changes to make :ALEInfo more useful. 1. Deprecate :ALEInfoToClipboard and support :ALEInfo -clipboard 2. Permit :ALEInfo -clip as a shorthand for :ALEInfo -clipboard 3. Support :ALEInfo -preview to render in the preview window 4. Support :ALEInfo -echo for the classic :ALEInfo mode 5. Change the default mode to 'preview', and make it configurable 6. Add syntax highlighting for ALEInfo in preview mode 7. Add a convenience to look up documentatation that explains itself 8. Don't show an empty 'Linter Variables' section
2023-09-06Add an option to save hidden buffersw0rp
When commands are run, it can be useful to just save the hidden buffers so language servers immediately get updated with changes to files without you having to manually save each file. You can now enable this by setting `g:ale_save_hidden` to `1`.
2023-09-05Close #4461 - Use rust-analyzer by defaultw0rp
Use rust-analyzer by default instead of rls, as rls has been deprecated.
2023-09-05Feature: add `forge fmt` as a fixer for Solidity files (#4598)Henrique Barcelos
* feat: add `forge fmt` as a fixer for Solidity
2023-09-05fix(neovim): ignore unrelated diagnostics (#4597)xu0o0
Fix the NeoVim diagnostics bridge so it only sends over diagnostics relevant to the current buffer.
2023-09-05fix(yaml): make actionlint respect config (#4584)Peter Benjamin
* fix(yaml): make actionlint respect config * docs: update actionlint docs * chore: update author & add description * test: move actionlint test to test/linter/
2023-08-20Support format xml file which haven't yet persisted at the disk (#4585)jiz4oh
Support format xml file which haven't yet persisted at the disk
2023-08-20Fix typo in filename (#4595)ymap
2023-08-15Fix error loading "text" syntax for hover (#4574)Tomáš Janoušek
rust-analyzer sometimes returns a hover result with language being "text", but there's no syntax/text.vim, so this would fail with: Error detected while processing function <SNR>150_VimOutputCallback[6]..<lambda>8[1]..ale#lsp#HandleMessage[30]..ale#hover#HandleLSPResponse[42]..ale#floating_preview#Show[13]..<SNR>161_VimShow: line 13: E484: Cannot open file syntax/text.vim Only including the file when it actually exists fixes this.
2023-08-15yamlfmt (#4587)Matheus Werny
* Added the fixer, wrote tests and tested it
2023-08-01feat(markdown): add marksman lsp (#4565)Peter Benjamin
* feat(markdown): add marksman lsp * docs: add marksman docs * test(markdown): add marksman test Co-authored-by: Peter Benjamin <peter.benjamin@peter.benjamin-FVFHP2WSQ05Q>
2023-07-25Communicate support for markdown to the lsp server (#4450) (#4453)Wooter
2023-07-24fixed parsing errors when certain options are used in glslangValidator (#4540)JoseGRuiz
* fixed parsing errors when certain options are used in glslang * Update glslang.vim set column number to 0 like it is always set by glslangValidator * Added a test for the handler of glslangValidator
2023-07-24Add erb-formatter support (#4546)Arash Mousavi
2023-07-24Remove gometalinter support (#4534)Craig Rodrigues
gometalinter has been deprecated, and was archived in 2019
2023-07-24feat: enable golangci-lint by default (#4536)Craig Rodrigues
This replaces golint and gometalinter which are both deprecated
2023-07-24Add end_col of matched forbidden word (#4556)LittleKey
2023-07-24fix(vue): volar v1 support (#4552)Arnold Chand
* fix: volar v1 support * fix: volar linter errors
2023-06-27Remove golint supported-tools (#4535)Craig Rodrigues
golint has been deprecated and was archived in 2019
2023-06-27feat: support Bazel `buildifier` linter (#4529)Chuck Grindel
* Initial buildifier linter files * Add handler test * Fix test when options are not set
2023-06-27Update cairo linter to Cairo 1.0 (#4530)0xHyoga
* update cairo linter * new cairo handler test * add another handler instead of replacing
2023-05-26🐛 Fix a Ruby deprecation warning in the ERB linter (#4521)Rob Whittaker
* Fix a Ruby deprecation warning in the ERB linter Before, the ERB linter used positional arguments. Newer versions of Ruby have deprecated this method signature. We fixed the linter to use keyword arguments. * fixup! Fix a Ruby deprecation warning in the ERB linter
2023-05-22Dockerlinter (#4518)Shad
* dockerlinter support * Tests & ShellCheck reference * sort and align docs
2023-05-06Add support for npm-groovy-lint (#4495)lucas-str
* Add support for npm-groovy-lint * Add doc and tests for npm-groovy-lint * Use ale#util#FuzzyJSONDecode instead of json_decode
2023-04-22Add fourmolu fixer (#4501)Pat Brisbin
* Add fourmolu fixer Fourmolu is aversion of Ormolu that supports configuration. This fixer was modeled after the Ormolu one, but using the "stack executable" approach of the Brittany and Stylish Haskell fixers. * Sort supported-tools.md
2023-04-13Fix 4490 - Fix pyright not running with poetry (#4491)Horacio Sanson
* Fix 4490 - Fix pyright not running with poetry * Fix tests
2023-04-13Add support for Bicep when installed as a plugin to Azure CLI (#4496)Carl Smedstad
* Add support for Bicep when installed as a plugin to Azure CLI The compiler for Microsoft's DSL Bicep can be installed both independently and as a plugin to Azure CLI. The latter is probably how most people install it. The program output is the same but Azure CLI wraps the arguments and has a slightly different interface, hence I opted to copy the old linter and modify it to match the plugin arguments. * Fix bicep/az_bicep tests, arguments and parsing * Actually test the ale_linters#bicep#az_bicep#Handle function in the test that should test that function, not ale_linters#bicep#bicep#Handle. * Use the same method as in bicep/bicep for discarding output file, i.e. by specifying --outfile to a null file. * Fix parsing of occasionally occurring leading error type (such as 'ERROR: '). * Correct option defaults for bicep & az_bicep specified in documentation
2023-04-07Fix error from ansible-lint versions >=6.11.0. (#4492)SkrrtBacharach
* Fix error from ansible-lint versions >=6.11.0. The JSON output format of ansible-lint has changed since 6.11.0. Issue locations can have either a 'positions' or a 'lines' member, rather than just a 'lines' member as it was before. This fix checks which member is present, and passes that member name to subsequent dictionary lookups. The error was caused by the following change: https://github.com/ansible/ansible-lint/pull/2897 * Add ansible-lint test to check each type of ansible-lint issue json. * Change long single-line JSON in ansible test into multiline JSON. * Fix linting errors in ansible_lint.vim.
2023-04-02remove `--enable-all` from golangci-lint options (#4488)Veselin Ivanov
* remove --enable-all from default golangci-lint options * update golangci-lint options documentation * update tests to use empty golangci-lint options
2023-03-26Add support for `rustywind` fixer (#4477)Guillermo R. Roig Carralero
2023-03-14Fix `ale#util#GetBufferContents` and propagate use (#4457)Wilson E. Alvarez
* Use newline characters instead in ale#util#GetBufferContents * Propagate use of ale#util#GetBufferContents * Add ale#util#GetContentBuffer test
2023-03-07Fix windows virtualenv PATH testsw0rp
2023-03-07#2172 - Expand PATH in the shell for automatic virtualenvw0rp
2023-03-07Add deadnix linter (#4443)Albert Peschar
2023-02-13Ignore shellcheck error in run-vader-testsw0rp
2023-02-09Add support for llvm-mc as an assembly linter (#4446)javad
2023-02-08Fix CI BSw0rp
2023-02-08#2172 Auto PATH with ale_python_auto_virtualenvw0rp
Automatically set `PATH` for some Python linters that seem to need it when g:ale_python_auto_virtualenv or b:ale_python_auto_virtualenv is `1`.
2023-02-08Close #4389 - Run pyright via poetry, pipenv, venvw0rp
Add support for automatically detecting and running Pyright via poetry, pipenv, and virtualenv directories just like we do with flake8.
2023-02-08Add support for lua-language-serverw0rp
2023-02-07Fix broken tag references and the broken script to check themw0rp
2023-02-07Add alejandra for nix (#4435)Nathan Henrie
- Fixes https://github.com/dense-analysis/ale/issues/4434
2023-02-02phpstan: set cwd to configuration file directory (#4422)Albert Peschar
PHPStan will only detect a configuration file in the current working directory, so set that to the directory in which ALE finds the configuration file.
2023-01-29diagnostics: support sending ALE output to Neovim's diagnostics API (#4345)Ben Boeckel
Support replacing ALE's display of problems with sending problems to the Neovim diagnostics API. :help g:ale_use_neovim_diagnostics_api Co-authored-by: David Balatero <dbalatero@users.noreply.github.com> Co-authored-by: Georgi Angelchev <angelchev@live.co.uk> Co-authored-by: w0rp <devw0rp@gmail.com>
2023-01-28Add `gopls format` as a Go fixerSean Enck
2023-01-27add: pycln as a python linter and fixer (#4415)Yining
this commit adds pycln as a Python linter and fixer, together with some tests and documentation. It addresses #4340 pycln repo: https://github.com/hadialqattan/pycln
2023-01-27fix(ale_linters: python: ruff): add --stdin-filename if version > 0.0.69 (#4414)Actionless Loveless