Raimondi / delimitMate

Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
http://www.vim.org/scripts/script.php?script_id=2754
1.99k stars 116 forks source link

Expand CR not working for nested quotes #302

Open tim-hilt opened 2 years ago

tim-hilt commented 2 years ago

I have the following config set for delimitMate:

let delimitMate_nesting_quotes = ['`']
let delimitMate_expand_cr = 2
let delimitMate_expand_inside_quotes = 1

When I try to type the following in a .md-file:

``` bash<CR>

I would expect the following to be inserted (with | being the cursor):

``` bash
|
```

but instead it looks like this:

``` bash
|```

Is this a bug or did I misconfigure something?