Sweep Prolog mode indents lines according to the following rules:
This rule yields the following layouts:
some_functor( some_arg ). some_functor( some_arg ).
sweeprolog-indent-offset
(by default, four extra
columns).
As an example, this rule yields the following layouts when
sweeprolog-indent-offset
is set to the default value of four
columns:
some_functor(arg1, arg2) :- body_term. asserta( some_functor(arg1, arg2) :- body_term ).
This rule yields the following layouts:
head :- body1, body2, body3, body4, body5. A is 1 * 2 ^ 3 * 4 * 5. A is 1 * 2 + 3 * 4 * 5.
sweeprolog-indent-offset
.
This rule yields the following layout:
some_functor( arg1, ...
sweeprolog-indent-offset
.
This rule yields the following layout:
:- multifile predicate/3.