nvim-cmp source?
Is your feature request related to a problem? Please describe. I find it more intuitive to have the icons as strings, rather than unicode/hex numbers, in my config files and sometimes I need to type the icons in non-neovim config files (terminal emulators, shell prompts, etc).
Describe the solution you'd like
Implement a nvim-cmp completion source such that, when I type the icon's name (like symbol-class), it will insert the icon directly into the buffer.
Describe alternatives you've considered I could write a standalone plugin but I think your code provides a really nice infrastructure for the completion source that I can make use of, in which case I might as well just try to upstream it.
Additional context I tried to implement my own plugin and got the completion working before I discovered this plugin. I can submit PR if needed.
Hi @Davidyz! Sorry for late reply. I've added a completion source for nvim-cmp, so hopefully it works for you as well. :)
Hi, can this not require nvim-cmp by default? I'm not using it and on this new version my config is erroring saying that it's not available. Or is there some way to disable it?
@AlansCodeLog Added a way of disabling it by setting vim.g.codicons_extension_cmp_disable = true
Thank you! ❤️