Lines like "/dev/sdb1 /mnt/sdb1 auto noauto,user,noatime" within /etc/fstab must have a trailing space at the end b/c otherwise "noauto,user,noatime" is marked in red color. Reproducible: Always
Thanks for the report, assigning to maintainers
I don't know how to reproduce this one. Looks normal to me.
Those lines looks like : /dev/sdb2 /mnt/sdb2 auto noauto,user,noatime
(In reply to comment #3) > Those lines looks like : > > /dev/sdb2 /mnt/sdb2 auto noauto,user,noatime > You forgot that last dump/pass variables. Don't you need it?
(In reply to comment #4 > You forgot that last dump/pass variables. Don't you need it? Until now - not IMHO. Most of these drives are VFAT / NTFS / NTFS-3G (fuse) which are not permanently mounted.
The fstab syntax file is not part of the app-vim/gentoo-syntax package, but part of vim-core.
I'm not seeing this issue with the latest stable version (7.3.50) currently in the tree. If this bug is still an issue, please reopen.
If I replace every space with a tab and out that line into /etc/fstab than no issue is seen. However if I put an additional tab between "auto" and "noauto,user,noatime" then the issue appears again.
(In reply to comment #8) > If I replace every space with a tab and out that line into /etc/fstab than no > issue is seen. > However if I put an additional tab between "auto" and "noauto,user,noatime" > then the issue appears again. Ok, now I see what you mean. Apparently the syntax files depend on the dump/pass variables being specified as mentioned previously so you can use "0 0" if you want the syntax highlighting to be correct since that is what is used if nothing is set. Feel free to attach a patch if you want to fix the bug to make syntax highlighting work correctly with the optional dump and pass fields. Or even better, send it upstream. Thanks.