mirror of
https://github.com/neovim/neovim.git
synced 2026-10-26 07:30:20 -05:00
Claim e.g. "function f () { :; }" as shFunctionTwo while
observing that parentheses after the function name are
optional when the "function" word is used and do not delimit
its body if the latter follows them in "{}" (which should
not be taken for granted with limited backtracking).
closes: vim/vim#20878
https://github.com/vim/vim/commit/90e8cb0094508e9e6932adcf42f5003251c47c26
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>