mirror of
https://github.com/neovim/neovim.git
synced 2026-08-10 17:14:59 +00: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>