This patch fixes #643, thanks to Christian Brabandt.

The issue was

Create a file that looks like this (main.go)

```
package main

import (
        "fmt"
)

func main() {
        fm
        fmt.Print(“lmao”)
}
```

1. `vim -N -u NONE main.go`
1. `:set foldmethod=indent`
3. `7jA`. 
4. `<c-x><c-l>`. 

Bam the fold gets closed.

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: fold-autocomplete.patch
Description: Binary data


-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui