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
This commit is contained in:
Khaveesh N 2020-08-21 17:19:22 +05:30
parent 2b785688ea
commit 4bece27bd4
No known key found for this signature in database
GPG Key ID: CB82DEC6404CD52E
1 changed files with 1 additions and 3 deletions

View File

@ -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