vim crontab syntax highlighting should treat day/month names case insensitively
Bug #517019 reported by
Chris Butler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Debian) |
Fix Released
|
Unknown
|
|||
vim (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: vim
vim's syntax highlighting for crontabs breaks if a day or month name is specified with a capital letter, e.g:
* * * * Mon-Fri mycommand
However, cron seems to treat these values as case-insensitive. The attached patch fixes this by adding "syntax case ignore" before the syntax.
Conversely, the @foo special time specifiers (e.g. "@reboot", "@hourly") ARE case-sensitive. The patch also defines the syntax so that the incorrect case is displayed as an error, with the correct case displayed as before.
tags: | added: patch |
Changed in vim (Ubuntu): | |
importance: | Undecided → Low |
Changed in vim (Ubuntu): | |
status: | New → Fix Committed |
Changed in vim (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
I've just been notified that this bug has been fixed in Debian version 2:7.2.436+ hg~e12b9d992389 -1.