mirror of
https://github.com/dense-analysis/ale.git
synced 2026-07-29 19:26:46 +08:00
CI / Build (push) Canceled after 0s
CI / Neovim 0.10 Windows (push) Canceled after 0s
CI / Neovim 0.12 Windows (push) Canceled after 0s
CI / Vim 8.2 Windows (push) Canceled after 0s
CI / Vim 9.2 Windows (push) Canceled after 0s
CI / Lint (push) Canceled after 0s
CI / Lua (push) Canceled after 0s
CI / Neovim 0.10 Linux (push) Canceled after 0s
CI / Neovim 0.12 Linux (push) Canceled after 0s
CI / Vim 8.2 Linux (push) Canceled after 0s
CI / Vim 9.2 Linux (push) Canceled after 0s
* astgrep: support its LSP Fixes: #4974 * astgrep: add a fixer
44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
===============================================================================
|
|
ALE Generic Integration *ale-generic-options*
|
|
*ale-integration-generic*
|
|
|
|
===============================================================================
|
|
Integration Information
|
|
|
|
Some tools are not language specific. This document collects information on
|
|
ale's support for these tools.
|
|
|
|
|
|
===============================================================================
|
|
astgrep *ale-generic-astgrep*
|
|
|
|
`'ast-grep'` is a tool which can detect code patterns and offer fixes based
|
|
on various languages' abstract syntax trees (ASTs) using tree-sitter.
|
|
|
|
*ale-options.astgrep_executable*
|
|
*g:ale_astgrep_executable*
|
|
*b:ale_astgrep_executable*
|
|
astgrep_executable
|
|
g:ale_astgrep_executable
|
|
Type: |String|
|
|
Default: `'ast-grep'`
|
|
|
|
This variable can be modified to change the executable path for
|
|
`ast-grep`.
|
|
|
|
|
|
*ale-options.astgrep_scan_options*
|
|
*g:ale_astgrep_scan_options*
|
|
*b:ale_astgrep_scan_options*
|
|
astgrep_scan_options
|
|
g:ale_astgrep_scan_options
|
|
Type: |String|
|
|
Default: `'--update-all'`
|
|
|
|
This variable can be modified to change the options when applying rules with
|
|
the `ast-grep scan` command.
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|