vim --clean +"set expandtab ac complete+=o list listchars=space:." test.vim
def Hello()
o<ESC>
Leading spaces should be removed.
https://asciinema.org/a/4OIJmPfuhqbhqxLUbpkz7YN9f
ping @girishji
Note, this is not happening without expandtab
or if you press Enter
after def Hello()
.
9.1.1852
debian13, bash
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I don't get popupmenu if there is no indent:
https://asciinema.org/a/tH8vuodhB7nNEaaReXHmXmmfl
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I have updated vim's omnicomplete to not start completion on empty prefix: #18561
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Simplified min repro steps:
vim --clean +"set et ai ac"
i<tab>hello<esc>o<esc>
https://asciinema.org/a/lrthxJacliRBFB4eWxIc8xbc3
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.