aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/lua.vim
Commit message (Collapse)AuthorAge
* vim-patch:c0f7505: runtime(lua): add/subtract a 'shiftwidth' after '('/')' ↵Christian Clason2024-08-04
| | | | | | | | | | | | | | | | | | | | in indentexpr Problem: - Current lua indentexpr does not indent for '(' ')'. - Missing indent test for lua. Solution: - Match '(', ')' in `function GetLuaIndentIntern`. - Add an indent test for lua. closes: vim/vim#15364 https://github.com/vim/vim/commit/c0f7505edeb36bf3e19386f276cafad7cba717a2 Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
* vim-patch:9fa35b1c38b8Christian Clason2023-08-21
| | | | | | | | runtime(lua): fix lua indentation of non-lowercase "keywords" (vim/vim#11759) https://github.com/vim/vim/commit/9fa35b1c38b84d95b5c8e083aa742e0e0490fa1f Co-authored-by: beardedsakimonkey <54521218+beardedsakimonkey@users.noreply.github.com>
* vim-patch:6633611f4280Christian Clason2023-08-21
| | | | | | | | | | runtime(lua): indent curly bracket followed by line comment (vim/vim#12306) fixes vim/vim#12305 https://github.com/vim/vim/commit/6633611f4280f33934c2ab9b6a3e84c04f054ad3 Co-authored-by: champignoom <66909116+champignoom@users.noreply.github.com>
* vim-patch:9712ff1288f9 (#20240)Christian Clason2022-09-18
| | | | Update runtime files https://github.com/vim/vim/commit/9712ff1288f942736ed76c0dec014909f067eec9
* vim-patch:3ec574f2b549Justin M. Keyes2017-11-07
| | | | | | | | Update runtime files. Includes changing &sw to shiftwidth() for all indent scripts. https://github.com/vim/vim/commit/3ec574f2b549f456f664f689d6da36dc5719aeb9
* vim-patch:acb4f22James McCoy2016-05-25
| | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/acb4f221c715a333f4c49a2235a8006c6ac6e4d5 Ignored changes to: * doc/eval.txt since alloc_fail isn't relevant for neovim * doc/index.txt for unmerge :smile command * doc/tags, syntax/vim.vim since they're generated at build time * doc/todo.txt
* Fix indenting nested elseifsRobert Andrew Ditthardt2015-12-12
| | | | | | | | | | | | | | | | Currently, ``` if bool then --stuff elseif bool2 then --morestuff elseif bool3 then --more stuff else --fail end ``` Would get indented out strangely when using =. Now it behaves correctly.
* vim-patch:c5d53d4 #2695Florian Walch2015-05-19
| | | | | | Update runtime files. https://code.google.com/p/vim/source/detail?r=c5d53d4c3e2e24e23fc4272bf91be3c031ccb598
* re-integrate runtime/ vim-patch:0 #938Justin M. Keyes2014-07-29
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>