YouCompleteMe
YouCompleteMe copied to clipboard
[Feature request] Add option to blocklist specific YcmInlayHints
Issue Prelude
- [x] I have read and understood YCM's [CONTRIBUTING][cont] document.
- [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
- [x] I have read and understood YCM's [README][readme], especially the [Frequently Asked Questions][faq] section.
- [x] I have searched YCM's issue tracker to find issues similar to the one I'm about to report and couldn't find an answer to my problem. ([Example Google search.][search])
- [x] I understand this is an open-source project staffed by volunteers and that any help I receive is a selfless, heartfelt gift of their free time. I know I am not entitled to anything and will be polite and courteous.
- [x] I understand my issue may be closed if it becomes obvious I didn't actually perform all of these steps.
Issue Details
As always, thanks for this amazing project!
I'd like to propose to add a way to narrow down the specific Inlay hints being shown when enabled.
For example I'd like to keep the Parameter Inlay Hints, while disabling the Type Inlay Hints ( wrt https://github.com/ycm-core/YouCompleteMe/blob/88efc6f6035e4c656e8791f3c3a8a4328a1634dc/python/ycm/inlay_hints.py#L25 ).
For example via a config variable e.g.
let g:ycm_inlay_hints_blacklist = {
\ 'Type' : 1,
\ 'Parameter' : 1,
\ 'Enum' : 1,
\}
Thanks for the consideration!