Skip to content

raymond-w-ko/vim-lua-indent

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

vim-lua-indent

A somewhat better Lua indent script for Vim

This is a hastily hacked on version of the lua.vim indent file that ships with Vim. It auto-indents much better than the default one, especially when you have function arguments that span multiple lines inside of conditionals or just a function's multi-line argument list itself.

For an example of what it can accomplish, go here: https://gist.github.com/4208232

INSTALL

Copy the lua.vim file into the indent/ folder of your $HOME/.vim/ or $HOME/vimfiles/ directory. Or, use vim-pathogen to manage it as a bundle (recommended).

About

A somewhat better Lua indent script for Vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages