Sha256: 1283db08dfe7f417ce7104fbbadbf259a74ccc28148eb0cba4f8b314e3bef3c3

Contents?: true

Size: 1.34 KB

Versions: 11

Compression:

Stored size: 1.34 KB

Contents

{
  "fileTypes": [
    "lhs"
  ],
  "keyEquivalent": "^~H",
  "name": "Literate Haskell",
  "patterns": [
    {
      "begin": "^((\\\\)begin)({)code(})(\\s*\\n)?",
      "captures": {
        "1": {
          "name": "support.function.be.latex"
        },
        "2": {
          "name": "punctuation.definition.function.latex"
        },
        "3": {
          "name": "punctuation.definition.arguments.begin.latex"
        },
        "4": {
          "name": "punctuation.definition.arguments.end.latex"
        }
      },
      "contentName": "source.haskell.embedded.latex",
      "end": "^((\\\\)end)({)code(})",
      "name": "meta.embedded.block.haskell.latex",
      "patterns": [
        {
          "include": "source.haskell"
        }
      ]
    },
    {
      "begin": "^(> )",
      "beginCaptures": {
        "1": {
          "name": "punctuation.definition.bird-track.haskell"
        }
      },
      "comment": "This breaks type signature detection for now, but it's better than having no highlighting whatsoever.",
      "contentName": "source.haskell",
      "end": "$",
      "name": "meta.embedded.haskell",
      "patterns": [
        {
          "include": "source.haskell"
        }
      ]
    },
    {
      "include": "text.tex.latex"
    }
  ],
  "scopeName": "text.tex.latex.haskell",
  "uuid": "439807F5-7129-487D-B5DC-95D5272B43DD"
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
github-linguist-4.8.8 grammars/text.tex.latex.haskell.json
github-linguist-4.8.7 grammars/text.tex.latex.haskell.json
github-linguist-4.8.6 grammars/text.tex.latex.haskell.json
github-linguist-4.8.5 grammars/text.tex.latex.haskell.json
github-linguist-4.8.4 grammars/text.tex.latex.haskell.json
github-linguist-4.8.3 grammars/text.tex.latex.haskell.json
github-linguist-4.8.2 grammars/text.tex.latex.haskell.json
github-linguist-4.8.1 grammars/text.tex.latex.haskell.json
github-linguist-4.8.0 grammars/text.tex.latex.haskell.json
github-linguist-grammars-4.6.3 grammars/text.tex.latex.haskell.json
github-linguist-grammars-4.6.0 grammars/text.tex.latex.haskell.json