mirror of
https://github.com/neovim/neovim.git
synced 2026-01-05 02:47:28 +10:00
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
9d661b057e
Co-authored-by: Anttoni Erkkilä <anttoni.erkkila@protonmail.com>