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

Colorname for ? , : ; … #1415

Open
TravelTrader opened this issue Jun 16, 2024 · 1 comment
Open

Colorname for ? , : ; … #1415

TravelTrader opened this issue Jun 16, 2024 · 1 comment
Assignees
Labels
question For usage and configuration questions, user support, etc.

Comments

@TravelTrader
Copy link

I searched the web, the help but couldn’t find the name of how to the color for signs like comma, questionmark, double point and so on for vimwiki in the .vimrc.

Would you please help me out.

Thank you.

@tinmarino tinmarino added the question For usage and configuration questions, user support, etc. label Jun 23, 2024
@tinmarino
Copy link
Member

Run this in vim command (press ":" before and Enter after each line)

syntax match Punct /[?:,:;]/
hi Punct ctermfg=red guifg=red

The first line define the syntax element Punct (short for punctuation).
The second line colors the punctuation elements in red.

Screenshot from 2024-06-23 12-22-16

I hope that helped.
If this answered your question please close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question For usage and configuration questions, user support, etc.
Projects
None yet
Development

No branches or pull requests

2 participants