diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-12-24 09:43:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-24 09:43:42 +0800 |
| commit | 2a2c366a3e48093740444d970e02774436ccc7ad (patch) | |
| tree | 1f49a001c275783a4631825616885f01abd7c684 /runtime/lua/vim/_core/stringbuffer.lua | |
| parent | 855fda03aa74c5055ee028e8affe8c089d329224 (diff) | |
vim-patch:9.1.2016: cindent wrong indentation after do-while loop (#37087)
Problem: At "if(0) do if(0); while(0); else", else should be aligned
with outer if, but is aligned with inner if.
Solution: In function find_match, ignore "if" and "else" inside a
do-while loop, when looking for "if". (Anttoni Erkkilä)
closes: vim/vim#19004
https://github.com/vim/vim/commit/9d661b057e9f8e4d900b258fa4ed6a265751b7b7
Co-authored-by: Anttoni Erkkilä <anttoni.erkkila@protonmail.com>
Diffstat (limited to 'runtime/lua/vim/_core/stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions
