Skip to content

raymond-w-ko/vim-lua-indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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