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.98k stars 117 forks source link

delimitMate opens closed folds beneath the cursor #181

Closed positron closed 9 years ago

positron commented 10 years ago

When I type an opening paren (or any matched character) all the closed folds beneath my cursor expand.

My settings:

Bundle 'Raimondi/delimitMate'
let delimitMate_expand_cr = 1
let delimitMate_expand_space = 1

I also have set to open or expand closed folds, but I doubt that matters.

nnoremap <silent> <Space> @=(foldlevel('.')?'za':"\<Space>")<CR>
Raimondi commented 9 years ago

I can't reproduce this. If you still have this problem provide more info, like filetype, the output of :DelimitMateTest, sequence of keys to reproduce, vim version and patch level, and anything else you think could be relevant to reproduce your setup.