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

Add support for adding custom keyword to highlight group #42

Closed
omi-donlimit opened this issue Mar 1, 2022 · 1 comment
Closed

Add support for adding custom keyword to highlight group #42

omi-donlimit opened this issue Mar 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@omi-donlimit
Copy link

for example i want to add self keyword to highlight groups same with the function keyword

@omi-donlimit omi-donlimit added the enhancement New feature or request label Mar 1, 2022
@savq
Copy link
Owner

savq commented Jan 15, 2023

If you want to add highlighting for certain keywords you have to use the :syntax API. See also :help usr_44.txt. This is usually done by filetype plugins, not colorschemes themselves.

Sorry for not answering this sooner.

@savq savq closed this as completed Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants