Page 1 of 1

Using Vim with LÖVE

Posted: Wed Aug 11, 2010 5:54 pm
by Robin
If you use Vim, you might like this.

It adds keywords to the Lua highlighter for the entries in the love table. The only absent entries are “hidden” and internal ones.

Save it as ~/.vim/syntax/lua.vim to make it work.

Re: Using Vim with LÖVE

Posted: Wed Aug 11, 2010 6:36 pm
by vrld
Thank you!
I always wanted this but was too lazy to do it myself ;)

Edit: Any chance there is a tagfile for love I could use with supertab.vim?

Re: Using Vim with LÖVE

Posted: Wed Aug 11, 2010 7:54 pm
by qubodup
vrld wrote:Thank you!
From me too! :3
Image

Re: Using Vim with LÖVE

Posted: Wed Aug 11, 2010 8:25 pm
by bartbes
Good, no write an omnicomplete function :joker:

Re: Using Vim with LÖVE

Posted: Wed Aug 11, 2010 9:01 pm
by Robin
vrld wrote:Edit: Any chance there is a tagfile for love I could use with supertab.vim?
Good idea.