Hello,

I would like to create a foldexpr that turns this Groovy closure:

    def list = {
        if (!params.max) params.max = 10
        [personList: Person.list(params)]
    }

    def show = {
        blah
        blah
        blah
    }


Into this fold text:

    def list = {
    def show = {

Currently, I'm using foldmethod=indent, because all the closures start
on the 5th character.

I'm messing around with the foldtext setting, but can't get Vim to
quit displaying a line containing a bunch of dashes and how many
lines have been folded, which I really don't care about.

Thanks in advance,

--Nate

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to