Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add option to blocklist specific YcmInlayHints #4099

Open
6 tasks done
vicecea opened this issue Dec 14, 2022 · 0 comments
Open
6 tasks done

[Feature request] Add option to blocklist specific YcmInlayHints #4099

vicecea opened this issue Dec 14, 2022 · 0 comments

Comments

@vicecea
Copy link

vicecea commented Dec 14, 2022

Issue Prelude

  • I have read and understood YCM's [CONTRIBUTING][cont] document.
  • I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
  • I have read and understood YCM's [README][readme], especially the
    [Frequently Asked Questions][faq] section.
  • 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])
  • 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.
  • 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

HIGHLIGHT_GROUP = {
).

For example via a config variable e.g.

let g:ycm_inlay_hints_blacklist = {
      \ 'Type'      : 1,
      \ 'Parameter' : 1,
      \ 'Enum'      : 1,
      \}

Thanks for the consideration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant