[vim/vim] omnifunc completions are affecting non-related buffers (Issue #18948)

5 views
Skip to first unread message

Maxim Kim

unread,
Dec 16, 2025, 5:30:53 PM (7 hours ago) Dec 16
to vim/vim, Subscribed
habamax created an issue (vim/vim#18948)

Steps to reproduce

  1. vim --clean
  2. :set complete=o ft=vim
  3. CTRL-w n
  4. `iset

Expected behaviour

There should be no completions provided by omnifunc for vim. The buffer has no filetype and has no omnifunc set up:

image.png (view on web) image.png (view on web)

https://asciinema.org/a/Xrt2yAOJntIk5o3JtkQPv5ufH

@girishji fyi

Version of Vim

9.1.1989

Environment

debian13, bash

Logs and stack traces


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/18948@github.com>

Reply all
Reply to author
Forward
0 new messages