summaryrefslogtreecommitdiff
path: root/doc/ale-kotlin.txt
diff options
context:
space:
mode:
authorMichael Phillips <michaeljoelphillips@gmail.com>2019-01-19 01:39:06 -0600
committerMichael Phillips <michaeljoelphillips@gmail.com>2019-01-20 19:39:47 -0600
commitbd1e639681a9154315251c63cb704186ed08ce13 (patch)
tree13f5219c190aee15509de18c30e1a7b2dce08735 /doc/ale-kotlin.txt
parentd1fc084b2d3af6dd9807a01a6ca7822af6c2a78f (diff)
downloadale-bd1e639681a9154315251c63cb704186ed08ce13.zip
Add ktlint fixer support.
Diffstat (limited to 'doc/ale-kotlin.txt')
-rw-r--r--doc/ale-kotlin.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/ale-kotlin.txt b/doc/ale-kotlin.txt
index 9f9fd16e..4028531f 100644
--- a/doc/ale-kotlin.txt
+++ b/doc/ale-kotlin.txt
@@ -84,9 +84,17 @@ g:ale_kotlin_ktlint_rulesets *g:ale_kotlin_ktlint_rulesets*
This list should contain paths to ruleset jars and/or strings of maven
artifact triples. Example:
>
- let g:ale_kotlin_ktlint_rulesets = ['/path/to/custom-rulset.jar',
+ let g:ale_kotlin_ktlint_rulesets = ['/path/to/custom-ruleset.jar',
'com.ktlint.rulesets:mycustomrule:1.0.0']
+g:ale_kotlin_ktlint_options *g:ale_kotlin_ktlint_options*
+ Type: |String|
+ Default: `''`
+
+ Additional options to pass to ktlint for both linting and fixing. Example:
+ >
+ let g:ale_kotlin_ktlint_options = '--android'
+
===============================================================================
languageserver *ale-kotlin-languageserver*