Olaf Hering wrote:
The shell syntax highlighting does not work for the bash 'left bitwise shifts'.
I have uploaded the example script and screen show to
http://www.aepfle.de/linux/vim/
The offending line is:
(( of_disk_addr = ( (of_disk_scsi_chan<<16) | (of_disk_scsi_id<<8)
| of_disk_scsi_lun ) )); #
If I change it to of_disk_scsi_chan<16 or of_disk_scsi_chan>>16, it
looks better.
How can this be fixed properly?
This is vim7, it did not work with older versions either.
1) Check whether ftp://ftp.vim.org/pub/vim/runtime/syntax/sh.vim isn't by any
chance more recent than the $VIMRUNTIME/syntax/sh.vim you're using (check the
"Last Change" date in the comments at the top of the script).
2) If it isn't, check whether by any chance there isn't a newer version at the
HTTP address mentioned in the "URL" line in the comments at the top of the script;
3) If there isn't, explain your troubles to Dr. Chip (aka Charles E. Campbell,
PhD) at the address obtained by removing the letters N,O,S,P,A and M from the
address listed in the "Maintainer" line at the top of the syntax script.
Best regards,
Tony.