summaryrefslogtreecommitdiffstats
path: root/ftplugin/kotlin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/kotlin.vim')
-rw-r--r--ftplugin/kotlin.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ftplugin/kotlin.vim b/ftplugin/kotlin.vim
new file mode 100644
index 00000000..0fceaf35
--- /dev/null
+++ b/ftplugin/kotlin.vim
@@ -0,0 +1,9 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'kotlin') == -1
+
+if exists("b:did_ftplugin") | finish | endif
+let b:did_ftplugin = 1
+
+setlocal comments=://
+setlocal commentstring=//\ %s
+
+endif