Home

Awesome

vim-lua

Improved Lua 5.3 syntax and indentation support for Vim.

Highlighting: stock Vim (left) vs. this plugin (right): (Color scheme: solarized dark; Font: Anonymous Pro)

Configuration

vim-lua supports a few options. All are boolean and off by default: set an option to 1 with let g:lua_syntax_someoption = 1 to enable it (setting to 0 for disabling is currently not supported -- just don't set the option at all to keep it disabled).

Contributing

Contributions are welcome! Please follow the existing code style and in your pull request explain the reason for the proposed change and how it is valuable.

Credits

The indent code was based off this gist.

Various configuration options were contributed by Christian Neumüller (@Oberon00).