summaryrefslogtreecommitdiffstats
path: root/ftplugin/ocaml.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftplugin/ocaml.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftplugin/ocaml.vim b/ftplugin/ocaml.vim
index 31694cfe..c9b88e1b 100644
--- a/ftplugin/ocaml.vim
+++ b/ftplugin/ocaml.vim
@@ -40,7 +40,8 @@ let s:cposet=&cpoptions
set cpo&vim
" Comment string
-setlocal comments=
+setlocal comments=sr:(*\ ,mb:\ ,ex:*)
+setlocal comments^=sr:(**,mb:\ \ ,ex:*)
setlocal commentstring=(*%s*)
" Add mappings, unless the user didn't want this.