hrsh7th / cmp-cmdline

nvim-cmp source for vim's cmdline
MIT License
493 stars 42 forks source link

Support @ cmdtype completion for input() function #76

Open yehuohan opened 1 year ago

yehuohan commented 1 year ago

Support @ cmdtype completion for input() function.

With following setup, cmp-cmdline can also provide the completion content passed into input() function.

    cmp.setup.cmdline({':', '@'}, {
        mapping = cmp_mappings,
        sources =  { { name = 'cmdline' }}
    })