summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-03-11 09:15:29 +0000
committerGitHub <noreply@github.com>2019-03-11 09:15:29 +0000
commitf0da35b95807c4fa88ae3ccfaa14fbf4a7bd4d2c (patch)
tree586db99c7c8f3f95abee61c1991d9b1035aecde2 /autoload
parenta22ab78dd758da2d17bef01de5bad1f394911e9d (diff)
parentd9a12348d09cf6d845c554051f3e30a17cf71b25 (diff)
downloadale-f0da35b95807c4fa88ae3ccfaa14fbf4a7bd4d2c.zip
Merge pull request #2349 from oblitum/fix-missing-languagetool-file-argument
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