snipmate.vim icon indicating copy to clipboard operation
snipmate.vim copied to clipboard

Update snipmate's supertab handling for the latest supertab version.

Open ervandew opened this issue 14 years ago • 4 comments

I made some changes to supertab to deal with users who have mapped / to something else and didn't want supertab clobbering those mappings. So now supertab has a couple <Plug> mappings for forward/backward completion and some code to retain the user's original mappings.

However, snipmate is still relying on / to kick off supertab, so I made a patch to utilize the new <Plug> mappings when available (should retain backwards compatibility with older supertab versions), which resolves any issues I've encountered with supertab + snipmate + user mapped /.

Let me know if you have any questions regarding these changes.

Thanks!

ervandew avatar Feb 09 '11 02:02 ervandew

merged into MarcWeber/snipmate.vim

MarcWeber avatar Mar 10 '11 00:03 MarcWeber

Thanks Marc. It's a shame the primary source is abandoned, but it's good to see you and garbas providing maintained forks.

ervandew avatar Mar 10 '11 15:03 ervandew

I forgot to update the BackwardSnippet function as well for the new plug mappings. The latest commit takes care of that.

ervandew avatar Mar 11 '11 17:03 ervandew

I added you as collaborator. Push your changes yourself.

MarcWeber avatar Mar 11 '11 18:03 MarcWeber