hrsh7th / cmp-cmdline

nvim-cmp source for vim's cmdline
MIT License
505 stars 41 forks source link

cmd :find freezes #39

Closed Trid-collab closed 1 year ago

Trid-collab commented 2 years ago

I am using neovim with the latest nightly. I have configured cmp-cmdline as :

 cmp.setup.cmdline(':', {
    sources = cmp.config.sources({
      { name = 'path' }
    }, {
      { name = 'cmdline' }
    })
  })

But I find that when I try to use :find it freezes. It doesn't when I remove cmp-cmdline and use the normal nvim :find. This is issue doesn't happen with any other commands that I have used till now.

I have the following set path+='.,**'as well in my nvim config to enable :find to search my project dir

hrsh7th commented 1 year ago

Fixed. You can modify ignore_cmds option.