#857 - Add b:ale_fix_on_save for controlling fixing on save for specific buffers

This commit is contained in:
w0rp
2017-10-30 22:19:57 +00:00
parent 1575b3d7dd
commit 50f7ad3552
7 changed files with 58 additions and 37 deletions

View File

@@ -669,6 +669,7 @@ g:ale_fixers *g:ale_fixers*
g:ale_fix_on_save *g:ale_fix_on_save*
b:ale_fix_on_save *b:ale_fix_on_save*
Type: |Number|
Default: `0`
@@ -679,6 +680,9 @@ g:ale_fix_on_save *g:ale_fix_on_save*
after files are fixed, only when the buffer is open, or re-opened. Changes
to the file will be saved to the file on disk.
Fixing files can be disabled or enabled for individual buffers by setting
`b:ale_fix_on_save` to `0` or `1`.
g:ale_history_enabled *g:ale_history_enabled*