mirror of
https://github.com/neovim/neovim.git
synced 2026-03-07 08:41:49 +10:00
Fix matching of floats at the beginning of an f-string replacement
field, immediately after the opening brace.
The existing pattern, using `\zs`, cannot consume the already matched
`{` so use a lookbehind instead.
See comment: https://github.com/vim/vim/pull/17962#issuecomment-3201550443
closes: vim/vim#18220
6bb16d2cee
Co-authored-by: Doug Kearns <dougkearns@gmail.com>