Sha256: ad3b139e8ee52bbc9e5555c246389ec6e6398f4728a18b5e86d24e6aa26250fd

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

# Encoding: UTF-8

{fileTypes: ["lhs"],
 keyEquivalent: "^~H",
 name: "Literate Haskell",
 patterns: 
  [{begin: /^(?<_1>(?<_2>\\)begin)(?<_3>{)code(?<_4>})(?<_5>\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.function.embedded.haskell.latex",
    patterns: [{include: "source.haskell"}]},
   {begin: /^(?<_1>> )/,
    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.",
    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

1 entries across 1 versions & 1 rubygems

Version Path
ver-2010.08 config/syntax/Literate Haskell.rb