maxbrunsfeld / vim-yankstack

A lightweight implementation of emacs's kill-ring for vim
437 stars 29 forks source link

invalid function name #43

Closed mattsawyer77 closed 10 years ago

mattsawyer77 commented 10 years ago

I just upgraded vim and I now see this upon startup:

Error detected while processing /home/sawyer/.vim/bundle/yankstack/autoload/yankstack.vim:
line  113:
E128: Function name must start with a capital or "s:": g:yankstack()
line  114:
E133: :return not inside a function
line  115:
E193: :endfunction not inside a function

Here is my vim version:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled May 28 2014 21:41:29)
Included patches: 1-307
Compiled by Arch Linux
maxbrunsfeld commented 10 years ago

What commit do you have of yankstack? I think a recent pull request fixed this.

mattsawyer77 commented 10 years ago

Sorry, I was using the vimscripts mirror for this. I switched to this repo and everything is good.

maxbrunsfeld commented 10 years ago

No worries!