When I check any buffer without setting the language, the output is correct (says that I have errors if any).
But when I set any language. it always returns that the buffer is correct (I know is not).
Checking langtool debugging tool in Emacs I notice that when I delete the -d when it has no options (in log the command is langtool.jar -c ascii -d -l en-GB file.txt) that error is fixed. Is the only flag that clashes.
I propose to change the code in the langtool-command--invoke-process to avoid the -d flag is there is no options to pass.
When I check any buffer without setting the language, the output is correct (says that I have errors if any).
But when I set any language. it always returns that the buffer is correct (I know is not).
Checking langtool debugging tool in Emacs I notice that when I delete the
-d
when it has no options (in log the command islangtool.jar -c ascii -d -l en-GB file.txt
) that error is fixed. Is the only flag that clashes.I propose to change the code in the langtool-command--invoke-process to avoid the
-d
flag is there is no options to pass.