mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-11 07:39:14 +08:00
Fix the tests for the fix on save feature
This commit is contained in:
1 parent
ec3ddce4ac
commit
c2138a2656
2 files changed
+6
-1
No files matched your search
@@ -40,7 +40,11 @@ function! ale#fix#ApplyQueuedFixes() abort
|
||||
endif
|
||||
|
||||
if l:data.should_save
|
||||
noautocmd :w!
|
||||
if empty(&buftype)
|
||||
noautocmd :w!
|
||||
else
|
||||
set nomodified
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user