plainTextLanguage top-level constant

Grammar const plainTextLanguage

Plain text: no highlighting. Highlighting with it is nearly free, so it is used for placeholders and for code in an unknown language.

Implementation

const plainTextLanguage = Grammar(
  name: 'plaintext',
  detectable: false,
  aliases: ['text', 'txt', 'plain'],
  fileExtensions: ['txt'],
  rules: [],
);