mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
Fix #2711 - Fix writing to files on save
This commit is contained in:
@@ -47,7 +47,7 @@ function! ale#fix#ApplyQueuedFixes(buffer) abort
|
|||||||
set nomodified
|
set nomodified
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
call writefile(l:new_lines, expand(a:buffer . ':p')) " no-custom-checks
|
call writefile(l:new_lines, expand('#' . a:buffer . ':p')) " no-custom-checks
|
||||||
call setbufvar(a:buffer, '&modified', 0)
|
call setbufvar(a:buffer, '&modified', 0)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user