Skip to content

How to customize highlight linking. #169

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

Closed
laino opened this issue Mar 23, 2020 · 2 comments
Closed

How to customize highlight linking. #169

laino opened this issue Mar 23, 2020 · 2 comments
Labels

Comments

@laino
Copy link

laino commented Mar 23, 2020

typescriptTypeReference links to Identifier even though typescriptPredefinedType links to Type.

This looks really weird with a lot of colorschemes.

For now I have highlight! link typescriptTypeReference Type in my vimrc.

@lucasprag
Copy link

lucasprag commented May 24, 2020

Yeah, I had also to manually support typescriptTypeReference on my colorscheme, I'm happy to create a PR for it if people are ok with making this link.

@HerringtonDarkholme
Copy link
Owner

HerringtonDarkholme commented Jul 3, 2023

I want to differentiate primitive type number string from custom type like MyClass.

identifier looks like fine to me. Having highlight! link typescriptTypeReference Type looks nice for users' customization.

@HerringtonDarkholme HerringtonDarkholme pinned this issue Jul 3, 2023
@HerringtonDarkholme HerringtonDarkholme changed the title Why doesn't typescriptTypeReference link to Type? How to customize highlight linking. Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants