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

New way to eval `...`, and escape \, and use `expr` foldmethod

Open lilydjwg opened this issue 15 years ago • 1 comments

Hi,

The eval result in substitute() may contain special chars, see sub-replace-special, which may cause Vim hanging there. I have a snippet to get a URL's title and it'll fail if there is & in it.

Also, I add that \ can be escaped by \\, and update the syntax file so escaped chars get a SpecialChar highlight.

And I changed the fold method to expr.

lilydjwg avatar Dec 18 '10 15:12 lilydjwg

hey,

i've tried to contact msanders few times but with no luck. also some other ppl who requested pull requests also tried to contact him. since there was no commit or comment for some time i decided to take action.

i've reviewed and merged all pull requests and you can find final snipmate.vim here: https://github.com/garbas/vim-snipmate

i have no intention of stealing someones else's glory and claim this package. i believe msanders is busy working on something else or maybe he just lost interest. since i'm using snimate a lot i volunteer to maintain for now. if you want to help dont hesitate to PM me.

garbas avatar Feb 03 '11 04:02 garbas