// This is a TextMate grammar distributed by `starry-night`. // This grammar is developed at // // and licensed `mit`. // See for more info. /** * @import {Grammar} from '@wooorm/starry-night' */ /** @type {Grammar} */ const grammar = { extensions: ['.clue'], names: ['clue'], patterns: [ { captures: { 0: {name: 'constant.numeric.integer.clue'}, 1: {name: 'keyword.control.directive.clue'} }, match: '(@version) (.+?(?=\n))' }, { captures: { 0: {name: 'meta.preprocessor.macro.clue'}, 1: {name: 'keyword.control.macro.clue'} }, match: '(@macro) ([A-Za-z_][0-9A-Za-z_]*)' }, { captures: {1: {name: 'keyword.control.import.clue'}, 2: {name: 'string'}}, match: '(@import) (".*")' }, { match: '\\$[A-Za-z_][0-9A-Za-z_]*!', name: 'meta.preprocessor.macro.invocation.clue' }, { match: '@(?:(?:(?:else_)?(?:ifos|iflua|ifdef|ifndef|ifcmp|ifos|iflua|ifdef|ifcmp|if))|else|define|macro|error|print)', name: 'keyword.control.directive.clue' }, { match: '(?=?|(?