lua.vim : better Lua indent file
| script karma |
Rating -1/1,
Downloaded by 157
|
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Raymond Ko |
| |
| script type |
| indent |
| |
| description |
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 details |
Copy the lua.vim file into the indent/ folder of your vimfiles/
If it doesn't exist, then create an indent/ folder. This lua.vim will override the default one installed along with Vim
|
| |
script versions (upload new version)
Click on the package to download.
| lua.vim |
0.2.1 |
2013-04-11 |
7.0 |
Raymond Ko |
Fix a bug where the indent script tries to balance parentheses in comments, leading huge amounts of leading whitespace if the previous line has an open left parentheses. |
| lua.vim |
0.2 |
2012-12-06 |
7.0 |
Raymond Ko |
add "elseif" and "else" to indentkeys so that it correctly auto-indents while in insert mode. |
| lua.vim |
0.1 |
2012-12-04 |
7.0 |
Raymond Ko |
Initial upload |
ip used for rating: 50.16.17.90
|