[Bug 517019] Re: vim crontab syntax highlighting should treat day/month names case insensitively
Chris Butler
chrisb at debian.org
Wed May 19 00:53:21 BST 2010
I've just been notified that this bug has been fixed in Debian version
2:7.2.436+hg~e12b9d992389-1.
--
vim crontab syntax highlighting should treat day/month names case insensitively
https://bugs.launchpad.net/bugs/517019
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in “vim” package in Ubuntu: New
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.
More information about the Ubuntu-sponsors
mailing list