Fork me on GitHub
#editors
<
2015-07-22
>
danielcompton04:07:20

Is there a way in Cursive to set indentation for a function so it does no indentation at all?

cfleming07:07:07

@danielcompton: You mean so that none of the lines indent?

danielcompton07:07:24

We’re wrapping a whole namespace in a tracing function

cfleming07:07:38

No, there’s no way to do that right now.

cfleming07:07:44

Oh, wait - I see

cfleming07:07:03

You want all the direct sub-forms at the same indentation level as the parent.

cfleming07:07:31

No, although I can see that would be useful - you might want it for comment

danielcompton07:07:48

Yeah, I thought indentation 0 might do that

cfleming08:07:47

No, that’s the number of params it will line up before it starts lining up the body.

cfleming08:07:02

There’s no way to get what you want right now

acron08:07:08

@agile_geek: sorry mate, was me being a nub again. refreshed the package list and it worked facepalm

danielcompton08:07:47

ah, it works in a let, but not in a when

agile_geek08:07:20

@acron: np. Done it myself more times than I can count.

cfleming14:07:55

@danielcompton: Right, it doesn’t work inside all forms - do you need it to work inside a when block?

danielcompton18:07:00

I need it inside a macro, trace-forms from https://github.com/spellhouse/clairvoyant

danielcompton18:07:57

It's also the one I need indented to 0. I can open some tickets ?

cfleming18:07:05

Sure, go for it

cfleming18:07:36

How have you found clairvoyant? Is it useful?