diff options
author | taylorskalyo <taylorskalyo@users.noreply.github.com> | 2017-03-30 18:21:37 -0400 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-03-30 23:21:37 +0100 |
commit | 36f9631512fe164ae115c4a216d3cddbf81e6daa (patch) | |
tree | 053e4741faeb285bf34d880a539c803f789f67ee /ale_linters/ruby/rubocop.vim | |
parent | 3a74d242f9b2b09dd066e5cfd6ed9a0149395b87 (diff) | |
download | ale-36f9631512fe164ae115c4a216d3cddbf81e6daa.zip |
Add options to facilitate linting only in normal mode (#425)
* [#420] Add options to facilitate linting only in normal mode
ale_lint_on_text_changed:
Allow setting to 'insert' or 'normal' to lint when text is changed only in
insert or normal mode respectively.
ale_lint_on_insert_leave:
This flag can be set to 1 to enable linting when leaving insert mode.
* [#420] Test updated global options
Ale should
- bind to TextChanged events when g:ale_lint_on_text_changed = 1
- bind to TextChanged events when g:ale_lint_on_text_changed = 'always'
- bind to InsertLeave event when g:ale_lint_on_insert_leave = 1
Diffstat (limited to 'ale_linters/ruby/rubocop.vim')
0 files changed, 0 insertions, 0 deletions