Permalink
Commits on Mar 20, 2013
  1. Version 1.1.0

    AltGr committed Mar 20, 2013
  2. small fixes

    AltGr committed Mar 20, 2013
    lwt_try / finally and indent of a first match case without bar when i_with>=2
Commits on Mar 19, 2013
  1. Fixed doc error

    AltGr committed Mar 19, 2013
  2. Added support for configuration files

    AltGr committed Mar 19, 2013
    Configuration files use the same format as the --config string (except that commas can
    be replaced by newlines), and can be placed in ~/.ocp/ocp-indent.conf, or in a .ocp-indent
    file in any parent directory. This provides a convenient way to have per-project setups
    that can be easily shared by any contributor.
    
    Setting the ocp-indent-config variable in emacs-customise is now deprecated.
Commits on Mar 14, 2013
  1. Several small fixes for in-comment indentation

    AltGr committed Mar 14, 2013
    following requests from JS:
    - {v is indented
    - in-comment indent when starting with '(*\n' is 3, not 2
    - no free-form comments when strict_comments=true, even when starting with a newline
  2. updated tests/failing.html

    AltGr committed Mar 14, 2013
Commits on Mar 13, 2013
  1. merge

    pszilagyi committed Mar 13, 2013
  2. Version 1.0.2

    AltGr committed Mar 13, 2013
  3. Added an option to align function parameters under the function inste…

    AltGr committed Mar 13, 2013
    …ad of indenting them
  4. fixed relative extend padding

    AltGr committed Mar 13, 2013
    no visible effect but useful for the subsequent patches
Commits on Mar 8, 2013
  1. Fixed guess-indent at EOF

    AltGr committed Mar 8, 2013
Commits on Mar 7, 2013
  1. Merge https://github.com/pszilagyi/ocp-indent

    AltGr committed Mar 7, 2013
    Conflicts:
    	src/indentConfig.ml
    	tests/failing-output/js-comment1.ml
  2. Fixed output of option --debug

    AltGr committed Mar 7, 2013
  3. Working indent inside comments, including inline code and verbatim

    AltGr committed Mar 7, 2013
    all incorrect cases shouls be correctly handled as well (unfinished or nested blocks, strings etc.)
  4. More consistent handling of tokens in the stack

    AltGr committed Mar 6, 2013
    (should fix partial indent alongside comments; handling indent of empty lines in comments properly)
  5. CodeInComment fix

    AltGr committed Mar 6, 2013
  6. Fixed comment indent to agree with JS guidelines

    AltGr committed Mar 5, 2013
    while keeping ocamldoc compat of course
  7. Better in-comment alignment

    AltGr committed Mar 5, 2013
    follows offset of text in the first comment line