8 Commits

Author SHA1 Message Date
Alexander Udalov
089ed3048a Update information in metadata headers 2021-11-07 01:56:00 +01:00
Chaoren Lin
422115fdf5 Use shiftwidth() instead of &shiftwidth.
:help 'shiftwidth'
When zero the 'ts' value will be used. Use the shiftwidth()
function to get the effective shiftwidth value.
2021-10-30 03:24:03 +02:00
Alexander Udalov
b9fa728701 Minor, merge conditions in indent/kotlin.vim 2019-05-26 18:51:59 +02:00
Chandra Sekar S
ab021e990d Do not double-indent argument lists
As described in [Kotlin coding conventions][1] parameters in class
headers, functions and method calls must be indented with a single
indent. Intellij IDEA is also [migrating to this style][2].

This change makes kotlin-vim adopt the official indentation format of
Kotlin.

[1]: https://kotlinlang.org/docs/reference/coding-conventions.html
[2]: https://kotlinlang.org/docs/reference/code-style-migration-guide.html
2019-05-26 18:49:46 +02:00
Paolo Gavocanov
0a900d06a2 vimlint, add operators, use hi link def 2019-05-26 13:17:01 +02:00
Alexander Udalov
01e3a4c6e9 Fix indent for multi-line comments
Use cindent to indent inside the comment, and use the comment start line
indent for the line following the comment.

Fixes #7
2017-07-15 12:34:17 +03:00
Alexander Udalov
dbabaf3be2 Indent lambdas, double indent for content inside parentheses 2015-06-27 13:37:55 +03:00
Alexander Udalov
560e8cd83d The first version of indent file 2014-05-04 15:16:27 +04:00