[vim/vim] Incorrect auto-wrap behaviour with autocomplete (Issue #19954)

1 view
Skip to first unread message

gravndal

unread,
Apr 11, 2026, 12:38:24 PM (12 hours ago) Apr 11
to vim/vim, Subscribed
gravndal created an issue (vim/vim#19954)

Steps to reproduce

$ vim --clean
:set fo+=t tw=9 autoindent ac
ia b c d<Esc>ie f g

Observe that d precedes g in:

a b c e f
dg
$ vim --clean
:set fo+=t tw=9 ac
ia b c d<Esc>ie f g

Observe that f is also wrapped in:

a b c e
f gd

See neovim/neovim#38951 for more.

Expected behaviour

Same auto-wrap behaviour as set noac, i.e.:

a b c e f
gd

Version of Vim

Included patches: 1-336

Environment

NixOS 26.05pre978693.3a9ff420afd6 (Yarara)
tmux 3.6a
tmux-256color


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19954@github.com>

Reply all
Reply to author
Forward
0 new messages