summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-09-19 20:32:33 +0100
committerw0rp <devw0rp@gmail.com>2019-09-19 20:32:33 +0100
commitdd6bd6f0fe613b495c5c214e1fcdf88894f85637 (patch)
tree1a746e61598ed7ab0b09b222ccd0fd1ce8123f85 /autoload
parent529f57a66f3bffc1c1681eeb12ddaaf2aa4f459f (diff)
downloadale-dd6bd6f0fe613b495c5c214e1fcdf88894f85637.zip
Fix #2711 - Fix writing to files on save
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fix.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/fix.vim b/autoload/ale/fix.vim
index 9987fbdd..1977e496 100644
--- a/autoload/ale/fix.vim
+++ b/autoload/ale/fix.vim
@@ -47,7 +47,7 @@ function! ale#fix#ApplyQueuedFixes(buffer) abort
set nomodified
endif
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)
endif
endif