--- name: Literate Haskell fileTypes: - lhs scopeName: text.tex.latex.haskell uuid: 439807F5-7129-487D-B5DC-95D5272B43DD patterns: - name: meta.function.embedded.haskell.latex 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 begin: "^((\\\\)begin)({)code(})(\\s*\\n)?" contentName: source.haskell.embedded.latex end: "^((\\\\)end)({)code(})" patterns: - include: source.haskell - include: text.tex.latex keyEquivalent: "^~H"