udalov / kotlin-vim

Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support
Apache License 2.0
632 stars 51 forks source link

Add ftplugin to set comment syntax #14

Closed henrebotha closed 5 years ago

henrebotha commented 6 years ago

The plugin as it stands does not set the comment syntax, which means various Vim features acting on comments don't work properly.

This adds settings for comment syntax when editing Kotlin files.

udalov commented 6 years ago

What about multi-line comments (/* ... */)? Should they be specified in any way here?

henrebotha commented 6 years ago

To my knowledge, Vim doesn't really have a concept of multiline comments. I added this mostly to solve issues with commentary.vim.

udalov commented 5 years ago

Merged, thanks! And sorry for the enormous pause.