Fix 2269 - use ktlint stdin.

Use stdin flag instead of temporary files. This allows ktlint to work
with .editorconfig files.
This commit is contained in:
Horacio Sanson
2020-04-18 15:27:11 +09:00
parent 198361bc0d
commit 5035281cb9
4 changed files with 5 additions and 8 deletions

View File

@@ -6,5 +6,5 @@ call ale#linter#Define('kotlin', {
\ 'executable': 'ktlint',
\ 'command': function('ale#handlers#ktlint#GetCommand'),
\ 'callback': 'ale#handlers#ktlint#Handle',
\ 'lint_file': 1
\ 'output_stream': 'stderr'
\})