// 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 = { dependencies: ['source.julia', 'source.shell'], extensions: [], names: ['julia-repl'], patterns: [ { captures: { 1: {name: 'punctuation.separator.prompt.julia.console'}, 2: {patterns: [{include: 'source.julia'}]} }, match: '^(julia>)(\\s+.*(?:\\n\\s{6}\\s+.*)*)' }, { captures: { 1: {name: 'punctuation.separator.prompt.shell.julia.console'}, 2: {patterns: [{include: 'source.shell'}]} }, match: '^(shell>) (.+)$' }, { captures: { 1: {name: 'punctuation.separator.prompt.help.julia.console'}, 2: {patterns: [{include: 'source.julia'}]} }, match: '^(help\\?>) (.+)$' } ], scopeName: 'source.julia.console' } export default grammar