On Sat, Jul 16, 2011 at 7:05 PM, Asim Jalis <[email protected]> wrote:
> The position of the braces might be a red herring here. I was mostly
> interested in figuring out how to increase the indentation level from
> 1 to something larger. Even an indentation step of 2 for each level
> would be easier on the eye than 1.
My point was that the "natural" Lisp/Clojure indentation is to match
the items above so for:
{:something
the natural indentation is 1 and for:
(foo a
the natural indentation is 5: '(', 'f', 'o', 'o', ' '.
Indentation is not some fixed quantity you can change - it's dependent
on the structure of the data/code and the length of the symbols.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en