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

delimitMateBalance seems not working for me #224

Closed zsrkmyn closed 9 years ago

zsrkmyn commented 9 years ago

It seems that delimitMateBalance does not work. I opened a new test.c file, and typed like this:

foo|)

where | was the position the cursor. After typing (, it became:

foo(|))

I am using Vim 7.4, and my config file for delimitMate is like this:

~$ grep delimi .vimrc 
" delimitMate
let delimitMate_expand_cr = 1
let delimitMate_balance_matchpairs = 1
au FileType c,cpp,java,perl let b:delimitMate_eol_marker = ";"

BTW, I am not sure the function of delimitMate_eol_marker. I don't know how to trigger delimitMate to insert a ; at the end of line. (or it just doesn't work at all?)

zsrkmyn commented 9 years ago

Ooops! Really sorry but I found it that was my fault just now, since I forgot to close another auto-close plugin! How stupid I am! After removing it, delimitMate performs really great! Thanks for building such a brilliant plugin! XD