[vim/vim] clangd with autocomplete doesn't trigger completion on i_CTRL-W (Issue #18535)

3 views
Skip to first unread message

Maxim Kim

unread,
Oct 9, 2025, 10:29:45 PM (20 hours ago) Oct 9
to vim/vim, Subscribed
habamax created an issue (vim/vim#18535)

Steps to reproduce

aclsp.vim

vim9script

set complete=o,.
set completeopt=popup,fuzzy
set autocomplete

set packpath=~/.config/vim
packadd lsp
g:LspOptionsSet({
    autoComplete: false,
})

if executable('clangd')
    g:LspAddServer([{
        name: 'clangd',
        filetype: ['c', 'cpp'],
        path: 'clangd',
        args: ['--background-index'],
    }])
endif
  1. vim --clean -S aclsp.vim ~/prj/vim/src/buffer.c +79
  2. Type obuf->b_locked<C-w>

Expected behaviour

Popup menu with completion candidates should be opened.

https://asciinema.org/a/mA1UGteC2FLzAJyDsP1FNKBol

It works using yegappan/lsp completion.

ping @girishji

There is no mapping defined for i_CTRL-W.

Version of Vim

9.1.1844

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

Reply all
Reply to author
Forward
0 new messages