seletskiy/vim-autoclose — Issue #1: Autocomplete duplicates closing brace
Author: pik4ez
Created: 2012-02-27 04:49:21+00:00
State: open

Print this in .php file with autocomplete enabled (I'm using neocomplcache):

```php
$html = "some text<
```

With autoclose enabled, line contains the following:

```php
$html = "some text<|>"
```

"|" is a cursor position.

Now, when autocomplete popup appears, it contains an option "
".
Selecting this option, you have the next string:

```php
$html = "some text
|>"
```

So, when you choose an option from autocomplete which contains closing brace, the second brace added with autoclose does not disappear and you have double closing braces.