kotlin-vim
kotlin-vim copied to clipboard
Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support
It would be great if vim could give you basic Kotlin syntax highlighting out-of-the-box. Any interest in sending a patch to add syntax into https://github.com/vim/vim/tree/master/runtime/syntax?
It scans the from the top of the file looking for the first import and will sort all imports listed until a blank space is encountered.
Triple-quoted strings in Kotlin do not do any escape processing so backslash-character should not be interpreted as an escape sequence. E.g. my TeamCity config contains lines such as ```kotlin scriptContent...
Function name highlighting is implemented in both [rust.vim](https://github.com/rust-lang/rust.vim) and [vim-cpp-enhanced-highlight](https://github.com/octol/vim-cpp-enhanced-highlight), and rust.vim has highlighting for names of structs too, which is really nice (would be highlighting of class/interface/etc. names here)....
I've installed the plugin using `Vundle` `Plugin 'udalov/kotlin-vim'` Then I've made sure to run `PluginInstall`. Everything went fine and I've restarted the editor several times. But I get not syntax...
Let's have Kotlin completions!!! 😄 I've forked this repo to start working on completions, but it would be nice to collaborate on a feature branch here. I've never written a...
How do you feel about adding support for appropriate `makeprg` into this plugin? Something like this should do: ``` :setlocal makeprg=java\ -cp\ .:/usr/local/Cellar/kotlin/1.3.10/libexec/lib/kotlin-stdlib.jar\ %:r:gs?^.?\\u&?Kt ``` ( `%` filename `:r` remove...
``` fun foo() { /* println() */ ``` Press `}` at the caret position in the source above. Expected result: ``` fun foo() { /* println() */ } ``` Actual...