%YAML 1.2 --- name: Packages file_extensions: [pkglist] scope: source.packages contexts: main: # Match package names (assuming they are words with letters, numbers, hyphens, and underscores) - match: \b[a-z][a-z0-9\-_\.]+\b scope: keyword # Match file sizes with different units (KiB, MiB, GiB, TiB, etc.) - match: \d+(\.\d+)?\s+(KiB|MiB|GiB|TiB) scope: constant.numeric