hrsh7th / cmp-cmdline

nvim-cmp source for vim's cmdline
MIT License
533 stars 40 forks source link

Feature request: Custom case suggestion option #8

Open sQVe opened 2 years ago

sQVe commented 2 years ago

👋🏼,

I have noignorecase and nosmartcase on as I want case to be consistent when searching, using :s or pretty much everything. One thing that I do miss is that is also is applied for commands, ie. :g will not recommend :Git command.

I'd love it if I was able to set ignorecase for the actual suggestions on cmp-cmdline. In that way I could keep my settings but :g would give me a tabable suggestion!

🙏🏼

hrsh7th commented 2 years ago

It's useful and possible by nvim-cmp core.

sQVe commented 2 years ago

@hrsh7th Oh, that's good news. I'll have a look at the docs then and close this issue! 👌

sQVe commented 2 years ago

@hrsh7th I just had a look at the docs and I might be missing something but I'm not finding any way to set case handling in cmp via options 🤔

hrsh7th commented 2 years ago

Ah. Sorry. I mean possible to implement

sQVe commented 2 years ago

@hrsh7th Ah, gotcha. Would you prefer me to create a ticket there instead? If so, I'll close this one.