[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua file type plug-in for Vim (redux)
- From: Marcus Mendes <mvmendes@...>
- Date: Sun, 26 Jun 2011 13:44:04 -0300
Congrats Peter!
Thanks a lot.
Marcus
On Sat, Jun 18, 2011 at 5:10 AM, Peter Odding <peter@peterodding.com> wrote:
> Hi all,
>
> Back in 2008 I sort of announced [1] a Lua file type plug-in for the Vim
> text editor but then I never really published it somewhere. Since then
> several people have e-mailed me about the plug-in asking for updates.
> I've now finally taken the time to clean it up, write some documentation
> and make everything configurable.
>
> The basic features of the file type plug-in haven't changed since 2008,
> however I have added support for dynamic completion which is kind of
> scary (it loads all modules available on your system) but at the same
> time awesome: On my machine it comes up with 1081 completion candidates
> while the default (static) completion list includes 172 candidates... It
> might be a bit slow on the first try, but give it a moment (the results
> will be cached until you close Vim).
>
> Also when you use Control-X Control-U (user defined completion) or
> Control-X Control-O (omni completion) the completion menu shows function
> signatures for standard library functions. And the omni completion menu
> shows the values of scalar variables (booleans, numbers, strings). Both
> features can be observed in the screenshot [2] linked from the homepage.
>
> For more information about the file type plug-in please see the homepage
> [3], GitHub (for the sources) [4] or Vim Online (ZIP downloads) [5]. If
> you have any questions I'm happy to help.
>
> Enjoy your Lua programming in Vim! :-)
>
> - Peter
>
> [1] http://lua-users.org/lists/lua-l/2008-08/msg00474.html
> [2]
> http://peterodding.com/code/vim/lua-ftplugin/screenshots/omni-completion.png
> [3] http://peterodding.com/code/vim/lua-ftplugin
> [4] http://github.com/xolox/vim-lua-ftplugin
> [5] http://www.vim.org/scripts/script.php?script_id=3625
>
>
--
Marcus Mendes
"A coragem é a forma de todas as virtudes em ponto de prova" C.S.Lewis
_____________________________________________________________
blog: mvmendes.com/blog