OCamlPro / ocp-indent

Indentation tool for OCaml, to be used from editors like Emacs and Vim.
http://www.typerex.org/ocp-indent.html
Other
200 stars 63 forks source link

Wrong indentation of begin[@attribute] #224

Closed mlasson closed 5 years ago

mlasson commented 8 years ago

Hello !

As you can see there's an extra indentation there :

$ ocp-indent --version
1.5.3
$ ocp-indent attribute.ml 
let () =
  begin[@attribute]
        print_endline "hello";
      print_endline "world";
  end
mlasson commented 5 years ago

Apparently this has been fixed at the same time as issue #247. I'm closing the issue.