MarcWeber / ultisnips

Official Mirror of UltiSnips trunk on LaunchPad. Send pull requests to SirVer/ultisnips!
https://launchpad.net/ultisnips
25 stars 5 forks source link

Fix UltiSnipsEdit: defaults to &filetype #14

Closed blueyed closed 11 years ago

blueyed commented 11 years ago

Still, when editing a new file (filetype=""), it looks for ".snippet" files (because FILETYPE gets replaced with &ft/"" in the map).

It would be nice, if you could look into this (and fix it), when reviewing/merging this pull request.

MarcWeber commented 11 years ago

Thanks for finding and fixing the bug. I still prefer passing sensible data to a function so I hope this implementation is fine to you, too

blueyed commented 11 years ago

That looks good. Will try it later. Thanks!