Using Vim with LÖVE

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Using Vim with LÖVE

Post 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.
Attachments
lua.vim.txt
For the LÖVE of Vim
(7.29 KiB) Downloaded 249 times
Help us help you: attach a .love.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Using Vim with LÖVE

Post 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?
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Using Vim with LÖVE

Post by qubodup »

vrld wrote:Thank you!
From me too! :3
Image
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Using Vim with LÖVE

Post by bartbes »

Good, no write an omnicomplete function :joker:
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Using Vim with LÖVE

Post by Robin »

vrld wrote:Edit: Any chance there is a tagfile for love I could use with supertab.vim?
Good idea.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests