[Bug 517019] Re: vim crontab syntax highlighting should treat day/month names case insensitively
Brian Murray
brian at ubuntu.com
Fri May 14 09:20:07 BST 2010
** Changed in: vim (Ubuntu)
Importance: Undecided => Low
--
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