Sha256: 97dd52caf458eb6641f6aab252358fd5cd8ba2f3d79d8599632ca5b45e98c38e

Contents?: true

Size: 1.85 KB

Versions: 27

Compression:

Stored size: 1.85 KB

Contents

{
  "name": "FreeMarker",
  "scopeName": "text.html.ftl",
  "patterns": [
    {
      "name": "comment.block.ftl",
      "begin": "[\u003c\\[]#--",
      "end": "--[\u003e\\]]",
      "captures": {
        "0": {
          "name": "punctuation.definition.comment.ftl"
        }
      }
    },
    {
      "name": "meta.function.ftl",
      "match": "([\u003c\\[](#|@))(\\w+(\\.\\w+)*)((\\s+[^\u003e\\]]+)*?)\\s*((\\/)?([\u003e\\]]))",
      "captures": {
        "1": {
          "name": "punctuation.definition.function.ftl"
        },
        "2": {
          "name": "punctuation.definition.function.ftl"
        },
        "3": {
          "name": "entity.name.function.ftl"
        },
        "5": {
          "name": "variable.parameter.function.ftl"
        },
        "8": {
          "name": "entity.name.function.ftl"
        },
        "9": {
          "name": "punctuation.definition.function.ftl"
        }
      }
    },
    {
      "name": "meta.function.ftl",
      "match": "([\u003c\\[]\\/(#|@))(\\w+(\\.\\w+)*)\\s*([\u003e\\]])",
      "captures": {
        "1": {
          "name": "punctuation.definition.function.ftl"
        },
        "2": {
          "name": "punctuation.definition.function.ftl"
        },
        "3": {
          "name": "entity.name.function.ftl"
        },
        "5": {
          "name": "punctuation.definition.function.ftl"
        }
      }
    },
    {
      "name": "variable.other.readwrite.local.ftl",
      "match": "(\\$\\{)\\.?[a-zA-Z_\\(][\\w\\(\\)+-\\/\\*]+(\\.?[\\w\\(\\)+-\\/\\*]+)*(.*?|\\?\\?|\\!)?(\\})",
      "captures": {
        "1": {
          "name": "punctuation.definition.variable.ftl"
        },
        "3": {
          "name": "entity.name.function.ftl"
        },
        "4": {
          "name": "punctuation.definition.variable.ftl"
        }
      }
    },
    {
      "include": "text.html.basic"
    }
  ]
}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/text.html.ftl.json
github-linguist-7.10.0 grammars/text.html.ftl.json
github-linguist-7.11.0 grammars/text.html.ftl.json
github-linguist-7.9.0 grammars/text.html.ftl.json
github-linguist-7.8.0 grammars/text.html.ftl.json
github-linguist-7.7.0 grammars/text.html.ftl.json
github-linguist-7.6.1 grammars/text.html.ftl.json
github-linguist-7.6.0 grammars/text.html.ftl.json
github-linguist-7.5.1 grammars/text.html.ftl.json
github-linguist-7.5.0 grammars/text.html.ftl.json
github-linguist-7.4.0 grammars/text.html.ftl.json
github-linguist-7.3.1 grammars/text.html.ftl.json
github-linguist-7.3.0 grammars/text.html.ftl.json
github-linguist-7.2.0 grammars/text.html.ftl.json
github-linguist-7.1.3 grammars/text.html.ftl.json
github-linguist-7.1.2 grammars/text.html.ftl.json
github-linguist-7.1.1 grammars/text.html.ftl.json
github-linguist-7.1.0 grammars/text.html.ftl.json
github-linguist-7.0.0 grammars/text.html.ftl.json
github-linguist-6.4.1 grammars/text.html.ftl.json