summaryrefslogtreecommitdiffstats
path: root/ftplugin/ocaml.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-05-28 11:09:19 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-05-28 11:09:19 +0200
commit224a6348f99167c9d72b5922686d388ae872ff7e (patch)
tree328383c5ca7e8fa59a47ba5bb0709676c3964677 /ftplugin/ocaml.vim
parent00c3f0294575a91524c3f3b6cba37839716b48a2 (diff)
downloadvim-polyglot-224a6348f99167c9d72b5922686d388ae872ff7e.tar.gz
vim-polyglot-224a6348f99167c9d72b5922686d388ae872ff7e.zip
Update
Diffstat (limited to 'ftplugin/ocaml.vim')
-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.