%YAML 1.2 --- name: struct file_extensions: - struct scope: source.struct contexts: main: - match: '(?i)\b(byte|hword|word|bit)\b' scope: storage.type.struct - match: '\b[0-9_]+\b' scope: constant.numeric.struct - match: '\b(struct|enum|union|flags)\s+[a-zA-Z0-9_]+\b' scope: storage.type.struct - match: '%.*$' scope: comment