thoughtbot / dotfiles

A set of vim, zsh, git, and tmux configuration files.
https://thoughtbot.com
Other
7.99k stars 1.86k forks source link

fix: set g:ale_lint_on_text_changed before ale is loaded #683

Closed zhengpd closed 2 years ago

zhengpd commented 3 years ago

ALE's ale_lint_on_text_changed option must be set before ALE is loaded, otherwise it's not working. That option is only used when ALE is initialized. Ref https://github.com/dense-analysis/ale/blob/b91c6c2edd20794ad5637b561ed4c678647a76e5/autoload/ale/events.vim#L97