diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-29 23:05:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-29 23:05:20 +0200 |
commit | 14b6945e27ca175a42550a6a887874303313c19e (patch) | |
tree | 5f1d7c2d0c312149824e980142ebe698ffaee166 /runtime/indent/ocaml.vim | |
parent | 10315b1201716a10d39477fc09e3eb89e944191f (diff) |
Updated runtime files.
Diffstat (limited to 'runtime/indent/ocaml.vim')
-rw-r--r-- | runtime/indent/ocaml.vim | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/runtime/indent/ocaml.vim b/runtime/indent/ocaml.vim index a84c992edd..3bd65c63f0 100644 --- a/runtime/indent/ocaml.vim +++ b/runtime/indent/ocaml.vim @@ -4,9 +4,13 @@ " Mike Leary <leary@nwlink.com> " Markus Mottl <markus.mottl@gmail.com> " URL: http://www.ocaml.info/vim/indent/ocaml.vim -" Last Change: 2010 Sep 04 - Added an indentation improvement by Mark Weber +" Last Change: 2013 Jun 29 " 2005 Jun 25 - Fixed multiple bugs due to 'else\nreturn ind' working " 2005 May 09 - Added an option to not indent OCaml-indents specially (MM) +" 2013 June - commented textwidth (Marc Weber) +" +" Marc Weber's comment: This file may contain a lot of (very custom) stuff +" which eventually should be moved somewhere else .. " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -19,7 +23,9 @@ setlocal indentexpr=GetOCamlIndent() setlocal indentkeys+=0=and,0=class,0=constraint,0=done,0=else,0=end,0=exception,0=external,0=if,0=in,0=include,0=inherit,0=initializer,0=let,0=method,0=open,0=then,0=type,0=val,0=with,0;;,0>\],0\|\],0>},0\|,0},0\],0) setlocal nolisp setlocal nosmartindent -setlocal textwidth=80 + +" At least Marc Weber and Markus Mottl do not like this: +" setlocal textwidth=80 " Comment formatting if !exists("no_ocaml_comments") |