From 4bece27bd4f7a5645235b308b121fdae01fb3ab1 Mon Sep 17 00:00:00 2001 From: Khaveesh N Date: Fri, 21 Aug 2020 17:19:22 +0530 Subject: [PATCH] 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 --- autoload/ale/fixers/latexindent.vim | 4 +--- 1 file changed, 1 insertion(+), 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