Skip to content

completion for :set no... doesn't work #131

@zsrkmyn

Description

@zsrkmyn

I saw there's a closed issue #44 to support this feature, but I still cannot make it work using the latest version. The only completion I got was nrformats after typing set no. See screenshot below.

Image

I debugged for a while and found that vim.fn.getcompletion('set no', 'cmdline') returned the correct results, but got no idea why they were not showed.

$ nvim --version
NVIM v0.11.4
Build type: RelWithDebInfo
LuaJIT 2.1.1753364724
Run "nvim -V1 -v" for more info
$ git -C ~/.vim/pack/completion/start/nvim-cmp log -1 --oneline
b5311ab (HEAD -> main, origin/main, origin/HEAD) fix missing required fields in formatting config (#2040)
$ git -C ~/.vim/pack/completion/start/cmp-cmdline log -1 --oneline
d126061 (HEAD -> main, origin/main, origin/HEAD) Merge pull request #129 from enlewof/patch-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions