-
Notifications
You must be signed in to change notification settings - Fork 123
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
Highlight overdue tasks #44
Comments
Hello, I don't know much vimscript but judging from what I read in the docs, syntax highlighting works by matching the text with a keyword or pattern. So I ended up implementing this highlight, but ended up using an external python script to generate the correct regexp for the date, which also means it won't work in a Vim installation without the If that's not an issue I can send in a PR with the changes (or since I don't know vimscript that well, if someone knows a better way to do this, please tell!). |
@victal I'm not sure it can be done in vimscript without a great complexity involved. The python solution is welcome if the plugin would still work (except for this feature, of course) for users without the |
Currently all dates are highlight using regexp, but it would be cool to highlight overdue dates as Error, for example. Preferably, only dates with "due:" prefix.
The text was updated successfully, but these errors were encountered: