diff options
author | Khaveesh N <khaveesh@gmail.com> | 2020-08-21 17:19:22 +0530 |
---|---|---|
committer | Khaveesh N <khaveesh@gmail.com> | 2020-08-21 17:19:22 +0530 |
commit | 4bece27bd4f7a5645235b308b121fdae01fb3ab1 (patch) | |
tree | 22460dd4b6b31ed6e37346a369bf39521c815160 /autoload | |
parent | 2b785688ead505dcbc1007374d3dca9914aa247a (diff) | |
download | ale-4bece27bd4f7a5645235b308b121fdae01fb3ab1.zip |
refactor(Fixer): Change latexindent to read from stdin instead of temporary file
This is a better strategy as it avoids creating temporary files and the delay that follows
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/fixers/latexindent.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/autoload/ale/fixers/latexindent.vim b/autoload/ale/fixers/latexindent.vim index b0a0884a..54f1231e 100644 --- a/autoload/ale/fixers/latexindent.vim +++ b/autoload/ale/fixers/latexindent.vim @@ -10,9 +10,7 @@ function! ale#fixers#latexindent#Fix(buffer) abort return { \ 'command': ale#Escape(l:executable) - \ . ' -l -w' + \ . ' -l' \ . (empty(l:options) ? '' : ' ' . l:options) - \ . ' %t', - \ 'read_temporary_file': 1, \} endfunction |