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 117 forks source link

<S-Tab> doesn't work in vim/gVim when a filetype is set. #50

Closed msdos closed 13 years ago

msdos commented 13 years ago

One of the features I like most is the S-Tab feature to exit [], "" and such.

I had an old version from 6 months ago that worked really well. But now I've done a git clone from your repository and it works only if a filetype isn't set.

To test, open vim, press (|) and , you have ()|. Run ":set ft=python", press (|) and now you get ( |).

Could this be a plugin conflict? How do I debug it?

Raimondi commented 13 years ago

Old versions overrode existing mappings, recent ones don't which can make mapping conflicts more evident than before.

Set a buffer with the problematic filetype and run :DelimitMateTest post the output here.

msdos commented 13 years ago

Thanks for this suggestion. It's a conflict with snipmate: when I set a filetype, I get in DelimitMateTest:

: is not set: i \* =BackwardsSnippet() ~/.config/vim/.vim/bundle/snipmate/after/plugin/snipMate.vim It's a problem with snipmate, not in your plugin. I think I'm going to post an issue there. Thanks for replying.