@@ -10,6 +10,7 @@ contexts:
1010 main:
1111 - match: '^\s*\#.*'
1212 scope: comment.line.number-sign
13+ comment: just a comment line
1314 - match: ^\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(0|1)\s+(0|1|2)\s*$
1415 captures:
1516 1: entity.name.device.fstab
@@ -18,5 +19,7 @@ contexts:
1819 4: entity.name.options.fstab
1920 5: constant.numeric.dump.fstab
2021 6: constant.numeric.pass.fstab
22+ comment: a valid fstab line with 6 space-separated token groups
2123 - match: '^.*$'
22− scope: invalid.illegal.fstab
24+ scope: invalid.illegal.fstab
25+ comment: everything else, probably an error