treeSitterStandardHighlightCaptureNames top-level constant

Set<String> const treeSitterStandardHighlightCaptureNames

Canonical capture names accepted by tree-sitter-highlight 0.25.10.

This is the managed value counterpart of STANDARD_CAPTURE_NAMES.

Implementation

const Set<String> treeSitterStandardHighlightCaptureNames = <String>{
  'attribute',
  'boolean',
  'carriage-return',
  'comment',
  'comment.documentation',
  'constant',
  'constant.builtin',
  'constructor',
  'constructor.builtin',
  'embedded',
  'error',
  'escape',
  'function',
  'function.builtin',
  'keyword',
  'markup',
  'markup.bold',
  'markup.heading',
  'markup.italic',
  'markup.link',
  'markup.link.url',
  'markup.list',
  'markup.list.checked',
  'markup.list.numbered',
  'markup.list.unchecked',
  'markup.list.unnumbered',
  'markup.quote',
  'markup.raw',
  'markup.raw.block',
  'markup.raw.inline',
  'markup.strikethrough',
  'module',
  'number',
  'operator',
  'property',
  'property.builtin',
  'punctuation',
  'punctuation.bracket',
  'punctuation.delimiter',
  'punctuation.special',
  'string',
  'string.escape',
  'string.regexp',
  'string.special',
  'string.special.symbol',
  'tag',
  'type',
  'type.builtin',
  'variable',
  'variable.builtin',
  'variable.member',
  'variable.parameter',
};