Bad Indentation of OCaml Comments in vim -


i use ocamldoc-style comment, vim annoying me because indents comment when should not.

for instance, following code:

(**  * {[ 

if open new line when being of second line of above code, vim indent code like:

(**  * {[      * 

so need remove 4 spaces everytime.

i tried using ocp-indent, result same.

what can not have 4 additional spaces when open new line in ocamldoc comment?

thanks.

leading stars in comments not idiomatic @ in ocaml (and badly handled ocamldoc), drop stars.

the behavior observed expected. indentation engine try indent code in comments, , {[ start of code block explains indentation.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -