summaryrefslogtreecommitdiff
path: root/ale_linters/kotlin
diff options
context:
space:
mode:
authorHoracio Sanson <horacio@allm.inc>2020-04-18 15:27:11 +0900
committerHoracio Sanson <horacio@allm.inc>2020-04-18 15:27:11 +0900
commit5035281cb978d8fe6de7d91c1973a19f1a96bb3c (patch)
tree03457d0a85f66bfb00a912d5d49ef6313eee294e /ale_linters/kotlin
parent198361bc0da6f13d1ea5f699fc202c981e97b861 (diff)
downloadale-5035281cb978d8fe6de7d91c1973a19f1a96bb3c.zip
Fix 2269 - use ktlint stdin.
Use stdin flag instead of temporary files. This allows ktlint to work with .editorconfig files.
Diffstat (limited to 'ale_linters/kotlin')
-rw-r--r--ale_linters/kotlin/ktlint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/kotlin/ktlint.vim b/ale_linters/kotlin/ktlint.vim
index f0384005..0bb64b19 100644
--- a/ale_linters/kotlin/ktlint.vim
+++ b/ale_linters/kotlin/ktlint.vim
@@ -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'
\})