vim: Fix `auto_indent_on_paste` not being respected (#25447)

Closes #12236

This PR fixes an issue where the `auto_indent_on_paste` setting was not
being applied for pasting in Vim mode. It was correctly used for normal
paste behavior.

Also includes tests.  


Release Notes:

- Fixed yank + paste indenting incorrectly when `auto_indent_on_paste`
is set to `false` in certain languages.
4b3a2a33a8smit committed on 2/24/2025, 9:29:05 AM· committed by GitHubparent1f257f4
1 file changedLine totals unavailable