Sha256: 89d4dea60ee630bae097b771d706939e717254d4ea307f9b74ec218828ea2900

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

---
name: Prolog
fileTypes: []
scopeName: source.prolog
uuid: C0E2ADB0-1706-4A28-8DB7-263BDC8B5C5C
foldingStartMarker: "%\\s*region \\w*"
patterns:
- name: string.quoted.single.prolog
  endCaptures:
    '0':
      name: punctuation.definition.string.end.prolog
  begin: "'"
  beginCaptures:
    '0':
      name: punctuation.definition.string.begin.prolog
  end: "'"
  patterns:
  - name: constant.character.escape.prolog
    match: "\\\\."
  - name: constant.character.escape.quote.prolog
    match: "''"
- name: comment.line.percent.prolog
  captures:
    '1':
      name: punctuation.definition.comment.prolog
  match: "(%).*$\\n?"
- name: keyword.operator.definition.prolog
  match: ":-"
- name: variable.other.prolog
  match: "\\b[A-Z][a-zA-Z0-9_]*\\b"
- name: constant.other.symbol.prolog
  match: "\\b[a-z][a-zA-Z0-9_]*\\b"
  comment: "\n\t\t\tI changed this from entity to storage.type, but have no idea what
    it is -- Allan\n\t\t\tAnd I changed this to constant.other.symbol after glancing
    over the docs,\n\t\t\t    might still be wrong.  -- Infininight\n\t\t\t"
foldingStopMarker: "%\\s*end(\\s*region)?"
keyEquivalent: "^~P"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
code_rippa-1.0.1 lib/code_rippa/syntax/prolog.syntax
code_rippa-1.0.0 lib/code_rippa/syntax/prolog.syntax