summaryrefslogtreecommitdiffstats
path: root/ftplugin/dune.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/dune.vim')
-rw-r--r--ftplugin/dune.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/ftplugin/dune.vim b/ftplugin/dune.vim
new file mode 100644
index 00000000..cce58e5e
--- /dev/null
+++ b/ftplugin/dune.vim
@@ -0,0 +1,14 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin=1
+
+set lisp
+
+" Comment string
+setl commentstring=;\ %s
+setl comments=:;
+
+endif