Skip to content

Tab Completion don't work anymore if a command is listed in ignore_cmds #118

@banana59

Description

@banana59

Typing :find term_to_complete*<Tab> don't work anymore when ignoring find. This somehow comes from the mapping = cmp.mapping.preset.cmdline(),. I don't know how to solve that. My config:

cmp.setup.cmdline('/', {
    mapping = cmp.mapping.preset.cmdline(),
    sources = {
        { name = 'buffer' }
    }
})

cmp.setup.cmdline(':', {
    mapping = cmp.mapping.preset.cmdline(),
    sources = cmp.config.sources({
        {
            name = 'path',
        }
    },
    {
        {
            name = 'cmdline',
            option = {
                ignore_cmds = { 'Man', '!', 'find' },
            },
        }
    }),
})

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