Sha256: ee1e390b8c9a93ebaffd01d1dc3a4eddd8911081bb8d4984a38554d06dc0a3ff

Contents?: true

Size: 1.79 KB

Versions: 51

Compression:

Stored size: 1.79 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, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

-->
<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

51 entries across 51 versions & 1 rubygems

Version Path
gtksourceview3-3.1.1-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.1.1-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.1.0-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.1.0-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.9-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.9-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.8-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.8-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.7-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.7-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.6-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.6-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.5-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.5-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.4-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.4-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.3-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.3-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.2-x86-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang
gtksourceview3-3.0.2-x64-mingw32 vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang