Sha256: 7334bf83883cd7650e60dd8b2d360ec76829b677e57a6d5d168f860da391c54b

Contents?: true

Size: 1.73 KB

Versions: 18

Compression:

Stored size: 1.73 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<!--

 This file is part of GtkSourceView

 Authors: Duncan Coutts
 Copyright (C) 2007 Duncan Coutts <duncan@haskell.org>

 GtkSourceView is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 GtkSourceView is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public License
 along with this library; if not, see <http://www.gnu.org/licenses/>.

-->
<language id="haskell-literate" name="Literate Haskell" version="2.0" _section="Source">
  <metadata>
    <property name="mimetypes">text/x-literate-haskell</property>
    <property name="globs">*.lhs</property>
  </metadata>

  <definitions>
    <context id="haskell-literate">
      <include>

        <context ref="def:shebang"/>
        <context ref="c:if0-comment"/>
        <context ref="c:include"/>
        <context ref="c:preprocessor"/>
        <context ref="def:in-comment"/>

        <context id="line-code" end-at-line-end="true">
          <start>^&gt;</start>
          <include>
            <context ref="haskell:body"/>
          </include>
        </context>

        <context id="block-code">
          <start>^\\begin\{code\}</start>
          <end>^\\end\{code\}</end>
          <include>
            <context ref="haskell:body" />
          </include>
        </context>

      </include>
    </context>

  </definitions>
</language>

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
gtksourceview4-3.2.9-x64-mingw32 vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang
gtksourceview4-3.2.9-x86-mingw32 vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang
gtksourceview3-3.2.9-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.9-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.8-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.8-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.7-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.7-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.6-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.6-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.5-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.5-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.4-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.4-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.3-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.3-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.2-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.2.2-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang