Wednesday, April 27, 2011

Foldings: why to they unfold below if I type a quote ( ' or ")

I am curious if there is a way to make foldings not unfold if I type a quote. For example, if I am adding to the header or content in an open block, but I have everything below it folded, when I type a quote in this block, all the blocks below it unfold. I find this pretty annoying and have to imagine someone has worked through it but I did not see anything in help or googling.

For example, working on some rspecs, if I work in this block and add a quote:

    it "should validate credit card data before passing it to paypal" do
      response = @payment.send(:authorize_payment, payment_info_local_fail)
      response.success?.should == false
    end

These blocks that *were* folder now unfold:

    it "should authorize payment with paypal using a valid card" do
      ...
    end

    it "should save the authorize payment transaction received back from paypal" do
      ...
    end

Thanks,

David

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: