summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-31Add new demo video to READMEw0rp
2022-12-30Fix #4408 - Trigger floating preview autocommand on BufWinLeave and ↵Leon
WinScrolled (#4409)
2022-12-28nix: durably handle versions before 2.4 (#4398)Antonio Gurgel
What I should have done in 4394. Idea: @w0rp
2022-12-27Fix #4331 - Shift line 0 errors to line 1 for virtual-textw0rp
2022-12-27Close #4401 - Use subtle defaults for virtual-textw0rp
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#4400 - Remove virtual-text defaults from highlight.vimw0rp
2022-12-27Fix #4400 - Separate virtual text highlight groups to avoid errorsw0rp
2022-12-26Fix #4399 - Manage virtual-text state betterw0rp
2022-12-25Update ALE to v3.3.0w0rp
2022-12-25Close #4396 - Enable virtualtext by defaultw0rp
Wherever it's supported, enable virtualtext by default.
2022-12-25Close #4397 - Add human-readable values for g:ale_virtualtext_cursorw0rp
2022-12-25Fix markdownlint documentationw0rp
2022-12-25Enable ruff for Python by defaultw0rp
2022-12-25nix: handle versions past 2.9 (#4394)Antonio Gurgel
2022-12-24Document how to create ALE releasesw0rp
2022-12-24Fix #4388: Fix pylsp and Pyright cwdw0rp
Add functions to compute the cwd to be the same as the project root for pylsp and Pyright to work around issues in each language server when they encounter modules that share the same name as first or third party libraries.
2022-12-22fix: ruff not registered as fixer (#4393)Yining
this commit fixes the issue reported at: https://github.com/dense-analysis/ale/issues/4301#issuecomment-1359289391 it also had some code refactored and tests added for ruff as fixer (missed in PR #4347).
2022-12-10fix: #4356 Missing racket documentation (#4384)Yining
This commit adds vim help docs for `raco_fmt` and `racket-langserver`.
2022-12-06Handle empty answer of ansible-lint (#4373)Michael F. Schönitzer
* Handle empty answer of ansible-lint The variable a:lines might be empty if ansible-lint exited early, in that case json_decode would trow an error. * Use ales JSON decode function
2022-12-06add: support for refurb as a Python linter (#4379)Yining
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-11-25Added support for more file types for clang-format. (#4367)Matheus
2022-11-25fix: missing plug mapping `ale_go_to_implementation` (#4337)U1s2e3r4n5a6m7e
Co-authored-by: Tiffany <taftaftesed@gmail.com>
2022-11-25Fix 4246 - Add ansible language-server (#4355)Horacio Sanson
2022-11-25Remove a flaky smoke test we no longer needw0rp
2022-11-25Fix 4324 - add neovim 0.8 test (#4325)Horacio Sanson
* Fix 4324 - add neovim 0.8 test * Update vim testbed image * Update documentation Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2022-11-254242 update tests with vim 9 (#4366)Horacio Sanson
* Replace Vim 8.2 with Vim 9.0 in CI * Keep Windows tests on Vim 8.0 for now Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2022-11-23Fix bug in sqlfluff implementation & implement fixer support (#4365)Carl Smedstad
* Account for no sqlfluff output Avoid crashes when there isn't any output from sqlfluff. * Add supplort for sqlfluff as a fixer
2022-11-22Add rustfmt executable variable to rust docs (#4360)Joey Buiteweg
2022-11-21Implement support for SQL linter sqlfluff (#4361)Carl Smedstad
2022-11-21Markdown: allow passing custom executable for markdownlint (#4358)Götz Christ
2022-11-07Add raco_fmt fixer for Racket files (#4354)Jeremy Cantrell
* Add raco_fmt fixer for Racket files * Fix command and add test * Fix quoting
2022-11-06add: support config option for checkmake linter (#4351)Yining
`checkmake` by default checks config file "in the same folder it's executed in" unless `--config` option is set. This commit allows setting the `--config` option with an option variable (with documentation updated).
2022-11-05omni: racket should complete at end of keywords (#4352)D. Ben Knoble
Consider a file like ``` #lang racket (require racket/gui) ``` Type `Go(eventspace-`. Pressing <C-x><C-o> to trigger omnicomplete should suggest ``` eventspace-handler-thread eventspace-shutdown? eventspace-event-evt ``` It does not (instead producing "top-level" completions, as if `(eventspace-` wasn't even there). Debugging, place the cursor on a space _after_. Now `ale#completion#OmniFunc(1, '')` correctly returns `1`, but when given `(0, 'eventspace-')` it returns either the empty list or generic completion results as described above. I'm not entirely sure of the mechanism, but it seems that `b:ale_completion_info.prefix` is the key, and that this is set by `ale#completion#GetPrefix`. Calling `ale#completion#GetPrefix('racket', line('.'), col('.'))` returned `''`! Now, it returns `eventspace-` and the completions work correctly again. Ref #4293, #4186, #3870
2022-11-04Add 'dockerfile_hadolint_options' config setting (#4353)Matthew Armand
- Add this option so command line arguments can be supplied to hadolint - This will be respected when running in docker and via the executable - Preserve the --no-color and - flags, and add these to the list - Add to docs and tests
2022-10-31add: support for ruff as a Python linter and fixer (#4347)Yining
this commit adds ruff as both a Python linter and fixer, together with some tests and documentation. ruff repo: https://github.com/charliermarsh/ruff
2022-10-29Add erlang_ls linter for Erlang files (#4346)Dmitri Vereshchagin
2022-10-29Doc style fixes (#4344)Ben Boeckel
* ale.txt: fix indentation * ale.txt: fix Type and Default markup * ale.txt: use `not set` instead of `undefined` This matches the way the variables are referenced in prose about existence state.
2022-10-29codespell: fix spelling errors picked out by `codespell` (#4343)Ben Boeckel
2022-10-14test: ensure helptags runs (#4336)D. Ben Knoble
Close #4328
2022-10-12cc: fix using '-x c*-header' for header files with GCC. (#4334)Nicolas Pauss
Gcc does not support `x c*-header` when using `-` as input filename, which is what ALE does. Rework the feature to only use `-x c*-header` flag when using Clang and not GCC. The feature is now also controlled with the variable `g:ale_c_cc_use_header_lang_flag` and `g:ale_cpp_cc_use_header_lang_flag`.
2022-10-05fix: wrong config name (#4326)koka
2022-10-04Add support for tfsec Terraform linter (#4323)koka
2022-10-04Add vim 9.0 and remove 8.0 (#4271)Horacio Sanson
* Add vim 9.0 and remove 8.0 * Remove vim 8.2 and keep 8.0
2022-09-30Add fixer "css-beautify". Adjust "html-beautify." (#4319)Matheus Gabriel Werny de Lima
* Add fixer "css-beautify". Adjust "html-beautify." * Error fixes. * Added chars.
2022-09-30Added file types for dprint. (#4320)Matheus Gabriel Werny de Lima
2022-09-30Add pyright config files to project root files list (#4321)Andreas Doll
Add configuration files for pyright (JSON and TOML) to list of files which identify a project root directory. Update documentation accordingly. Co-authored-by: Andreas Doll <andreas.doll@posteo.de>
2022-09-25cc: use '-x c*-header' for header files for C and C++ linters. (#4318)Nicolas Pauss
When linting an header file in C or C++, `-x c-header` or `-x c++-header` should be used instead of `-x c` or `-x c++`. Using `-x c` or `-x c++` for headers files can lead to unused variables and functions marked as static inlined as seen in #4096. Using `-x c-header` or `-x c++-header` solve these issues. The list of file extensions that are considered as header files can be configured with the variables `g:ale_c_cc_header_exts` and `g:ale_cpp_cc_header_exts`.
2022-09-22Pass input via stdin and filename as arg to clj-kondo (#4315)Christoph Frick
This allows using linters like `:namespace-name-mismatch`. This replaces: https://github.com/dense-analysis/ale/pull/4109
2022-09-21bicep: Lint files on disk instead of buffer (#4311)Carl Smedstad
I discovered that references to other Bicep files (modules) will be broken if running on a temporary file in a different location. I've found no way of providing an alternate path when invoking the command.
2022-09-14Add support for Microsoft's DSL Bicep (#4310)Carl Smedstad
* Add support for Microsoft's DSL Bicep The compilation command 'bicep build' catches compilation errors as well as providing some lint warnings. Repository for Bicep: https://github.com/Azure/bicep * Different null file on Windows & hardcode commands