summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorFrancisco Lopes <francisco@oblita.com>2019-03-11 04:07:58 -0300
committerFrancisco Lopes <francisco@oblita.com>2019-03-11 04:42:25 -0300
commitd9a12348d09cf6d845c554051f3e30a17cf71b25 (patch)
treec39183796c64c885eaf7b3c51c4f95e906e5ed91 /autoload
parent03384a5d6f966b28efa136056e8b7b1b4f1c3d89 (diff)
downloadale-d9a12348d09cf6d845c554051f3e30a17cf71b25.zip
Fix passing file to languagetool
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/languagetool.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers/languagetool.vim b/autoload/ale/handlers/languagetool.vim
index aaad4c99..10e049df 100644
--- a/autoload/ale/handlers/languagetool.vim
+++ b/autoload/ale/handlers/languagetool.vim
@@ -10,7 +10,7 @@ endfunction
function! ale#handlers#languagetool#GetCommand(buffer) abort
let l:executable = ale#handlers#languagetool#GetExecutable(a:buffer)
- return ale#Escape(l:executable) . ' --autoDetect '
+ return ale#Escape(l:executable) . ' --autoDetect %s'
endfunction
function! ale#handlers#languagetool#HandleOutput(buffer, lines) abort