All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 ===============================================================================
2 ALE Kotlin Integration *ale-kotlin-options*
3 *ale-integration-kotlin*
5 ===============================================================================
6 Integration Information
8 Make sure your setup has support for the kotlin file type. A filetype plugin
9 can be found here: https://github.com/udalov/kotlin-vim
12 Note: Make sure you have a working kotlin compiler
15 ===============================================================================
16 kotlinc *ale-kotlin-kotlinc*
18 *ale-options.kotlin_kotlinc_options*
19 *g:ale_kotlin_kotlinc_options*
20 *b:ale_kotlin_kotlinc_options*
21 kotlin_kotlinc_options
22 g:ale_kotlin_kotlinc_options
26 Additional options to pass to the kotlin compiler
28 *ale-options.kotlin_kotlinc_enable_config*
29 *g:ale_kotlin_kotlinc_enable_config*
30 *b:ale_kotlin_kotlinc_enable_config*
31 kotlin_kotlinc_enable_config
32 g:ale_kotlin_kotlinc_enable_config
36 Setting this variable to `1` tells the linter to load a configuration file.
37 This should be set in your vimrc
39 *ale-options.kotlin_kotlinc_config_file*
40 *g:ale_kotlin_kotlinc_config_file*
41 *b:ale_kotlin_kotlinc_config_file*
42 kotlin_kotlinc_config_file
43 g:ale_kotlin_kotlinc_config_file
45 Default: `'.ale_kotlin_kotlinc_config'`
47 Filename of the configuration file. This should be set in your vimrc
49 *ale-options.kotlin_kotlinc_classpath*
50 *g:ale_kotlin_kotlinc_classpath*
51 *b:ale_kotlin_kotlinc_classpath*
52 kotlin_kotlinc_classpath
53 g:ale_kotlin_kotlinc_classpath
57 A string containing the paths (separated by the appropriate path separator)
58 of the source directories.
60 *ale-options.kotlin_kotlinc_sourcepath*
61 *g:ale_kotlin_kotlinc_sourcepath*
62 *b:ale_kotlin_kotlinc_sourcepath*
63 kotlin_kotlinc_sourcepath
64 g:ale_kotlin_kotlinc_sourcepath
68 A string containing the paths (separated by space) of the source
71 *ale-options.kotlin_kotlinc_use_module_file*
72 *g:ale_kotlin_kotlinc_use_module_file*
73 *b:ale_kotlin_kotlinc_use_module_file*
74 kotlin_kotlinc_use_module_file
75 g:ale_kotlin_kotlinc_use_module_file
79 This option indicates whether the linter should use a module file. It is off
82 *ale-options.kotlin_kotlinc_module_filename*
83 *g:ale_kotlin_kotlinc_module_filename*
84 *b:ale_kotlin_kotlinc_module_filename*
85 kotlin_kotlinc_module_filename
86 g:ale_kotlin_kotlinc_module_filename
88 Default: `'module.xml'`
90 The filename of the module file that the linter should pass to the kotlin
94 ===============================================================================
95 ktlint *ale-kotlin-ktlint*
97 *ale-options.kotlin_ktlint_executable*
98 *g:ale_kotlin_ktlint_executable*
99 *b:ale_kotlin_ktlint_executable*
100 kotlin_ktlint_executable
101 g:ale_kotlin_ktlint_executable
105 The Ktlint executable.
107 Posix-compliant shell scripts are the only executables that can be found on
108 Ktlint's github release page. If you are not on such a system, your best
109 bet will be to download the ktlint jar and set this option to something
110 similar to `'java -jar /path/to/ktlint.jar'`
112 *ale-options.kotlin_ktlint_rulesets*
113 *g:ale_kotlin_ktlint_rulesets*
114 *b:ale_kotlin_ktlint_rulesets*
115 kotlin_ktlint_rulesets
116 g:ale_kotlin_ktlint_rulesets
120 This list should contain paths to ruleset jars and/or strings of maven
121 artifact triples. Example: >
123 let g:ale_kotlin_ktlint_rulesets = ['/path/to/custom-ruleset.jar',
124 'com.ktlint.rulesets:mycustomrule:1.0.0']
126 *ale-options.kotlin_ktlint_options*
127 *g:ale_kotlin_ktlint_options*
128 *b:ale_kotlin_ktlint_options*
129 kotlin_ktlint_options
130 g:ale_kotlin_ktlint_options
134 Options to pass to ktlint for both linting and fixing. For example: >
136 let g:ale_kotlin_ktlint_options = '--android'
139 ===============================================================================
140 languageserver *ale-kotlin-languageserver*
142 *ale-options.kotlin_languageserver_executable*
143 *g:ale_kotlin_languageserver_executable*
144 *b:ale_kotlin_languageserver_executable*
145 kotlin_languageserver_executable
146 g:ale_kotlin_languageserver_executable
150 The kotlin-language-server executable.
152 Executables are located inside the bin/ folder of the language server
156 ===============================================================================
157 vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: