dense-analysis / dense-analysis/ale
Add support for `g:ale_fix_on_save_only` and `g:ale_fix_<syntax>_on_save_only`
Open
enhancement
- Dominant language
- Vim Script
- Stars
- 14k
- Forks
- 1.5k
- Avg merge
- 17h 49m
- Merged PRs (30d)
- 1
Description
Currently we can only ignore fixers on save with `g:ale_fix_on_save_ignore`. However to my knowledge there is no option to automatically run only certain fixers, like e.g. `'remove_trailing_lines', 'trim_whitespace'`.
It would be nice to have the following options:
1. `g:ale_fix_on_save_only`: list of fixers always running on save
2. `g:ale_fix__on_save_only`: list of fixers for a certain syntax always running on save.
This would give a very finegrained control of when to run what fixers automatically.
Contributor guide
Assessment
This issue has not been assessed yet.