#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

@@ -131,7 +131,13 @@ Execute(ALEToggle should reset everything and then run again):
AssertEqual [], getloclist(0), 'The loclist was not cleared'
AssertEqual [0, []], ale#sign#FindCurrentSigns(bufnr('%')), 'The signs were not cleared'
AssertEqual [], getmatches(), 'The highlights were not cleared'
AssertEqual ['ALECleanupGroup', 'ALEHighlightBufferGroup'], ParseAuGroups()
AssertEqual
\ [
\ 'ALECleanupGroup',
\ 'ALEHighlightBufferGroup',
\ 'ALERunOnSaveGroup',
\ ],
\ ParseAuGroups()
" Toggle ALE on, everything should be set up and run again.
ALEToggle