8 Commits

Author SHA1 Message Date
Alexander Udalov
1ce19a8d73 Add undo_ftplugin and restore cpo 2021-11-07 03:14:26 +01:00
Alexander Udalov
1fb9b38dd8 Add sensible formatoptions 2021-11-07 02:47:01 +01:00
Alexander Udalov
089ed3048a Update information in metadata headers 2021-11-07 01:56:00 +01:00
Franz-Xaver Geiger
0d4d82fe27 Enable gf on import statements
The `gf` command opens files under the cursor. This change configures
the kotlin filetype to enable this command on import statements by
replacing dots and appending the file extension.

The functionality is copied from ftplugin/java.vim as distributed in vim
source code.
2021-11-07 01:42:54 +01:00
Ben Kraft
4188c15714 Add three-piece comments declaration
This allows us to have C-style comments in kotlin, a la:
```
/**
 * Start of comment
 *
 * More comment
 */
```
and have vim autoindent them (according to your formatoptions setting,
that is).  I copied the setting from the builtin ftplugin for
JavaScript, since they have equivalent comment syntax.
2021-03-08 09:14:55 -08:00
Paolo Gavocanov
0a900d06a2 vimlint, add operators, use hi link def 2019-05-26 13:17:01 +02:00
Alexander Udalov
aea4336a1d Add info about ftplugin to ReadMe, add did_ftplugin 2019-01-14 23:38:16 +01:00
Henré Botha
36a3d53882 Add ftplugin to set comment syntax (#14) 2019-01-14 23:37:37 +01:00