Commit Graph

1454 Commits

Author SHA1 Message Date
w0rp
a16f060481
Close #4442 - Use Neovim diagnostics by default
Use Neovim's diagnostics API by default in recent enough Neovim
versions. This will make problems found by ALE play nicely with problems
found by other tools.
2023-09-09 16:34:55 +01:00
w0rp
0a135456a6
Clean up documentation typos and formatting 2023-09-09 15:40:30 +01:00
w0rp
e4411276a5
#4442 Configure signs in Neovim diagnostics
Respect ALE's options to enable/disable signs in Neovim diagnostics,
and use ALE's priority setting.
2023-09-08 23:54:16 +01:00
w0rp
108e858d61
Update minimum supported NeoVim version to 0.6.0
Stop officially supporting NeoVim versions below 0.6.0, without
necessarily breaking ALE for people using older versions.
2023-09-07 20:01:31 +01:00
w0rp
14350dbb0d
Close #3368 - Supercharge :ALEInfo
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-06 00:21:58 +01:00
w0rp
551fbcfb09
Add an option to save hidden buffers
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-06 00:17:27 +01:00
w0rp
8ba7ae818c
Close #4461 - Use rust-analyzer by default
Use rust-analyzer by default instead of rls, as rls has been deprecated.
2023-09-05 21:45:34 +01:00
Henrique Barcelos
64ddf457e1
Feature: add forge fmt as a fixer for Solidity files (#4598)
* feat: add `forge fmt` as a fixer for Solidity
2023-09-05 18:34:39 +01:00
Matheus Werny
951b280bd5
yamlfmt (#4587)
* Added the fixer, wrote tests and tested it
2023-08-15 10:15:06 +01:00
Peter Benjamin
0bc2ea0800
docs: fix typo (#4567)
Closes #4517

Co-authored-by: Peter Benjamin <peterbenjamin@peters-mbp.lan>
2023-08-01 21:23:53 +01:00
Peter Benjamin
18cd44c57d
feat(markdown): add marksman lsp (#4565)
* 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-08-01 21:23:02 +01:00
Arash Mousavi
93a4f70414
Add erb-formatter support (#4546) 2023-07-24 21:38:52 +09:00
Craig Rodrigues
3d10770387
Remove gometalinter support (#4534)
gometalinter has been deprecated, and was archived in 2019
2023-07-24 21:33:15 +09:00
Craig Rodrigues
f34016a552
feat: enable golangci-lint by default (#4536)
This replaces golint and gometalinter which are both deprecated
2023-07-24 21:30:00 +09:00
Arnold Chand
32e1417d98
fix(vue): volar v1 support (#4552)
* fix: volar v1 support

* fix: volar linter errors
2023-07-24 10:08:11 +09:00
Ben Boeckel
1084152a11
ale-rust: add an example for rust-analyzer configuration (#4559)
Closes: #4557
2023-07-24 09:35:54 +09:00
Craig Rodrigues
29e5ffe35a
Remove golint supported-tools (#4535)
golint has been deprecated and was archived in 2019
2023-06-27 18:52:50 +09:00
Nathan Henrie
c0eff9f2f1
Mention deadnix in supported tools (#4528)
Deadnix support was added in
https://github.com/dense-analysis/ale/pull/4443 but it seems not to have
been mentioned in the lists of supported tools.
2023-06-09 10:56:53 +09:00
Shad
a46121a532
Dockerlinter (#4518)
* dockerlinter support

* Tests & ShellCheck reference

* sort and align docs
2023-05-22 11:58:59 +09:00
bretello
5c803fb970
docs: fix broken link for ccls init opts (#4520)
Co-authored-by: bretello <bretello@distruzione.org>
2023-05-21 14:11:15 +09:00
lucas-str
9fe9f11521
Add support for npm-groovy-lint (#4495)
* Add support for npm-groovy-lint

* Add doc and tests for npm-groovy-lint

* Use ale#util#FuzzyJSONDecode instead of json_decode
2023-05-06 09:02:07 +09:00
Pat Brisbin
61248e1453
Add fourmolu fixer (#4501)
* 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-22 22:05:50 +09:00
Carl Smedstad
93100159a2
Add support for Bicep when installed as a plugin to Azure CLI (#4496)
* 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-13 08:51:52 +09:00
Veselin Ivanov
b0ba31f88e
remove --enable-all from golangci-lint options (#4488)
* remove --enable-all from default golangci-lint options

* update golangci-lint options documentation

* update tests to use empty golangci-lint options
2023-04-02 18:09:58 +09:00
David le Blanc
41e12fd640
Added column alignment for errors (#4473) 2023-03-31 10:50:48 +09:00
Guillermo R. Roig Carralero
7dbd3c96ac
Add support for rustywind fixer (#4477) 2023-03-26 15:38:24 +09:00
Albert Peschar
6ae26df22b
Add deadnix linter (#4443) 2023-03-07 01:31:14 +00:00
Oskar Haarklou Veileborg
c8e9146049
Fix #3616, #3903 - Use proper floating window borders in neovim (#4417)
* Fix #3616, #3903 - Use proper floating window borders in neovim

* Compatibility w. length 6/7 ale_floating_window_border values
2023-02-21 18:25:10 +09:00
javad
f78e9d634f
Add support for llvm-mc as an assembly linter (#4446) 2023-02-09 10:49:24 +09:00
w0rp
4c162877e2
#2172 Auto PATH with ale_python_auto_virtualenv
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-08 09:11:31 +00:00
w0rp
f2a21c960a
Add support for lua-language-server 2023-02-08 01:14:47 +00:00
w0rp
da5fa17df1
Fix broken tag references and the broken script to check them 2023-02-07 18:41:13 +00:00
Nathan Henrie
e1ae009bac
Add alejandra for nix (#4435)
- Fixes https://github.com/dense-analysis/ale/issues/4434
2023-02-07 17:24:52 +09:00
Andreas Wachowski
45a3e3f574
Remove duplicated word in help g:ale_virtualtext_cursor (#4444) 2023-02-03 17:25:49 +00:00
vindex10
98f466f9ce
add eslint plugin html for linting js in html files (#4428)
* add eslint plugin html for linting js in html files

* fix linting
2023-02-02 14:13:52 +09:00
Ben Boeckel
116d713f63
diagnostics: support sending ALE output to Neovim's diagnostics API (#4345)
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-29 17:25:09 +00:00
Sean Enck
0af4899605
Add gopls format as a Go fixer 2023-01-28 00:20:29 -07:00
Yining
b6f6d84c25
add: pycln as a python linter and fixer (#4415)
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-27 10:24:18 +09:00
w0rp
a18472cc58
Close #4401 - Use subtle defaults for virtual-text
Default virtual-text to the Comment highlight group and prefix
virtual-text messages with comment text for each language by default.

Messages can now be formatted with `%type%` to print the error type.

The Vim 9.0 version has been updated in the Docker image to add test
coverage for virtual-text.
2022-12-27 23:11:53 +00:00
w0rp
fe61e00040
Fix #4400 - Separate virtual text highlight groups to avoid errors 2022-12-27 15:36:35 +00:00
w0rp
9f2a000237
Close #4396 - Enable virtualtext by default
Wherever it's supported, enable virtualtext by default.
2022-12-25 20:18:47 +00:00
w0rp
300ea232de
Close #4397 - Add human-readable values for g:ale_virtualtext_cursor 2022-12-25 19:29:16 +00:00
w0rp
522b5d0433
Fix markdownlint documentation 2022-12-25 15:47:30 +00:00
w0rp
2ae04b310a
Enable ruff for Python by default 2022-12-25 15:13:10 +00:00
w0rp
87b4ab4e20
Document how to create ALE releases 2022-12-24 22:16:36 +00:00
Yining
8bcbb29958
fix: #4356 Missing racket documentation (#4384)
This commit adds vim help docs for `raco_fmt` and `racket-langserver`.
2022-12-10 11:51:50 +09:00
Yining
cad8f8e683
add: support for refurb as a Python linter (#4379)
this commit adds refurb as a Python linter, together with some tests
and documentation. it should fix issue: #4362

refurb repo: https://github.com/dosisod/refurb
2022-12-06 21:26:09 +09:00
Matheus
5ce2bf84ca
Added support for more file types for clang-format. (#4367) 2022-11-25 13:16:16 +00:00
Horacio Sanson
3e460fa93b
Fix 4246 - Add ansible language-server (#4355) 2022-11-25 13:13:38 +00:00
Horacio Sanson
cbf7045eee
Fix 4324 - add neovim 0.8 test (#4325)
* Fix 4324 - add neovim 0.8 test
* Update vim testbed image
* Update documentation

Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2022-11-25 12:55:31 +00:00