(:h1 :class "foo" "Hello") => <h1 class="foo">Hello</h1>
I like this method a lot, but the default indentation of Emacs/Slime bothers me:
- Code: Select all
(:h1 :class "foo"
"Hello")
The indentation code indents it as if :H1 was a function called with three arguments, which is understandable. It should be possible to make an exception for the case "non-quoted list whose first element starts with a colon" and rather indent it like this:
- Code: Select all
(:h1 :class "foo"
"Hello")
Before I spend the weekend trying to modify the indentation code, I was wondering if anybody has done this before or know of a workaround?