// This is a TextMate grammar distributed by `starry-night`. // This grammar is developed at // // and licensed `isc`. // See for more info. /** * @import {Grammar} from '@wooorm/starry-night' */ /** @type {Grammar} */ const grammar = { extensions: [], names: [], patterns: [{include: '#main'}], repository: { codepoint: { match: '0[uU][A-Fa-f0-9]+', name: 'constant.numeric.other.codepoint.fontforge' }, comments: { patterns: [ { begin: '#', beginCaptures: { 0: {name: 'punctuation.definition.comment.fontforge'} }, end: '$', name: 'comment.line.number-sign.fontforge', patterns: [{include: '#lineContinuation'}] }, { begin: '/\\*', beginCaptures: { 0: {name: 'punctuation.definition.comment.begin.fontforge'} }, end: '\\*/', endCaptures: { 0: {name: 'punctuation.definition.comment.end.fontforge'} }, name: 'comment.block.fontforge' }, { begin: '//', beginCaptures: { 0: {name: 'punctuation.definition.comment.fontforge'} }, end: '$', name: 'comment.line.double-slash', patterns: [{include: '#lineContinuation'}] } ] }, control: { match: '(?=|<=|>|<', name: 'keyword.operator.comparison.fontforge' }, { match: '=|[-+*/%]=', name: 'keyword.operator.assignment.compound.fontforge' }, {match: '--', name: 'keyword.operator.decrement.fontforge'}, {match: '\\+{2}', name: 'keyword.operator.increment.fontforge'}, {match: '[-+/*~!]', name: 'keyword.operator.arithmetic.fontforge'}, {match: '&&|\\|\\|', name: 'keyword.operator.logical.fontforge'}, {match: '&|\\||\\\\\\^', name: 'keyword.operator.bitwise.fontforge'}, { captures: {0: {patterns: [{include: '#punctuation'}]}}, match: ':[htre]', name: 'keyword.operator.pathspec.fontforge' } ] }, procedureCall: { patterns: [ { begin: '(?x) (?