spf13-vim icon indicating copy to clipboard operation
spf13-vim copied to clipboard

gvim start with warning( invalid syntax: "Copyright strftime ... )

Open clar opened this issue 14 years ago • 7 comments

invalid syntax: Copyright strftime("%Y") ${1:copyright holder}" is detected

Seems caused by some plugin, did anyone meet this issue ?

clar avatar Nov 04 '12 09:11 clar

Update: It is caused by " Shougo/neosnippet "

( revert to an older version temporarily can solve it. )

clar avatar Nov 04 '12 10:11 clar

I came across this too. Stupid question - how do you revert to an old version of the bundle ?

ajw avatar Nov 07 '12 13:11 ajw

It was introduced in submit for "Refactored parse routine." (5952b6e51d), so to get an older version, cd ~/.vim/bundle/neosnippet git reset 2aed

I will report one bug in neosnippet

clar avatar Nov 08 '12 02:11 clar

Hi, I'm author of neosnippet. I checked the snippet. And the problem is found. It is snippet syntax problem(not neosnippet).

Shougo avatar Nov 08 '12 22:11 Shougo

The error was already reported. https://github.com/honza/snipmate-snippets/issues/150

Shougo avatar Nov 08 '12 23:11 Shougo

Thanks Shougo and jab416171.

As this fix has not been pushed into snipmate-snippets's master, if you want to do patch locally, do following: cd ~/.vim/bundle/snipmate-snippets git am –abort
curl https://github.com/honza/snipmate-snippets/pull/150.patch | git am

clar avatar Nov 09 '12 08:11 clar

I see that it has now been merged into snipmate-snippets master.

spf13 avatar Nov 10 '12 16:11 spf13