Thanks! On Fri, Apr 22, 2016 at 7:57 PM, Kyle Meyer wrote: > > I am guessing it is because I have neither defined an end for my > > block, nor a `forward-sexp-function`. Only the latter is possible, so > > that must probably be done first. > > Thanks for looking into setting up `hs-special-modes-alist`. Your guess > sounds right. > > I was going to suggest you check snakemake-in-rule-or-subworkflow-block-p > to see how rule blocks are recognized. But, revisiting that function, I > think there are at least a couple cases that aren't handled correctly > (rule blocks that are indented under, say, an if statement; the function > relies on no blanks between rule lines even though this is legal > syntax). I should rewrite it, and then the forward-sexp-function should > pretty much fall out of that. > > However, I don't think I'll find time to do that for another week or > two. (In the meantime, I'll probably be pretty unresponsive in general, > aside from merging #13.) > > — > You are receiving this because you modified the open/close state. > Reply to this email directly or view it on GitHub > > --- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/14#issuecomment-213535002