aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-03 10:14:46 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-03 10:14:46 -0800
commitb63dc2ca0aa75b9ff86eb54da6ed8fb0bc508e46 (patch)
tree11360f6f10a1320e53f6047d46b0eb4e97b83db8 /src/Text
parent48b7d250bb5cc7656754dbd9288ee30491933397 (diff)
parent13f74d018bb1a3c13909c86096194ba4f2c4ce8d (diff)
downloadpandoc-b63dc2ca0aa75b9ff86eb54da6ed8fb0bc508e46.tar.gz
Merge pull request #2569 from rgaiacs/add-highlighting-to-gap
Add highlighting support to GAP
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Highlighting.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Highlighting.hs b/src/Text/Pandoc/Highlighting.hs
index 71927054f..d7a14c129 100644
--- a/src/Text/Pandoc/Highlighting.hs
+++ b/src/Text/Pandoc/Highlighting.hs
@@ -124,6 +124,7 @@ langsList = [("ada","Ada")
,("php","PHP")
,("xslt","XSLT")
,("html","HTML")
+ ,("gap","GAP")
]
listingsLangs :: [String]
@@ -138,7 +139,7 @@ listingsLangs = ["Ada","Java","Prolog","Algol","JVMIS","Promela",
"Oberon-2","TeX","erlang","OCL","VBScript","Euphoria",
"Octave","Verilog","Fortran","Oz","VHDL","GCL",
"Pascal","VRML","Gnuplot","Perl","XML","Haskell",
- "PHP","XSLT","HTML","PL/I"]
+ "PHP","XSLT","HTML","PL/I","GAP"]
-- Determine listings language name from highlighting-kate language name.
toListingsLanguage :: String -> Maybe String